On Mon, Aug 11, 2014 at 3:24 PM, Michael Barton <[email protected]> wrote:
> I just tried to compile GRASS 7.0 beta 3 for release and it appears to be > broken. It worked fine 15 July. Here are the problems. > > 1st, there is a set of GUI errors that pop up from make. These were > present awhile back but ‘bogus’ in that they did not seem to affect running > (though I suspected that they were related to other issues that caused > compiling problem). These went away and all was well by the mid-July build. > But they are back again. I hoped that they were again ‘bogus’ but the GUI > won’t launch now. > > Here are the errors on launch: > > ======================= launch errors ================ > > GRASS 7.0.0svn (nc_spm_08):~ > Traceback (most recent call last): > File > "/Users/cmbarton/grass_source/grass7_rb/macosx/dist/GRASS-7.0.app/Contents/MacOS/gui/wxpython/wxgui.py", > line 138, in <module> > sys.exit(main()) > File > "/Users/cmbarton/grass_source/grass7_rb/macosx/dist/GRASS-7.0.app/Contents/MacOS/gui/wxpython/wxgui.py", > line 131, in main > app = GMApp(workspaceFile) > File > "/Users/cmbarton/grass_source/grass7_rb/macosx/dist/GRASS-7.0.app/Contents/MacOS/gui/wxpython/wxgui.py", > line 45, in __init__ > wx.App.__init__(self, False) > File > "/Users/cmbarton/grass_source/grass7_rb/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py", > line 7981, in __init__ > self._BootstrapApp() > File > "/Users/cmbarton/grass_source/grass7_rb/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/cmbarton/grass_source/grass7_rb/macosx/dist/GRASS-7.0.app/Contents/MacOS/gui/wxpython/wxgui.py", > line 79, in OnInit > workspace = self.workspaceFile) > File > "/Users/cmbarton/grass_source/grass7_rb/macosx/dist/GRASS-7.0.app/Contents/MacOS/gui/wxpython/lmgr/frame.py", > line 118, in __init__ > self._menuTreeBuilder = LayerManagerMenuData() > File > "/Users/cmbarton/grass_source/grass7_rb/macosx/dist/GRASS-7.0.app/Contents/MacOS/gui/wxpython/lmgr/menudata.py", > line 40, in __init__ > MenuTreeModelBuilder.__init__(self, filename, > expandAddons=expandAddons) > File > "/Users/cmbarton/grass_source/grass7_rb/macosx/dist/GRASS-7.0.app/Contents/MacOS/gui/wxpython/core/menutree.py", > line 64, 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 > GRASS 7.0.0svn (nc_spm_08):~ > > > ============================================================== > > This looks like the same error that I’d had to deal with earlier, but > which appeared fixed by the mid-July build. I have a workaround but it is a > PITA. > > The make errors are here. As before they all are related to a new > windowing environment: > > ================== list of modules with make errors =========== > > Errors in: > Errors in: > /Users/cmbarton/grass_source/grass7_rb/gui/wxpython/animation > /Users/cmbarton/grass_source/grass7_rb/gui/wxpython/mapswipe > /Users/cmbarton/grass_source/grass7_rb/gui/wxpython/gmodeler > /Users/cmbarton/grass_source/grass7_rb/gui/wxpython/rlisetup > /Users/cmbarton/grass_source/grass7_rb/gui/wxpython/psmap > /Users/cmbarton/grass_source/grass7_rb/gui/wxpython/dbmgr > /Users/cmbarton/grass_source/grass7_rb/gui/wxpython/vdigit > /Users/cmbarton/grass_source/grass7_rb/gui/wxpython/iclass > /Users/cmbarton/grass_source/grass7_rb/gui/wxpython/gcp > /Users/cmbarton/grass_source/grass7_rb/gui/wxpython/timeline > > ==================================================== > > Here is an example of the error in one of the above modules: > > cd /Users/cmbarton/grass_source/grass7_rb/gui/wxpython/animation > cmb-imaccsdc:animation cmbarton$ make > /Applications/Xcode.app/Contents/Developer/usr/bin/make > /Users/cmbarton/grass_source/grass7_rb/dist.x86_64-apple-darwin13.3.0/docs/html/g.gui.animation.html > GISRC=/Users/cmbarton/grass_source/grass7_rb/dist.x86_64-apple-darwin13.3.0/demolocation/.grassrc70 > GISBASE=/Users/cmbarton/grass_source/grass7_rb/dist.x86_64-apple-darwin13.3.0 > PATH="/Users/cmbarton/grass_source/grass7_rb/dist.x86_64-apple-darwin13.3.0/bin:/Users/cmbarton/grass_source/grass7_rb/dist.x86_64-apple-darwin13.3.0/bin:/Users/cmbarton/grass_source/grass7_rb/dist.x86_64-apple-darwin13.3.0/scripts:$PATH" > PYTHONPATH="/Users/cmbarton/grass_source/grass7_rb/dist.x86_64-apple-darwin13.3.0/etc/python:/Users/cmbarton/grass_source/grass7_rb/dist.x86_64-apple-darwin13.3.0/gui/wxpython:$PYTHONPATH" > > DYLD_LIBRARY_PATH="/Users/cmbarton/grass_source/grass7_rb/dist.x86_64-apple-darwin13.3.0/bin:/Users/cmbarton/grass_source/grass7_rb/dist.x86_64-apple-darwin13.3.0/scripts:/Users/cmbarton/grass_source/grass7_rb/dist.x86_64-apple-darwin13.3.0/lib:/Users/cmbarton/grass_source/grass7_rb/dist.x86_64-apple-darwin13.3.0/lib:" > LC_ALL=C > /Users/cmbarton/grass_source/grass7_rb/dist.x86_64-apple-darwin13.3.0/scripts/g.gui.animation > --html-description < /dev/null | grep -v '</body>\|</html>' > > g.gui.animation.tmp.html > Traceback (most recent call last): > File > "/Users/cmbarton/grass_source/grass7_rb/dist.x86_64-apple-darwin13.3.0/scripts/g.gui.animation", > line 55, in <module> > import wx > File > "/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/__init__.py", > line 45, in <module> > from wx._core import * > File > "/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py", > line 4, in <module> > import _core_ > ImportError: > /usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core_.so: > no appropriate 64-bit architecture (see "man python" for running in 32-bit > mode) > make[1]: *** [g.gui.animation.tmp.html] Error 1 > rm g.gui.animation.tmp.html > make: *** [guiscript] Error 2 > cmb-imaccsdc:animation cmbarton$ > > This is apparently problem with mixing 32 and 64 bit architecture. Have you changed something in you compiling environment? I will try to recompile grass on Mac tomorrow, but I was compiling it recently and eventually I was able to compile successfully (I had problems with mixed Python installation on that computer). Anna ================================================== > > In fact I DO have this set up to compile and run Python in 32 bit mode. > I’ve been doing this for a couple years while waiting for wxPython 64 bit > to stabilize and mature (not there yet as of 2.9). > > This all worked a couple weeks ago, which makes this frustrating. > > I can try the new wxPython 3.0 but I have no idea whether it works with > the current GRASS GUI. > > 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 > > > > > > > > > > > > > > > >
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
