[GRASS-dev] [bug #4604] (grass) tcl/tk GUI: v.digit can't create new vector in GUI mode

Maciek Sieczka via RT grass-bugs at intevation.de
Mon Jul 24 11:44:41 EDT 2006


michael.barton at asu.edu wrote (Mon, Jul 24 2006 17:20:34):

> So this is NOT a bug. It is the way that the GRASS CLI is supposed to work.
> You can make it a wish, however.

Michael,

You are right that it is not a bug, that v.digit from CLI doesn't spawn a
monitor automatically. It shouldn't do that and this is clear.

However, there *is* a bug v.digit in tcl/tk GUI mode that prevents it from
creating a new vector. Try to reproduce it, like this:

$ d.mon x0
$ v.digit&

Now type in the new vector name and check the "Create new file..." button (so
that the whole command is eg. "v.digit map=new_vector -n"), press Run

The output is:

GRASS_INFO_MESSAGE(17052,1): New empty map created.
Application initialization failed: "-n" option requires an additional argument
Error in startup script: couldn't read file "map=new_vector": no such file or
directory

As Markus said, this works from CLI fine so this might be a GUI specific
issue. Can you look into this?



Eric,

The segfault in v.digit is a recent, unrelated bug. I have already posted to
dev list about that so hopefully someone will look into this. Let's not mix
things in BT.


Best to you All,
Maciek


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list