[GRASSGUI] Re: [GRASS-dev] wxgrass prototype
Moritz Lennert
mlennert at club.worldonline.be
Thu Mar 22 05:10:42 EDT 2007
On 22/03/07 06:03, Michael Barton wrote:
>
>> - When using the provided Init.sh to run grass -wx, wxgrass is modal,
>> i.e. you don't have access to the command line in the terminal window
>> anymore.
>
> I made the wxgrass script start the GUI non-modally.
>
This doesn't work for me:
GRASS 6.3.cvs (BELGIQUE):~ > wxgrass
python: can't open file '/usr/lib/grass/etc/wx/gism.py &': [Errno 2] No
such file or directory
Without the ampersand, I now get the following error when trying to
launch wxgrass:
GRASS 6.3.cvs (BELGIQUE):~ > wxgrass
Traceback (most recent call last):
File "/usr/lib/grass/etc/wx/gism.py", line 445, in ?
app = GMApp(0)
File
"/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
7757, in __init__
self._BootstrapApp()
File
"/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
7354, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/lib/grass/etc/wx/gism.py", line 427, in OnInit
mainframe = GMFrame(None, -1, "")
File "/usr/lib/grass/etc/wx/gism.py", line 110, in __init__
self.menubar = self.__createMenuBar()
File "/usr/lib/grass/etc/wx/gism.py", line 166, in __createMenuBar
self.menubar.Append(self.__createMenu(menuItems), menuLabel)
File "/usr/lib/grass/etc/wx/gism.py", line 181, in __createMenu
self.__createMenuItem(menu, *eachItem)
File "/usr/lib/grass/etc/wx/gism.py", line 193, in __createMenuItem
rhandler = eval(handler)
File "<string>", line 0, in ?
AttributeError: 'GMFrame' object has no attribute 'Nomethod'
Moritz
More information about the grass-dev
mailing list