Error while running v.db.addcol

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error while running v.db.addcol

Jenny Turner
Greetings

I0'm using winGRASS. When I run v.db.addcol in my WinXP I get this error:
Default driver / database set to:
driver: dbf
database: $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
      0 [main] sh 5240 open_stackdumpfile: Dumping stack
trace to sh.exe.stackdump
      0 [main] sh 5436 open_stackdumpfile: Dumping stack
trace to sh.exe.stackdump
c:/grass6/scripts/v.db.addcol: [: : integer expression
expected
      0 [main] sh 2264 open_stackdumpfile: Dumping stack
trace to sh.exe.stackdump
      0 [main] sh 3416 open_stackdumpfile: Dumping stack
trace to sh.exe.stackdump
ERROR: Column <cat> not found

But when I run in Win7 or other Win Machine (XP also) i do not get this error. Any explanation for this weird incident?
Thanks
Jenny

_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user
Reply | Threaded
Open this post in threaded view
|

Re: Error while running v.db.addcol

Markus Neteler
On Thu, Apr 14, 2011 at 6:13 PM, Jenny Turner <[hidden email]> wrote:
> Greetings
> I0'm using winGRASS.

Please always indicate the version...

> When I run v.db.addcol in my WinXP I get this error:
> Default driver / database set to:
> driver: dbf
> database: $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
>       0 [main] sh 5240 open_stackdumpfile: Dumping stack
> trace to sh.exe.stackdump
>       0 [main] sh 5436 open_stackdumpfile: Dumping stack
> trace to sh.exe.stackdump
> c:/grass6/scripts/v.db.addcol: [: : integer expression
> expected

-> problem

>       0 [main] sh 2264 open_stackdumpfile: Dumping stack
> trace to sh.exe.stackdump
>       0 [main] sh 3416 open_stackdumpfile: Dumping stack
> trace to sh.exe.stackdump
> ERROR: Column <cat> not found
> But when I run in Win7 or other Win Machine (XP also) i do not get this
> error. Any explanation for this weird incident?

Some fixes have been applied recently
http://trac.osgeo.org/grass/log/grass/branches/releasebranch_6_4/scripts/v.db.addcol
which are available now in GRASS 6.4.1.

If you can, please update to this bugfix release. But maybe others
have an idea, too.

Markus
_______________________________________________
grass-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-user