#707 closed defect (duplicate)
wxGUI: v.digit broken for new maps: "No vector map selected for editing." although selected
Reported by: | neteler | Owned by: | martinl |
---|---|---|---|
Priority: | blocker | Milestone: | 6.4.0 |
Component: | wxGUI | Version: | 6.4.0 RCs |
Keywords: | vector digitizer, vdigit | Cc: | grass-dev@… |
CPU: | All | Platform: | Linux |
Description
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.
See screenshot attached.
Attachments (1)
Change History (10)
by , 15 years ago
Attachment: | vdigit_broken64_65.jpg added |
---|
follow-up: 3 comment:1 by , 15 years ago
Cc: | added |
---|---|
Keywords: | vector digitizer added |
Owner: | changed from | to
Status: | new → assigned |
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.
comment:2 by , 15 years ago
Keywords: | vdigit added |
---|
Works for me with latest 6.5svn on debian/stable amd64.
comment:3 by , 15 years ago
Replying to 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?
Martin
comment:6 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Closing. No response for continued problems. Tests by Martin and me show no problems now. Can reopen if needed.
Michael
follow-up: 8 comment:7 by , 15 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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
Regards and thanks for any tips, Micha
comment:8 by , 15 years ago
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
comment:9 by , 15 years ago
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
v.digit broken for new maps in 6.4 and 6.5 (7 untested)