Greetings
I have been able to run a GRASS Python script in 6.4. version in Windows
by creating a .bat file in bin and adding this at the top:
#!/usr/bin/env python
But now, in Linux I'm not able to run this. I habve placed my script
file in script folder but I'm getting this error:
Traceback (most recent call last):
File
"/usr/lib64/grass-6.4.1/etc/wxpython/gui_modules/prompt.py",
line 1070, in OnKeyPressed
self.parent.RunCmd(cmd)
File "/usr/lib64/grass-6.4.1/etc/wxpython/gui_modules/gout
put.py", line 516, in RunCmd
task = menuform.GUI().ParseInterface(command)
File "/usr/lib64/grass-6.4.1/etc/wxpython/gui_modules/menu
form.py", line 2020, in ParseInterface
tree = etree.fromstring(getInterfaceDescription(cmd[0]))
File "/usr/lib64/grass-6.4.1/etc/wxpython/gui_modules/menu
form.py", line 1969, in getInterfaceDescription
raise gcmd.GException, _("Unable to fetch interface
description for command '%s'. "
AttributeError
:
OSError instance has no attribute 'value'
What is missing?
THanks
Antonio
--
António Rocha
Aerospace & Defence Portugal
DEIMOS Engenharia, SA
Av. D. Joao II, Lt 1.17.01 - 10º, Ed. Torre Zen
1998-023 Lisboa, Portugal
Ph: +351 21 893 3010
Fax: +351 21 896 9099
http://www.deimos.pt
__ Information from ESET NOD32 Antivirus, version of virus signature
database 6562 (20111021) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user