#707: wxGUI: v.digit broken for new maps: "No vector map selected for editing."
although selected
---------------------+------------------------------------------------------
Reporter: neteler | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: blocker | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Keywords: | Platform: Linux
Cpu: All |
---------------------+------------------------------------------------------
When trying to create a new vector map from scratch, there is a selection
bug (6.4. and 6.5):
Map display -> digitize -> New vector map -> "ciao" as name [map is listed
in layer manager ok] -> select map in Map display [could be automated
since I just created it] -> "ciao" map is correctly listed in vector map
selector -> digitize point -> ERROR: No vector map selected for editing.
#707: wxGUI: v.digit broken for new maps: "No vector map selected for editing."
although selected
----------------------+-----------------------------------------------------
Reporter: neteler | Owner: martinl
Type: defect | Status: assigned
Priority: blocker | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: | Keywords: vector digitizer, vdigit
Platform: Linux | Cpu: All
----------------------+-----------------------------------------------------
Comment (by martinl):
Replying to [comment:1 martinl]:
> Works for me.
>
> '...' in 'command output' tab indicates that some messages have been
printed out. Or set GRASS_WX_DEBUG=1 to redirect error messages to the
xterm.
Can you send traceback message from the command output?
Even tho' this ticket was closed, I seem to have stumbled over the same
problem on a new install.
I'm setting up a Fedora 12 machine (i686). Finished compiling GRASS 6.4R5
successfully. I haven't done any real work yet, but everything looks OK,
except for the digitizer in wxGUI. (v.digit in the tck/tk interface works
fine).
Here's the backtrace when I try to select a vector map for digitizing:
Traceback (most recent call last):
File
"/usr/local/grass-6.4/grass-6.4.0RC5/etc/wxpython/gui_modules/toolbars.py",
line 1071, in OnSelectMap
self.StartEditing(self.layers[selection])
File
"/usr/local/grass-6.4/grass-6.4.0RC5/etc/wxpython/gui_modules/toolbars.py",
line 1103, in StartEditing
self.parent.digit = Digit(mapwindow=self.parent.MapWindow)
File
"/usr/local/grass-6.4/grass-6.4.0RC5/etc/wxpython/gui_modules/vdigit.py",
line 685, in __init__
VDigit.__init__(self, mapwindow)
File
"/usr/local/grass-6.4/grass-6.4.0RC5/etc/wxpython/gui_modules/vdigit.py",
line 223, in __init__
mapwindow)
File
"/usr/local/grass-6.4/grass-6.4.0RC5/etc/wxpython/vdigit/grass6_wxvdigit.py",
line 333, in __init__
this = _grass6_wxvdigit.new_Digit(*args)
TypeError: in method 'new_Digit', argument 2 of type 'wxWindow *'
wxxPython version is:
wxPython-devel-2.8.9.2-3.fc12.i686
wxPython-2.8.9.2-3.fc12.i686
#707: wxGUI: v.digit broken for new maps: "No vector map selected for editing."
although selected
------------------------+---------------------------------------------------
Reporter: neteler | Owner: martinl
Type: defect | Status: closed
Priority: blocker | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Resolution: duplicate | Keywords: vector digitizer, vdigit
Platform: Linux | Cpu: All
------------------------+---------------------------------------------------
Comment (by micha):
Hi Martin:
Yes that seems to fix the prob. I removed the swig rpm (1.3.40) and
compiled swig-1.4.36, then in grass I did: make clean, make, make install,
and now the python vector digitizer works.
Many thanks,
Micha