[GRASS-dev] [GRASS GIS] #3723: winGRASS7.7.svn - core.py - python 3 issues

GRASS GIS trac at osgeo.org
Tue Jan 15 23:03:23 PST 2019


#3723: winGRASS7.7.svn - core.py - python 3 issues
--------------------------+------------------------------------
  Reporter:  hellik       |      Owner:  grass-dev@…
      Type:  defect       |     Status:  closed
  Priority:  blocker      |  Milestone:  7.8.0
 Component:  Python       |    Version:  svn-trunk
Resolution:  fixed        |   Keywords:  python3, py3, wingrass
       CPU:  Unspecified  |   Platform:  MSWindows
--------------------------+------------------------------------

Comment (by martinl):

 Build no. 375 fails with new issues

 {{{
 Traceback (most recent call last):
   File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\wxgui.py", line
 103, in OnInit
     workspace=self.workspaceFile)
   File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\lmgr\frame.py",
 line 131, in __init__
     self._moduleTreeBuilder =
 LayerManagerModuleTree(message_handler=add_menu_error)
   File
 "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\lmgr\menudata.py", line
 69, in __init__
     message_handler=message_handler)
   File
 "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\core\menutree.py", line
 72, in __init__
     xmlTree = etree.parse(filename)
   File "C:\OSGEO4~1\apps\Python37\lib\xml\etree\ElementTree.py", line
 1197, in parse
     tree.parse(source, parser)
   File "C:\OSGEO4~1\apps\Python37\lib\xml\etree\ElementTree.py", line 598,
 in parse
     self._root = parser._parse_whole(source)
 xml.etree.ElementTree.ParseError: no element found: line 1, column 0
 }}}

 Reason:
 `C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\xml\module_tree_menudata.xml`
 is empty.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3723#comment:11>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list