[GRASS-dev] [GRASS GIS] #239: crash if zooming in too much
GRASS GIS
trac at osgeo.org
Wed Jul 30 10:50:24 EDT 2008
#239: crash if zooming in too much
----------------------+-----------------------------------------------------
Reporter: msieczka | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: default | Version: svn-develbranch6
Keywords: | Platform: Linux
Cpu: x86-64 |
----------------------+-----------------------------------------------------
r32363
1. Add a raster map (raster or vector).
2. Zoom in until an error like this pops up:
{{{
Execution failed: 'd.rast map=N51E016 at PERMANENT --q'
Details:
ERROR: region for current mapset line 1run "g.region"
}}}
3. Try to "Zoom to selected map" or any other zoom operation - a crash:
{{{
Traceback (most recent call last):
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 2076, in OnZoomToMap
self.ZoomToMap()
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 2129, in ZoomToMap
self.UpdateMap()
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 579, in UpdateMap
self.mapfile = self.Map.Render(force=True,
mapWindow=self.parent, windres=windres)
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/re
nder.py", line 762, in Render
if not layer.Render():
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/re
nder.py", line 135, in Render
os.environ["GRASS_PNGFILE"] = self.mapfile
File "/usr/lib/python2.5/os.py", line 474, in __setitem__
putenv(key, item)
TypeError
:
putenv() argument 2 must be string, not None
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/239>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list