Opened 14 years ago

Last modified 13 years ago

#1355 closed defect

Error starting wxpython v.digit session — at Version 2

Reported by: epatton Owned by: martinl
Priority: normal Milestone: 6.4.2
Component: wxGUI Version: svn-develbranch6
Keywords: digitizer Cc: grass-dev@…
CPU: x86-32 Platform: Linux

Description (last modified by martinl)

This error is printed to the Layer Manager o utput window when I try to start editing an existing vector. I select "Digitize" from the drop-down box on the Map Display, and then select the name of my vector under the left-most drop-down box in the Map Display. The Map Display doesn't draw any of my GIS layers, but goes completely white at this point.

I have rebuilt the vector topology, but the error still occurs. I have tested the wxgui digitizer in a different mapset with a different vector, with the same error occurring.

~ Eric.

Change History (3)

by epatton, 14 years ago

Attachment: digitizing_error.txt added

comment:1 by martinl, 14 years ago

Component: wxGUIPython ctypes
Keywords: G_gisinit() added; v.digit removed

It's ctypes bug in GRASS 6 (in GRASS 7 working).

>>> from grass.lib.gis import *
>>> G_gisinit('')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/src/grass6_devel/dist.i686-pc-linux-gnu/etc/python/grass/lib/gis.py", line 6986, in G_gisinit
    return (G__gisinit (GIS_H_VERSION, pgm))
NameError: global name 'G__gisinit' is not defined

comment:2 by martinl, 14 years ago

Cc: grass-dev@… added
Description: modified (diff)
Milestone: 6.5.06.4.2
Owner: changed from grass-dev@… to martinl
Status: newassigned

Hopefully fixed in r46171.

BTW, vector digizer in 6.4.2+ needs some testing. The component has been recently ported from C++ to Python. It would be good to catch & fix major part of possible bugs before we release 6.4.2 as the first version with working wxGUI vector digitizer (including winGRASS).

Martin

Note: See TracTickets for help on using tickets.