[GRASS-user] grass-python scripting error
Hamish
hamish_b at yahoo.com
Fri May 29 18:52:05 EDT 2009
Milton wrote:
> Here you have the results on a AMD64/Vista:
> C:\Python25>python
> Python 2.5.4 (r254:67916, Dec 23 2008, 15:19:34) [MSC
> v.1400 64 bit (AMD64)] on
> win32
> Type "help", "copyright",
> "credits" or "license" for more
> information.
>
> >>> import sys
> >>> sys.platform
> 'win32'
> >>> import os
> >>> os.name
> 'nt'
> >>> os.environ['OS']
> 'Windows_NT'
>
> >>> import platform
> >>> platform.system()
> 'Windows'
> >>>
ok, so it still reports 'win32' and so that's not the problem...
info added to
http://grass.osgeo.org/wiki/WxPython-based_GUI_for_GRASS#Platform_specific
are you able to run 'g.region -p' from the GRASS command line?
(maybe you get to see extra error messages there that are hidden by
the GUI)
thanks,
Hamish
More information about the grass-user
mailing list