Changes between Version 3 and Version 4 of Ticket #3723, comment 11


Ignore:
Timestamp:
Jan 15, 2019, 11:16:17 PM (5 years ago)
Author:
martinl

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3723, comment 11

    v3 v4  
    1 Build no. 375 fails with new issues
    2 
    3 {{{
    4 Traceback (most recent call last):
    5   File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\wxgui.py", line 103, in OnInit
    6     workspace=self.workspaceFile)
    7   File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\lmgr\frame.py", line 131, in __init__
    8     self._moduleTreeBuilder = LayerManagerModuleTree(message_handler=add_menu_error)
    9   File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\lmgr\menudata.py", line 69, in __init__
    10     message_handler=message_handler)
    11   File "C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\core\menutree.py", line 72, in __init__
    12     xmlTree = etree.parse(filename)
    13   File "C:\OSGEO4~1\apps\Python37\lib\xml\etree\ElementTree.py", line 1197, in parse
    14     tree.parse(source, parser)
    15   File "C:\OSGEO4~1\apps\Python37\lib\xml\etree\ElementTree.py", line 598, in parse
    16     self._root = parser._parse_whole(source)
    17 xml.etree.ElementTree.ParseError: no element found: line 1, column 0
    18 }}}
    19 
    20 Reason: `C:\OSGEO4~1\apps\grass\grass-7.7.svn\gui\wxpython\xml\module_tree_menudata.xml` is empty.
    21 
    22 Related traceback:
    23 
    24 {{{
    25 Traceback (most recent call last):
    26   File "core/toolboxes.py", line 914, in <module>
    27     sys.exit(main())
    28   File "core/toolboxes.py", line 898, in main
    29     userDefined=False)
    30   File "core/toolboxes.py", line 307, in createTree
    31     moduleItems=moduleItems)
    32   File "core/toolboxes.py", line 344, in toolboxes2menudata
    33     _expandRuntimeModules(root)
    34   File "core/toolboxes.py", line 645, in _expandRuntimeModules
    35     desc, keywords = _loadMetadata(name)
    36   File "core/toolboxes.py", line 682, in _loadMetadata
    37     task = gtask.parse_interface(module)
    38   File "C:\msys64\usr\src\grass_trunk\dist.x86_64-w64-mingw32\etc\python\grass\script\task.py", line 524, in parse_interface
    39     tree = etree.fromstring(get_interface_description(name))
    40   File "C:\msys64\usr\src\grass_trunk\dist.x86_64-w64-mingw32\etc\python\grass\script\task.py", line 476, in get_interface_description
    41     stderr=PIPE)
    42   File "C:\msys64\usr\src\grass_trunk\dist.x86_64-w64-mingw32\etc\python\grass\script\core.py", line 66, in __init__
    43     cmd = shutil_which(args[0])
    44   File "C:\msys64\usr\src\grass_trunk\dist.x86_64-w64-mingw32\etc\python\grass\script\core.py", line 222, in shutil_which
    45     if any(cmd.lower().endswith(ext) for ext in pathext):
    46   File "C:\msys64\usr\src\grass_trunk\dist.x86_64-w64-mingw32\etc\python\grass\script\core.py", line 222, in <genexpr>
    47     if any(cmd.lower().endswith(ext) for ext in pathext):
    48 TypeError: endswith first arg must be str or a tuple of str, not bytes
    49 Makefile:46: recipe for target 'xml/module_tree_menudata.xml' failed
    50 make[4]: *** [xml/module_tree_menudata.xml] Error 1
    51 }}}
    52 
    53 Seems to be related to r73930 (#3723)