[GRASS-user] Using r.out.kml and scripts in Windows Binary- error

António Rocha antonio.rocha at deimos.com.pt
Wed Sep 12 09:32:29 PDT 2012


Greetings
I have used in Linux the r.out.kml script. Now, I hava installed Grass 
GIS (WinGRASS-6.4.2-2-Setup.exe) in Windows and I have placed my 
r.out.kml file in scripts folder and created a r.out.kml.bat file (with 
the path to the file) in bin folder. When I write r.out.kml in command 
console I get:

Traceback (most recent call last):
   File "C:\GRASS642\etc\wxpython\gui_modules\prompt.py",
line 1105, in OnKeyPressed

self.parent.RunCmd(cmd)
   File "C:\GRASS642\etc\wxpython\gui_modules\goutput.py",
line 523, in RunCmd

task = menuform.GUI(show = None).ParseCommand(command)
   File "C:\GRASS642\etc\wxpython\gui_modules\menuform.py",
line 1732, in ParseCommand

blackList = _blackList)
   File "C:\GRASS642\etc\python\grass\script\task.py", line
460, in parse_interface

tree = etree.fromstring(get_interface_description(name))
   File "C:\GRASS642\Python27\lib\xml\etree\ElementTree.py",
line 1283, in XML

return parser.close()
   File "C:\GRASS642\Python27\lib\xml\etree\ElementTree.py",
line 1636, in close

self._raiseerror(v)
   File "C:\GRASS642\Python27\lib\xml\etree\ElementTree.py",
line 1488, in _raiseerror

raise err
xml.etree.ElementTree
.
ParseError
:
no element found: line 1, column 0

When I try to run other scripts (e.g. v.report) I get also this error:
Traceback (most recent call last):
   File "C:\GRASS642\etc\wxpython\gui_modules\prompt.py",
line 1105, in OnKeyPressed

self.parent.RunCmd(cmd)
   File "C:\GRASS642\etc\wxpython\gui_modules\goutput.py",
line 523, in RunCmd

task = menuform.GUI(show = None).ParseCommand(command)
   File "C:\GRASS642\etc\wxpython\gui_modules\menuform.py",
line 1732, in ParseCommand

blackList = _blackList)
   File "C:\GRASS642\etc\python\grass\script\task.py", line
460, in parse_interface

tree = etree.fromstring(get_interface_description(name))
   File "C:\GRASS642\Python27\lib\xml\etree\ElementTree.py",
line 1283, in XML

return parser.close()
   File "C:\GRASS642\Python27\lib\xml\etree\ElementTree.py",
line 1636, in close

self._raiseerror(v)
   File "C:\GRASS642\Python27\lib\xml\etree\ElementTree.py",
line 1488, in _raiseerror

raise err
xml.etree.ElementTree
.
ParseError
:
no element found: line 1, column 0


What shall be done? Shall I downgrade to a previous vertsion?
Thanks
Antonio


More information about the grass-user mailing list