[GRASSGUI] testing wxgrass
Moritz Lennert
mlennert at club.worldonline.be
Tue Mar 27 12:28:33 EDT 2007
On 27/03/07 17:58, Michael Barton wrote:
> I just fixed this and committed it to the svn. But we may need to add a line
> to set permissions (I just copied the PERMANENT/WIND permissions with the
> file because I don't understand how to use os.chmod yet).
Now the WIND file gets created (exactly identical to the PERMANENT
file), but when my .grassrc6 contains the name of this new mapset I also
get (as I do for the user1 mapset in spearfish60):
Traceback (most recent call last):
File "/usr/lib/grass/etc/wx/gis_set.py", line 731, in ?
GRASSStartUp = StartUp(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/gis_set.py", line 722, in OnInit
StartUp = GRASSStartup(None, -1, "")
File "/usr/lib/grass/etc/wx/gis_set.py", line 462, in __init__
self.__set_properties()
File "/usr/lib/grass/etc/wx/gis_set.py", line 508, in __set_properties
self.lbmapsets.SetSelection(self.listOfMapsets.index(mapset))
ValueError: list.index(x): x not in list
Moritz
More information about the grass-gui
mailing list