[GRASS-user] Pyhton script problem WINGrass 6.5SVN
JRadinger at gmx.at
Mon Nov 21 05:26:19 EST 2011
I posted this already last week on the WINGrass mailing list, but didn't get any answer, so maybe someone of this list can help me.
I compiled an own python script together with
the source of GRASS 6.5SVN on Mac OSX and on Windows.
The script source (with make and description.html) was
placed in the same directory of the source etc.
In both cases no errors occured while compiling.
I can easily start my script on my Mac and get after
typing script.py in the console directly to the grafical interface
of the g.parser.
But when I want to call my script in Windows 7, I get following error:
Traceback (most recent call last):
mingw32/etc/wxpython/gui_modules/prompt.py", line 809, in
self.cmdDesc = gtask.parse_interface(cmd)
\script\task.py", line 457, in parse_interface
tree = etree.fromstring(get_interface_description(name))
line 964, in XML
line 1254, in close
self._parser.Parse("", 1) # end of data
no element found: line 1, column 0
I don't know what that error means, can anyone give me a hint what causes the problem in windows (environemtal variables? python modules? pyhton version etc.? or the script file itself, although it is excactly similar to the one I use on Mac?, or just a bug in WINGrass?)
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone
More information about the grass-user