Hi,

2010/12/23 Martin Landa <[email protected]>:
> 2010/12/23 Martin Landa <[email protected]>:
>
> [...]
>
>> the problem has been report on trac [1], closed without any clue.
>
> hm, it seems to be bug in GRASS windows installer, sorry for noise.

seems to be really mismatch of python versions. The test script
(below) is run by

C:\Program Files (x86)\GRASS-70-SVN\extrabin\python.exe (GRASS_PYTHON)

g.parser runs menuform.py - also by GRASS_PYTHON

them `r.test.py --interface-description` (called from menuform.py) is
run by another version of Python

C:\Python26\ArcGIS10.0\python.exe

...no clue why.

Martin

===

#!/usr/bin/env python

#%Module
#% description: Creates a raster map showing buffer zones surrounding
cells that contain non-NULL category values.
#%End
#%Option
#% key: input
#% type: string
#% required: yes
#% multiple: no
#% key_desc: name
#% description: Name of input raster map
#% gisprompt: old,cell,raster
#%End

import sys

print >> sys.stderr, sys.executable

import grass.script as grass

grass.parser()

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to