[GRASS-dev] why is r.li.setup unavailable in GRASS 7?

Luca Delucchi lucadeluge at gmail.com
Sat Dec 1 05:09:12 PST 2012


2012/12/1 Michael Barton <Michael.Barton at asu.edu>:
> Luca,

Hi Micheal

>
> r.li.setup does not yet compile in GRASS 7, at least on the Mac.
>

I'm sorry :-(

> Here is the error:
>
> anthgradpc7:g.version cmbarton$ cd /Users/Shared/grass_dev/grass7_dev/gui/wxpython/rlisetup
> anthgradpc7:rlisetup cmbarton$ make
> if [ "/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/scripts/g.gui.rlisetup" != "" ] ; then GISRC=/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/demolocation/.grassrc70 GISBASE=/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0 PATH="/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/bin:/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/bin:$PATH" PYTHONPATH="/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/etc/python:/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/etc/python:$PYTHONPATH" DYLD_LIBRARY_PATH="/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/bin:/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/lib:/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/lib:" LC_ALL=C /Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/scripts/g.gui.rlisetup --html-description < /dev/null | grep -v '</body>\|</html>' > g.gui.rlisetup.tmp.html ; fi
> Traceback (most recent call last):
>   File "/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/scripts/g.gui.rlisetup", line 32, 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: *** [g.gui.rlisetup.tmp.html] Error 1
> rm g.gui.rlisetup.tmp.html
>

This seems more a WX problem...I know that it's a "stupid" answer but
could you try

import wx

from python console?

>
> This may be the same error that is now affecting several GUI modules like map swipe, animation, and the graphical modeler.
>
> Michael

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org


More information about the grass-dev mailing list