[GRASS-user] Python problem

Hi!
I’m trying to develop some pyton code without luck…(Grass64 on a Ubuntu 9.04 python 2.6)
I start using the example from the wiki http://grass.osgeo.org/wiki/GRASS_and_Python, but I got error messages…

Traceback (most recent call last):
File “/usr/lib/grass64/etc/wxpython/gui_modules/menuform.py”, line 1931, in
GrassGUIApp( grassTask( sys.argv[1] ) ).MainLoop()
File “/usr/lib/grass64/etc/wxpython/gui_modules/menuform.py”, line 335, in init
xml.sax.parseString( getInterfaceDescription( grassModule ) , processTask( self ) )
File “/usr/lib/grass64/etc/wxpython/gui_modules/menuform.py”, line 1748, in getInterfaceDescription
raise IOError, _(“Unable to fetch interface description for command ‘%s’.”) % cmd
IOError: Unable to fetch interface description for command ‘test.py’.

Any hint?
Thanks


Lic. Leonardo A. Hardtke
Laboratorio de Teledetección y S.I.G.
Centro Nacional Patagónico (CONICET)
Bvd. Brown 2825, 9120 Puerto Madryn, Chubut, Argentina

Leonardo Hardtke wrote:

I'm trying to develop some pyton code without luck....(Grass64 on a Ubuntu
9.04 python 2.6)
I start using the example from the wiki
http://grass.osgeo.org/wiki/GRASS_and_Python, but I got error messages...

IOError: Unable to fetch interface description for command 'test.py'.

Any hint?

Do the following work:

  test.py --help
  test.py --interface-description

--
Glynn Clements <glynn@gclements.plus.com>