Opened 16 years ago
Closed 14 years ago
#628 closed defect (fixed)
wingrass native: vdigit error on new map
Reported by: | hamish | Owned by: | martinl |
---|---|---|---|
Priority: | normal | Milestone: | 6.4.0 |
Component: | wxGUI | Version: | 6.4.0 RCs |
Keywords: | wingrass, vdigit | Cc: | grass-dev@… |
CPU: | x86-32 | Platform: | MSWindows XP |
Description
Hi,
with the latest wingrass native stand-alone installer (6.4.0rc.svn.37703), if you start the wxGui, in the map display window pull down 2D view to be Digitize (hey, it built!), then on the left pull down the empty box to select New vector map, add a name like "testmap" and press Ok you get an error in the Output tab:
New vector map <testmap@user1> created Traceback (most recent call last): File "C:\GRASS-6-SVN\etc\wxpython\gui_modules\toolbars.py", line 1071, in OnSelectMap self.StartEditing(self.layers[selection]) File "C:\GRASS-6-SVN\etc\wxpython\gui_modules\toolbars.py", line 1103, in StartEditing self.parent.digit = Digit(mapwindow=self.parent.MapWindow) File "C:\GRASS-6-SVN\etc\wxpython\gui_modules\vdigit.py", line 685, in __init__ VDigit.__init__(self, mapwindow) File "C:\GRASS-6-SVN\etc\wxpython\gui_modules\vdigit.py", line 223, in __init__ mapwindow) File "C:/GRASS-6-SVN\etc\wxpython\vdigit\grass6_wxvdigit.py", line 327, in __init__ this = _grass6_wxvdigit.new_Digit(*args) TypeError : in method 'new_Digit', argument 2 of type 'wxWindow *' Traceback (most recent call last): File "C:\GRASS-6-SVN\etc\wxpython\gui_modules\toolbars.py", line 1063, in OnSelectMap if self.layers[selection] == self.mapLayer: IndexError : list index out of range
?, Hamish
Attachments (1)
Change History (7)
comment:1 by , 14 years ago
follow-ups: 3 5 comment:2 by , 14 years ago
I think the original report must have been in error. Anyway now you get a nice message that the wxDigitizer module is missing instead of a nasty traceback log.
If you start WinGrass with a MSys terminal, you get a message on the terminal at startup that explains why the vector digitizer is not there.
Something pointing the user to Vector -> Develop -> Digitize using Tcl/Tk would be nice. ... either a message or immediate launch of the Tcl/Tk version.
replace no module named grass_wxvdigit [OK] with "no module... Start Tcl/Tk {digitizer|NVIZ} instead?" [Yes] [no] ?
Hamish
comment:3 by , 14 years ago
Replying to hamish:
I think the original report must have been in error. Anyway now you get a nice message that the wxDigitizer module is missing instead of a nasty traceback log.
If you start WinGrass with a MSys terminal, you get a message on the terminal at startup that explains why the vector digitizer is not there.
Something pointing the user to Vector -> Develop -> Digitize using Tcl/Tk would be nice. ... either a message or immediate launch of the Tcl/Tk version.
replace no module named grass_wxvdigit [OK] with "no module... Start Tcl/Tk {digitizer|NVIZ} instead?" [Yes] [no] ?
Hamish
+1
Helmut
comment:4 by , 14 years ago
Cc: | added |
---|---|
Owner: | changed from | to
by , 14 years ago
Attachment: | WinGrass_21072010_181919.png added |
---|
Info about 3d view mode and wx-digitize
comment:5 by , 14 years ago
Replying to hamish:
I think the original report must have been in error. Anyway now you get a nice message that the wxDigitizer module is missing instead of a nasty traceback log.
If you start WinGrass with a MSys terminal, you get a message on the terminal at startup that explains why the vector digitizer is not there.
Something pointing the user to Vector -> Develop -> Digitize using Tcl/Tk would be nice. ... either a message or immediate launch of the Tcl/Tk version.
replace no module named grass_wxvdigit [OK] with "no module... Start Tcl/Tk {digitizer|NVIZ} instead?" [Yes] [no] ?
Hamish
with r42872 for Grass65, see attached picture for information about missing 3d-view mode and wxdigitizer in wingrass.
thanks for adding this.
Helmut
comment:6 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed also in grass64. closing the ticket.
Replying to hamish:
see comment in https://trac.osgeo.org/grass/ticket/627#comment:5