Dear List,
I’m using GRASS 6.5 -wxpython, just compiled last sunday and I found a (maybe) stupid block:
when I run r.lake from the line command of the layer manager, the module (and its interface) starts up without problems but when I try to run it from shell (typing simply “r.lake”) I had the following error:
GRASS 6.5.svn (GAUSS_BOAGA_EST):~ > r.lake
sh: ?: not found
Traceback (most recent call last):
File “/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/menuform.py”, line 1983, in
task = grassTask(cmd[0])
File “/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/menuform.py”, line 324, in init
processTask(tree = etree.fromstring(getInterfaceDescription(grassModule)),
File “/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/menuform.py”, line 1780, in getInterfaceDescription
raise IOError, _(“Unable to fetch interface description for command ‘%s’.”) % cmd
IOError: Unable to fetch interface description for command ‘?’.
What does it mean? I tried to have a look to the menuform.py script and the function getInterfaceDescription… but I don’t understand “what” he cannot found and why.
Many thanks.
Yours, Annalisa
ps: I’ m trying to solve a similar problem on winGRASS too… I have my python script and I’d like it to run on winGRASS but after placing it in the “script” directory and invoking the command, I had the same identical error…
Hey there,
Sorry I don't have an answer, but maybe it contributes to the understanding
of the problem:
I've also had this exact same error message when trying to run my own python
scripts from shell under Windows. The scripts seem to be fine, but GRASS was
unable to use them. Somebody posted what I believe might be a solution, if
the problem's python-based, but I haven't tried it because I rewrote it as a
shell script using Linux.
Here's the thread:
http://osgeo-org.1803224.n2.nabble.com/Problem-with-running-Python-script-in-GRASS-td5007296.html#a5007296
-Daniel
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/r-lake-starting-from-shell-problem-tp5035268p5040119.html
Sent from the Grass - Users mailing list archive at Nabble.com.
Many thanks Daniel,
I gave a look at that thread few days ago but I didn’t found an answer… maybe because I would like (if it’s possible) not to build grass on windows and I supposed the 6.4 version was more “stable” than 7.
But when I found that a similar problem on linux (and I know for sure problems on linux can be solved…) I had a hope to solve the same on win too.
However, many thanks for the hints.
I’ll update you if I obtain something good.
Yours, Annalisa.
2010/5/12 LeeDaniel <Lee.Daniel.1986@gmail.com>
Hey there,
Sorry I don’t have an answer, but maybe it contributes to the understanding
of the problem:
I’ve also had this exact same error message when trying to run my own python
scripts from shell under Windows. The scripts seem to be fine, but GRASS was
unable to use them. Somebody posted what I believe might be a solution, if
the problem’s python-based, but I haven’t tried it because I rewrote it as a
shell script using Linux.
Here’s the thread:
http://osgeo-org.1803224.n2.nabble.com/Problem-with-running-Python-script-in-GRASS-td5007296.html#a5007296
-Daniel
View this message in context: http://osgeo-org.1803224.n2.nabble.com/r-lake-starting-from-shell-problem-tp5035268p5040119.html
Sent from the Grass - Users mailing list archive at Nabble.com.
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user