#1150: Cannot open vector for editing in digitize toolbar in GRASS 7.0
--------------------+-------------------------------------------------------
Reporter: PvB | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Vector | Version: unspecified
Keywords: | Platform: Linux
Cpu: x86-64 |
--------------------+-------------------------------------------------------
When opening the vector digitizing toolbar I can not select a vector layer
for editing. The vector layer is open (existing or just newly created) in
the layer manager, and is shown in the drop down box in the digitizing
toolbar, but selecting it doesn't do anything.
#1150: Cannot open vector for editing in digitize toolbar in GRASS 7.0
--------------------+-------------------------------------------------------
Reporter: PvB | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: wxGUI | Version: unspecified
Keywords: | Platform: Linux
Cpu: x86-64 |
--------------------+-------------------------------------------------------
Changes (by marisn):
* component: Vector => wxGUI
Comment:
Check out console output and You will see nice error message:
{{{
Traceback (most recent call last):
File "/home/maris/soft/grass_trunk/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/gui_modules/vdigit.py", line 230,
in __init__
mapwindow)
File "/home/maris/soft/grass_trunk/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/vdigit/grass7_wxvdigit.py", line
330, in __init__
this = _grass7_wxvdigit.new_Digit(*args)
TypeError: in method 'new_Digit', argument 2 of type
'wxWindow *'
Traceback (most recent call last):
File "/home/maris/soft/grass_trunk/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/gui_modules/mapdisp_window.py",
line 337, in CheckPseudoDC
self.pdc.SetBackground(wx.Brush(self.GetBackgroundColour()))
File "/home/maris/soft/grass_trunk/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/vdigit/grass7_wxvdigit.py", line
384, in SetBackground
def SetBackground(self, *args): return
_grass7_wxvdigit.PseudoDC_SetBackground(self, *args)
TypeError: in method 'PseudoDC_SetBackground', argument 2 of
type 'wxBrush const &'
Traceback (most recent call last):
File "/home/maris/soft/grass_trunk/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/gui_modules/toolbars.py", line
1263, in OnSelectMap
self.StartEditing(self.layers[selection])
File "/home/maris/soft/grass_trunk/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/gui_modules/toolbars.py", line
1311, in StartEditing
GError(parent = self.parent,
NameError
:
global name 'GError' is not defined
#1150: Cannot open vector for editing in digitize toolbar in GRASS 7.0
----------------------+-----------------------------------------------------
Reporter: PvB | Owner: martinl
Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Keywords: wxVdigit | Platform: Linux
Cpu: x86-64 |
----------------------+-----------------------------------------------------
Comment(by PvB):
OK, so this also is true for GRASS 7.0? I see that in 6.4 the whole module
is removed, but in GRASS 7.0 the module is there (well, one can open the
menu bar).
#1150: Cannot open vector for editing in digitize toolbar in GRASS 7.0
----------------------+-----------------------------------------------------
Reporter: PvB | Owner: martinl
Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Keywords: wxVdigit | Platform: Linux
Cpu: x86-64 |
----------------------+-----------------------------------------------------
Comment(by martinl):
Replying to [comment:4 PvB]:
> OK, so this also is true for GRASS 7.0? I see that in 6.4 the whole
module is removed, but in GRASS 7.0 the module is there (well, one can
open the menu bar).
not removed, just disabled in GRASS 6.4. You can compile it manually
#1150: Cannot open vector for editing in digitize toolbar in GRASS 7.0
----------------------+-----------------------------------------------------
Reporter: PvB | Owner: martinl
Type: defect | Status: new
Priority: normal | Milestone: 6.5.0
Component: wxGUI | Version: unspecified
Keywords: wxVdigit | Platform: Linux
Cpu: x86-64 |
----------------------+-----------------------------------------------------
Comment(by PvB):
Ah, ok, thanks. I am most concerned with getting it to work in GRASS 7
though. Just out of curiosity I tried your suggestion, but for grass 7.
The only output that it gives me is
"make: Nothing to be done for `first'".
This seems to be the same or similar as what was reported here: http
://osgeo-org.1803224.n2.nabble.com/No-module-named-grass7-wxvdigit-
td3102096.html.