<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 24, 2013 at 6:55 PM, Rashad M <span dir="ltr"><<a href="mailto:mohammedrashadkm@gmail.com" target="_blank">mohammedrashadkm@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I am getting compile error on Ubuntu raring for grass70.</div>
<div><br></div><div>From the short error log (see below) I think its python xml parse error. probably the new toolbox addition.</div>
<div><br></div><div>Full error log here [1]</div><div><br></div></div></blockquote><div><br></div><div>what does g.version -rge and python library function grass.version() return? Because it seems that in the first part of the log grass.version() fails.</div>
<div><br></div><div>Anna</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">
<div></div><div><br></div><div><pre style="white-space:pre-wrap;word-wrap:break-word">7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/etc/gui/wxpython/xml/module_items.xml
Traceback (most recent call last):
File "tools/build_modules_xml.py", line 85, in <module>
sys.exit(main())
File "tools/build_modules_xml.py", line 77, in main
header(fh)
File "tools/build_modules_xml.py", line 64, in header
(vInfo['version'].split('.')[0],
KeyError: 'version'
make[5]: *** [/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/etc/gui/wxpython/xml/module_items.xml] Error 1
make[5]: Leaving directory `/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/gui/wxpython'
make[4]: [default] Error 2 (ignored)
/usr/bin/make xml/menudata.xml
make[5]: Entering directory `/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/gui/wxpython'
GISRC=/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/demolocation/.grassrc70 GISBASE=/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu PATH="/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/bin:/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/bin:$PATH" PYTHONPATH="/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/etc/python:/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/etc/python:$PYTHONPATH" LD_LIBRARY_PATH="/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/bin:/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/lib:/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/lib:" LC_ALL=C python core/toolboxes.py > xml/menudata.xml
Traceback (most recent call last):
File "core/toolboxes.py", line 552, in <module>
sys.exit(main())
File "core/toolboxes.py", line 541, in main
tree = toolboxes2menudata(userDefined=False)
File "core/toolboxes.py", line 162, in toolboxes2menudata
moduleItems = etree.parse(moduleItemsFile)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 657, in parse
self._root = parser.close()
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: no element found: line 4, column 0
make[5]: *** [xml/menudata.xml] Error 1
make[5]: Leaving directory `/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/gui/wxpython'
make[4]: [default] Error 2 (ignored)
/usr/bin/make menustrings.py
make[5]: Entering directory `/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/gui/wxpython'
/usr/bin/install -c -m 644 xml/menudata.xml /build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/etc/gui/wxpython/xml/menudata.xml
GISRC=/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/demolocation/.grassrc70 GISBASE=/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu PATH="/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/bin:/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/bin:$PATH" PYTHONPATH="/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/etc/python:/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/etc/python:$PYTHONPATH" LD_LIBRARY_PATH="/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/bin:/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/lib:/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/dist.x86_64-pc-linux-gnu/lib:" LC_ALL=C python core/menutree.py >> menustrings.py
Traceback (most recent call last):
File "core/menutree.py", line 227, in <module>
menudata = LayerManagerMenuData(filename)
File "/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/gui/wxpython/lmgr/menudata.py", line 31, in __init__
MenuTreeModelBuilder.__init__(self, filename)
File "/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/gui/wxpython/core/menutree.py", line 61, in __init__
xmlTree = etree.parse(filename)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 657, in parse
self._root = parser.close()
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
make[5]: *** [menustrings.py] Error 1
make[5]: Leaving directory `/build/buildd/grass70-7.0.0+0ubuntu2+28653~raring1/gui/wxpython'
make[4]: [default] Error 2 (ignored)</pre><pre style="white-space:pre-wrap;word-wrap:break-word"><br></pre><div><br></div><div>[1] <a href="https://launchpadlibrarian.net/143289203/buildlog_ubuntu-raring-amd64.grass70_7.0.0%2B0ubuntu2%2B28653~raring1_FAILEDTOBUILD.txt.gz" target="_blank">https://launchpadlibrarian.net/143289203/buildlog_ubuntu-raring-amd64.grass70_7.0.0%2B0ubuntu2%2B28653~raring1_FAILEDTOBUILD.txt.gz</a></div>
<span class=""><font color="#888888">
-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br> Rashad</font></div>
</font></span></div></div>
<br>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div><br></div></div>