<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 2, 2014 at 10:39 AM, Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":194" class="" style="overflow:hidden">The reason is empty XML wxGUI menu file (menudata.xml) produced by<br>
building system, see [2].<br>
<div class=""><br>
Traceback (most recent call last):<br>
</div> File "core/toolboxes.py", line 759, in <module><br>
sys.exit(main())<br>
File "core/toolboxes.py", line 745, in main<br>
userDefined=False)<br>
File "core/toolboxes.py", line 204, in createTree<br>
moduleItems=moduleItems)<br>
File "core/toolboxes.py", line 241, in toolboxes2menudata<br>
_expandRuntimeModules(root)<br>
File "core/toolboxes.py", line 514, in _expandRuntimeModules<br>
desc, keywords = _loadMetadata(name)<br>
File "core/toolboxes.py", line 540, in _loadMetadata<br>
task = gtask.parse_interface(module)<br>
File "c:\osgeo4w\usr\src\grass_trunk\dist.i686-pc-mingw32\etc\python\grass\script\task.py",<br>
line 501, in parse_interface<br>
tree = etree.fromstring(get_interface_description(name))<br>
File "c:\osgeo4w\usr\src\grass_trunk\dist.i686-pc-mingw32\etc\python\grass\script\task.py",<br>
line 465, in get_interface_description<br>
stderr = PIPE)<br>
File "c:\osgeo4w\usr\src\grass_trunk\dist.i686-pc-mingw32\etc\python\grass\script\core.py",<br>
line 58, in __init__<br>
name, ext = os.path.splitext(cmd)<br>
File "c:/OSGeo4W/apps/Python27\lib\ntpath.py", line 190, in splitext<br>
return genericpath._splitext(p, sep, altsep, extsep)<br>
File "c:/OSGeo4W/apps/Python27\lib\genericpath.py", line 91, in _splitext<br>
sepIndex = p.rfind(sep)<br>
AttributeError: 'NoneType' object has no attribute 'rfind'<br>
make[4]: *** [xml/menudata.xml] Error 1</div></blockquote></div><br></div><div class="gmail_extra">It seems that shutil_which returned None at line (from the patch):<br><br>cmd = shutil_which(args[0])<br></div></div>