Hi to all,
while save a workspace i receive this error message:
Scrittura delle impostazioni correnti nel file dell’ambiente di lavoro fallita.
Reason: ‘NoneType’ object is unsubscriptable
Traceback (most recent call last):
File “/usr/lib/grass64/etc/wxpython/wxgui.py”, line 844, in SaveToWorkspaceFile
workspace.WriteWorkspaceFile(lmgr = self, file = tmpfile)
File “/usr/lib/grass64/etc/wxpython/gui_modules/workspace.py”, line 734, in init
self.__writeLayer(mapTree, item)
File “/usr/lib/grass64/etc/wxpython/gui_modules/workspace.py”, line 788, in __writeLayer
self.file.write(‘%s\n’ % (’ ’ * self.indent, cmd[0]))
TypeError: ‘NoneType’ object is unsubscriptable
Anyone knows the reason and how can i solve this problem?
Regards
Eugenio
P.S. Debian Wheezy, Grass 6.4.1 (from .deb)
martinl
2
2011/9/26 Eugenio Trumpy <frippe12573@hotmail.com>:
in __writeLayer
self.file.write('%s<task name="%s">\n' % (' ' * self.indent, cmd[0]))
TypeError: 'NoneType' object is unsubscriptable
Anyone knows the reason and how can i solve this problem?
Regards
Eugenio
P.S. Debian Wheezy, Grass 6.4.1 (from .deb)
can you try 6.4.2 from SVN ?
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
Now, that’s ok with grass6.4.2svn complied version
thank you
Eugenio
Date: Mon, 26 Sep 2011 20:08:06 +0200
Subject: Re: [GRASS-user] problem saving workspace
From: landa.martin@gmail.com
To: frippe12573@hotmail.com
CC: grass-user@lists.osgeo.org
2011/9/26 Eugenio Trumpy frippe12573@hotmail.com:
in __writeLayer
self.file.write(‘%s\n’ % (’ ’ * self.indent, cmd[0]))
TypeError: ‘NoneType’ object is unsubscriptable
Anyone knows the reason and how can i solve this problem?
Regards
Eugenio
P.S. Debian Wheezy, Grass 6.4.1 (from .deb)
can you try 6.4.2 from SVN ?
Martin
–
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa