[GRASS-dev] Re: [GRASS GIS] #289: setting 'at=' to anything crashes
raster legend
GRASS GIS
trac at osgeo.org
Sat Sep 6 05:46:15 EDT 2008
#289: setting 'at=' to anything crashes raster legend
-----------------------+----------------------------------------------------
Reporter: msieczka | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by msieczka):
* summary: error changing raster legend settings => setting 'at=' to
anything crashes raster legend
Comment:
Now I know what's the origin of the problem: setting the 'at=' option to
anything, e.g. '0,0'. The initial error is:
{{{
Traceback (most recent call last):
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/gd
ialogs.py", line 408, in OnOK
self.parent.MapWindow.UpdateMap()
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 715, in UpdateMap
for img in self.GetOverlay():
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 592, in GetOverlay
if os.path.isfile(overlay.mapfile) and
os.path.getsize(overlay.mapfile):
File "/usr/lib/python2.5/posixpath.py", line 208, in
isfile
st = os.stat(path)
TypeError
:
coercing to Unicode: need string or buffer, NoneType found
}}}
The rest of the errors crops out when I press "OK" again.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/289#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list