[GRASS-dev] grass standalone
Mohammed Rashad
mohammedrashadkm at gmail.com
Thu May 19 09:10:27 EDT 2011
how to run a custom grass viewer outside grass shell
eg
python render.py
but it gives me error
Initializing...
Traceback (most recent call last):
File "grass-qt/render.py", line 1308, in <module>
image = map.Render(force = True)
File "grass-qt/render.py", line 865, in Render
os.environ["GRASS_REGION"] = self.SetRegion(windres)
File "grass-qt/render.py", line 697, in SetRegion
region = self.AdjustRegion()
File "grass-qt/render.py", line 484, in AdjustRegion
mapwidth = abs(self.region["e"] - self.region["w"])
KeyError: 'e'
Exception AttributeError: "'NoneType' object has no attribute
'GetCmdString'" in <bound method MapLayer.__del__ of <__main__.MapLayer
object at 0xa40f08c>> ignored
Exception AttributeError: "'NoneType' object has no attribute
'GetCmdString'" in <bound method MapLayer.__del__ of <__main__.MapLayer
object at 0xa3ebfec>> ignored
--
Thanks && Regards
Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20110519/d901a7b3/attachment.html
More information about the grass-dev
mailing list