[GRASS-dev] GRASS 7.2RC2 problem

Anna Petrášová kratochanna at gmail.com
Tue Dec 6 15:48:36 PST 2016


On Tue, Dec 6, 2016 at 6:45 PM, Michael Barton <Michael.Barton at asu.edu> wrote:
> They both have 0 bytes. This is the same problem we had many months back. I had a clunky workaround but it has not been necessary for some time now.
So what happens if you run those commands manually? Such as:

python core/toolboxes.py > xml/menudata.xml

>
> Michael
> ____________________
> C. Michael Barton
> Director, Center for Social Dynamics & Complexity
> Professor of Anthropology, School of Human Evolution & Social Change
> Head, Graduate Faculty in Complex Adaptive Systems Science
> Arizona State University
>
> voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
> fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
> www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>> On Dec 6, 2016, at 4:36 PM, Anna Petrášová <kratochanna at gmail.com> wrote:
>>
>> There is indeed no error in the log. I can see:
>> /usr/bin/install -c  -m 644 xml/menudata.xml
>> /Users/cmbarton/grass_source/grass-7.2.0RC2/dist.x86_64-apple-darwin15.6.0/gui/wxpython/xml/menudata.xml
>> /usr/bin/install -c  -m 644 xml/module_tree_menudata.xml
>> /Users/cmbarton/grass_source/grass-7.2.0RC2/dist.x86_64-apple-darwin15.6.0/gui/wxpython/xml/module_tree_menudata.xml
>>
>> so the xml files are on the right places. Could you verify that? Are
>> these files correct? Then when you make install, are these files in
>> the grass7 app?
>>
>> Anna
>>
>>
>> On Tue, Dec 6, 2016 at 5:49 PM, Martin Landa <landa.martin at gmail.com> wrote:
>>> 2016-12-06 23:45 GMT+01:00 Michael Barton <Michael.Barton at asu.edu>:
>>>> It is. We don't know what the problem is. I have a guess on this though. It
>>>> may be a problem with generating the xml code for the addons menu. We had
>>>> this problem awhile back.
>>>
>>> without full log (run make distclean before configure && make) we
>>> cannot move from this point (this issue has been reported 7 days ago).
>>> Thanks, Ma
>>>
>>>> On Nov 29, 2016 10:13 PM, "Michael Barton" <Michael.Barton at asu.edu> wrote:
>>>>>
>>>>> Yesterday I compiled GRASS 7.2 RC2 with no errors. Today I tried to test
>>>>> it before posting and got the following error:
>>>>>
>>>>> GRASS 7.2.0RC2 (Global_latlon):~ > Traceback (most recent call last):
>>>>>  File "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/wxgui.py",
>>>>> line 158, in <module>
>>>>>    sys.exit(main())
>>>>>  File "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/wxgui.py",
>>>>> line 145, in main
>>>>>    app = GMApp(workspaceFile)
>>>>>  File "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/wxgui.py",
>>>>> line 48, in __init__
>>>>>    wx.App.__init__(self, False)
>>>>>  File
>>>>> "/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py",
>>>>> line 7981, in __init__
>>>>>    self._BootstrapApp()
>>>>>  File
>>>>> "/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py",
>>>>> line 7555, in _BootstrapApp
>>>>>    return _core_.PyApp__BootstrapApp(*args, **kwargs)
>>>>>  File "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/wxgui.py",
>>>>> line 92, in OnInit
>>>>>    workspace=self.workspaceFile)
>>>>>  File
>>>>> "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/lmgr/frame.py",
>>>>> line 129, in __init__
>>>>>    self._menuTreeBuilder = LayerManagerMenuData()
>>>>>  File
>>>>> "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/lmgr/menudata.py",
>>>>> line 42, in __init__
>>>>>    self, filename, expandAddons=expandAddons)
>>>>>  File
>>>>> "/Applications/GRASS-7.2.app/Contents/MacOS/gui/wxpython/core/menutree.py",
>>>>> line 65, in __init__
>>>>>    xmlTree = etree.parse(filename)
>>>>>  File
>>>>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py",
>>>>> line 1182, in parse
>>>>>    tree.parse(source, parser)
>>>>>  File
>>>>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py",
>>>>> line 657, in parse
>>>>>    self._root = parser.close()
>>>>>  File
>>>>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py",
>>>>> line 1654, in close
>>>>>    self._raiseerror(v)
>>>>>  File
>>>>> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py",
>>>>> line 1506, in _raiseerror
>>>>>    raise err
>>>>> xml.etree.ElementTree.ParseError: no element found: line 1, column 0
>>>>>
>>>>> Any idea what this is?
>>>>>
>>>>
>>>> Is this yet a showstopper for the final release?
>>>>
>>>> Markus
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> grass-dev mailing list
>>>> grass-dev at lists.osgeo.org
>>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.osgeo.org_mailman_listinfo_grass-2Ddev&d=DQIBaQ&c=AGbYxfJbXK67KfXyGqyv2Ejiz41FqQuZFk4A-1IxfAU&r=vxOW6PLS28MPea_dWUwPfRf71TAIziRDuFqWJimQN1I&m=wzegbuCgj3FNHt2EvfUw_NSkDRyjw3UfEGjra7XMnrg&s=A_5YGAlkyo-TX5DrYQbXazvt29qM0wVR54KhVJyCqYY&e=
>>>
>>>
>>>
>>> --
>>> Martin Landa
>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__geo.fsv.cvut.cz_gwiki_Landa&d=DQIBaQ&c=AGbYxfJbXK67KfXyGqyv2Ejiz41FqQuZFk4A-1IxfAU&r=vxOW6PLS28MPea_dWUwPfRf71TAIziRDuFqWJimQN1I&m=wzegbuCgj3FNHt2EvfUw_NSkDRyjw3UfEGjra7XMnrg&s=IW0FiwKY9TZVJMKYQEnTHnyLEgTOUToc6aMN8x1tbGA&e=
>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__gismentors.cz_mentors_landa&d=DQIBaQ&c=AGbYxfJbXK67KfXyGqyv2Ejiz41FqQuZFk4A-1IxfAU&r=vxOW6PLS28MPea_dWUwPfRf71TAIziRDuFqWJimQN1I&m=wzegbuCgj3FNHt2EvfUw_NSkDRyjw3UfEGjra7XMnrg&s=RdDtLFNgIXcXjzm3ihlgoJmzAe75YPYatIR81LIHwz0&e=
>>> _______________________________________________
>>> grass-dev mailing list
>>> grass-dev at lists.osgeo.org
>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.osgeo.org_mailman_listinfo_grass-2Ddev&d=DQIBaQ&c=AGbYxfJbXK67KfXyGqyv2Ejiz41FqQuZFk4A-1IxfAU&r=vxOW6PLS28MPea_dWUwPfRf71TAIziRDuFqWJimQN1I&m=wzegbuCgj3FNHt2EvfUw_NSkDRyjw3UfEGjra7XMnrg&s=A_5YGAlkyo-TX5DrYQbXazvt29qM0wVR54KhVJyCqYY&e=
>


More information about the grass-dev mailing list