[GRASS-dev] GRASS 7 crashes on startup on Mac
Anna Petrášová
kratochanna at gmail.com
Mon May 13 14:18:33 PDT 2013
There might be a problem with compilation. Is there any error? Could you
check file menudata.xml in gui/wxpython/xml/ and the same file in
distribution? Is it there and what's inside?
On Mon, May 13, 2013 at 10:51 PM, Michael Barton <Michael.Barton at asu.edu>wrote:
> Anna,
>
> I deleted all the GUI code and did a new svn up and make distclean.
>
> Just finished compiling and have the same error on startup. The GUI
> crashes.
>
>
> Michael
> ______________________________
> C. Michael Barton
> Director, Center for Social Dynamics & Complexity
> Professor of Anthropology, School of Human Evolution & Social Change
> Arizona State University
> Tempe, AZ 85287-2402
> USA
>
> voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
> fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)
> www: http://csdc.asu.edu, http://shesc.asu.edu
> http://www.public.asu.edu/~cmbarton
>
> On May 13, 2013, at 1:23 PM, Anna Petrášová <kratochanna at gmail.com>
> wrote:
>
> Hi Michael,
>
>
> On Mon, May 13, 2013 at 9:52 PM, Michael Barton <Michael.Barton at asu.edu>wrote:
>
>> I just compiled GRASS 7 Trunk.
>>
>> It crashes on startup with the following error:
>>
>
> this is related to the new toolboxes and menu customization. I don't
> know what is wrong because it was tested successfully also on Windows.
> Could you check what you have in directory toolboxes which should be in the
> same folder as saved settings file? Also try make distclean or just make
> clean in gui/wxpython and remove manually the gui files from distribution.
>
> Anna
>
>
>> GRASS 7.0.svn (nc_spm_08):~ > Traceback (most recent call last):
>> File
>> "/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py",
>> line 140, in <module>
>> sys.exit(main())
>> File
>> "/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py",
>> line 133, in main
>> app = GMApp(workspaceFile)
>> File
>> "/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py",
>> line 45, in __init__
>> wx.App.__init__(self, False)
>> File
>> "/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py",
>> line 7981, in __init__
>> self._BootstrapApp()
>> File
>> "/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py",
>> line 7555, in _BootstrapApp
>> return _core_.PyApp__BootstrapApp(*args, **kwargs)
>> File
>> "/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py",
>> line 79, in OnInit
>> workspace = self.workspaceFile)
>> File
>> "/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py",
>> line 106, in __init__
>> self._menuTreeBuilder = LayerManagerMenuData()
>> File
>> "/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/menudata.py",
>> line 31, in __init__
>> MenuTreeModelBuilder.__init__(self, filename)
>> File
>> "/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/core/menutree.py",
>> line 61, in __init__
>> xmlTree = etree.parse(filename)
>> File
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py",
>> line 862, in parse
>> tree.parse(source, parser)
>> File
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py",
>> line 587, in parse
>> self._root = parser.close()
>> File
>> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py",
>> line 1254, in close
>> self._parser.Parse("", 1) # end of data
>> xml.parsers.expat.ExpatError: no element found: line 1, column 0
>>
>> No changes on my end since compiling it without a problem a week ago.
>>
>> Michael
>> ______________________________
>> C. Michael Barton
>> Director, Center for Social Dynamics & Complexity
>> Professor of Anthropology, School of Human Evolution & Social Change
>> Arizona State University
>> Tempe, AZ 85287-2402
>> USA
>>
>> voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
>> fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)
>> www: http://csdc.asu.edu, http://shesc.asu.edu
>> http://www.public.asu.edu/~cmbarton
>>
>>
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130513/98c07488/attachment-0001.html>
More information about the grass-dev
mailing list