#1355: Error starting wxpython v.digit session
---------------------+------------------------------------------------------
Reporter: epatton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: svn-develbranch6
Keywords: v.digit | Platform: Linux
Cpu: x86-32 |
---------------------+------------------------------------------------------
This error is printed to the Layer Manager output 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.
{{{
>>> 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
}}}
This error is printed to the Layer Manager output 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.
New description:
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.
--
Comment:
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).
Using the NC simpler subset, add the boundary_region vector to the layer
manager, choose 'Digitize' from the drop-down menu in the right-hand
corner of the Map Display, choose 'boundary_region' from the left drop-
down menu of the left-corner of the Map Display, then after the nodes and
centroids become visible, try zooming or panning - nothing should happen.
If I then try to erase and re-display the map window, I get the following
error (which is different from the one posted yesterday - not sure why)
{{{
Traceback (most recent call last):
File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 571, in OnRender
self.MapWindow.display.SetSelected()
AttributeError
:
'VDigitWindow' object has no attribute 'display'
}}}