[GRASS-dev] [GRASS GIS] #1613: r.hazard.flood.py returns a ParseError

GRASS GIS trac at osgeo.org
Mon Mar 12 17:57:56 EDT 2012


#1613: r.hazard.flood.py returns a ParseError
-------------------------------+--------------------------------------------
 Reporter:  Ddm                |       Owner:  grass-dev@…              
     Type:  defect             |      Status:  new                      
 Priority:  normal             |   Milestone:  6.4.3                    
Component:  Raster             |     Version:  unspecified              
 Keywords:  r.hazard.flood.py  |    Platform:  MSWindows 7              
      Cpu:  Unspecified        |  
-------------------------------+--------------------------------------------
 Hi,
 I'm trying to run the r.hazard.flood.py add-on, but I'm getting the
 following error message.
 I'm new to GRASS so I apologise if this is an obvious user error.
 Many thanks.
 -----------------------------
 (Mon Mar 12 22:47:16 2012)
 r.hazzard.flood.py
 C:\Program Files (x86)\GRASS 6.4.2\extrabin\python.exe:
 can't open file 'r.hazzard.flood.py': [Errno 2] No such file
 or directory
 (Mon Mar 12 22:47:17 2012) La commande s'est terminée (0 sec)
 Traceback (most recent call last):
   File "C:\Program Files (x86)\GRASS
 6.4.2\etc\wxpython\gui_modules\prompt.py", line 1105, in
 OnKeyPressed

 self.parent.RunCmd(cmd)
   File "C:\Program Files (x86)\GRASS
 6.4.2\etc\wxpython\gui_modules\goutput.py", line 523, in
 RunCmd

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

 blackList = _blackList)
   File "C:\Program Files (x86)\GRASS
 6.4.2\etc\python\grass\script\task.py", line 460, in
 parse_interface

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

 return parser.close()
   File "C:\Program Files (x86)\GRASS
 6.4.2\Python27\lib\xml\etree\ElementTree.py", line 1636, in
 close

 self._raiseerror(v)
   File "C:\Program Files (x86)\GRASS
 6.4.2\Python27\lib\xml\etree\ElementTree.py", line 1488, in
 _raiseerror

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

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1613>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list