[GRASS-dev] [GRASS GIS] #2054: d.barscale module gui doesn't start from the command line
GRASS GIS
trac at osgeo.org
Fri Aug 2 23:54:39 PDT 2013
#2054: d.barscale module gui doesn't start from the command line
------------------------+---------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.4
Component: wxGUI | Version: svn-develbranch6
Keywords: d.barscale | Platform: Linux
Cpu: x86-64 |
------------------------+---------------------------------------------------
Hi,
in relbr64 and devbr6 d.barscale doesn't launch from the command line,
with or without --ui. tested on debian/squeeze and ubuntu 12.04.
{{{
GRASS64> d.barscale
D3/5: G_recreate_command()
D1/5: grass.script.core.start_command(): g.gisenv -n
D1/5: grass.script.core.start_command(): g.gisenv -n
Traceback (most recent call last):
File "/usr/lib/grass64/etc/wxpython/gui_core/forms.py", line 2023, in
<module>
app = GrassGUIApp(task)
File "/usr/lib/grass64/etc/wxpython/gui_core/forms.py", line 1996, in
__init__
wx.App.__init__(self, False)
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7981, in __init__
self._BootstrapApp()
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7555, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/lib/grass64/etc/wxpython/gui_core/forms.py", line 2004, in
OnInit
self.mf = TaskFrame(parent = None, ID = wx.ID_ANY, task_description =
self.grass_task)
File "/usr/lib/grass64/etc/wxpython/gui_core/forms.py", line 417, in
__init__
frame = self)
File "/usr/lib/grass64/etc/wxpython/gui_core/forms.py", line 1385, in
__init__
win = self.FindWindowById(p['wxId'][0])
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 9458, in FindWindowById
return _core_.Window_FindWindowById(*args, **kwargs)
TypeError: in method 'Window_FindWindowById', expected argument 2 of type
'long'
}}}
running "g.gui tcltk -nu" lets the tcl/tk gui start. (gui icon is included
in the tcl/tk module gui, a nice touch!)
?
thanks,
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2054>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list