[GRASS-dev] problem bundling GRASS 6.5 and 6.4 RB
Michael Barton
Michael.Barton at asu.edu
Tue Feb 11 09:27:05 PST 2014
I just realized that I did not list the entire error message. More clues at the end of it. I DO have GISDBASE set--and reset it just to be sure. Has here been a change to the configuration files and/or the way/place they are stored?
Michael
======= error message again =========
Launching <wxpython> GUI in the background, please wait...
ERROR: Incompatible library version for module. You need to rebuild GRASS
or untangle multiple installations.
ERROR: Incompatible library version for module. You need to rebuild GRASS
or untangle multiple installations.
ERROR: Incompatible library version for module. You need to rebuild GRASS
or untangle multiple installations.
ERROR: Incompatible library version for module. You need to rebuild GRASS
or untangle multiple installations.
Traceback (most recent call last):
File "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/prompt.py", line 11, in <module>
gettext.install('grasslibs', os.path.join(gisenv['GISDBASE'], 'locale'), unicode = True)
KeyError: 'GISDBASE'
GRASS 7.0.svn (nc_spm_08):~ > ERROR: Incompatible library version for module. You need to rebuild GRASS
or untangle multiple installations.
Traceback (most recent call last):
File "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py", line 39, in <module>
from lmgr.frame import GMFrame
File "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py", line 50, in <module>
from lmgr.layertree import LayerTree, LMIcons
File "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/layertree.py", line 37, in <module>
from mapdisp.frame import MapFrame
File "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/mapdisp/frame.py", line 40, in <module>
from vdigit.toolbars import VDigitToolbar
File "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/vdigit/toolbars.py", line 23, in <module>
from gui_core.dialogs import CreateNewVector, VectorDialog
ImportError: cannot import name VectorDialog
ERROR: Incompatible library version for module. You need to rebuild GRASS
or untangle multiple installations.
ERROR: Incompatible library version for module. You need to rebuild GRASS
or untangle multiple installations.
Traceback (most recent call last):
File "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/prompt.py", line 11, in <module>
gettext.install('grasslibs', os.path.join(gisenv['GISDBASE'], 'locale'), unicode = True)
KeyError: 'GISDBASE'
===================
____________________
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 Feb 11, 2014, at 10:23 AM, Michael Barton <michael.barton at asu.edu<mailto:michael.barton at asu.edu>> wrote:
I rebuilt and rebundled GRASS 7 yesterday evening. I started from a completely clean update (deleted all source files and did an svn up to restore then all with new ones).
There were no errors in compiling and building. BUT, I have a LOT or errors trying to run this from a different box than the one I compiled on. Any thoughts would be helpful. I'll keep experimenting to see if this is a problem in compiling or bundling.
Michael
========== errors below ===============
Welcome to GRASS 7.0.svn
GRASS homepage: http://grass.osgeo.org<http://grass.osgeo.org/>
This version running through: Bash Shell (/bin/bash)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
If required, restart the GUI with: g.gui wxpython
When ready to quit enter: exit
Launching <wxpython> GUI in the background, please wait...
ERROR: Incompatible library version for module. You need to rebuild GRASS
or untangle multiple installations.
ERROR: Incompatible library version for module. You need to rebuild GRASS
or untangle multiple installations.
ERROR: Incompatible library version for module. You need to rebuild GRASS
or untangle multiple installations.
ERROR: Incompatible library version for module. You need to rebuild GRASS
or untangle multiple installations.
Traceback (most recent call last):
File "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/prompt.py", line 11, in <module>
gettext.install('grasslibs', os.path.join(gisenv['GISDBASE'], 'locale'), unicode = True)
KeyError: 'GISDBASE'
GRASS 7.0.svn (nc_spm_08):~ > ERROR: Incompatible library version for module. You need to rebuild GRASS
or untangle multiple installations.
Traceback (most recent call last):
File "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py", line 39, in <module>
from lmgr.frame import GMFrame
File "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py", line 50, in <module>
from lmgr.layertree import LayerTree, LMIcons
File "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/layertree.py", line 37, in <module>
from mapdisp.frame import MapFrame
File "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/mapdisp/frame.py", line 40, in <module>
from vdigit.toolbars import VDigitToolbar
File "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/vdigit/toolbars.py", line 23, in <module>
from gui_core.dialogs import CreateNewVector, VectorDialog
ImportError: cannot import name VectorDialog
____________________
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<http://csdc.asu.edu/>
On Feb 10, 2014, at 3:31 PM, Michael Barton <michael.barton at asu.edu<mailto:michael.barton at asu.edu>> wrote:
I’m starting from a clean update of GRASS 7 source from the SVN. I’ll let you know.
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
Tempe, AZ 85287-2402
USA
voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)
www: http://csdc.asu.edu<http://csdc.asu.edu/>, http://shesc.asu.edu<http://shesc.asu.edu/>
http://www.public.asu.edu/~cmbarton
On Feb 10, 2014, at 2:56 PM, Vaclav Petras <wenzeslaus at gmail.com<mailto:wenzeslaus at gmail.com>> wrote:
On Mon, Feb 10, 2014 at 4:08 PM, Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>> wrote:
I did my normal make distclean followed by svn up. I can delete it all and have it add it all back in if you think that will help.
One thing is that it works fine on the machine I compile on, but bombs on a different machine.
I double checked and there is no `UninstallExtensionWindow` in source code now, except for documentation:
./gui/wxpython/wxpythonlib.dox
Your error is at line 68 in lmgr/frame.py, but there is no `import...UninstallExtensionWindow` now:
http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/lmgr/frame.py?rev=58946#L68
So, try svn diff, svn status, check your lmgr/frame.py file, check your packaging process... It seems that the older version of the file is packaged or perhaps imported from different GRASS on that other machine.
Hope this helps,
Vaclav
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
Tempe, AZ 85287-2402
USA
voice: 480-965-6262<tel:480-965-6262> (SHESC), 480-965-8130<tel:480-965-8130>/727-9746 (CSDC)
fax: 480-965-7671<tel:480-965-7671>(SHESC), 480-727-0709<tel:480-727-0709> (CSDC)
www: http://csdc.asu.edu<http://csdc.asu.edu/>, http://shesc.asu.edu<http://shesc.asu.edu/>
http://www.public.asu.edu/~cmbarton
On Feb 10, 2014, at 11:51 AM, Anna Petrášová <kratochanna at gmail.com<mailto:kratochanna at gmail.com>> wrote:
On Mon, Feb 10, 2014 at 1:24 PM, Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>> wrote:
Something else has come up.
I compiled GRASS 7 on one computer Friday. It DID bundle OK (but maybe better now?). But when I went to run it on a different computer with the same OS, Python, and wxPython, I hit the following error at startup.
Either of you know what this may be? I don't know if it is a bundling issue or something else.
There was a recent change in GUI related to extensions but it's working for me. Have you updated properly? There shouldn't be any UninstallExtensionWindow now, it's renamed to ManageExtensionWindow.
Anna
GRASS 7.0.svn (nc_spm_08):~ > Traceback (most recent call last):
File "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py", line 39, in <module>
from lmgr.frame import GMFrame
File "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py", line 68, in <module>
from modules.extensions import InstallExtensionWindow, UninstallExtensionWindow
ImportError: cannot import name UninstallExtensionWindow
GRASS 7.0.svn (nc_spm_08):~ >
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<tel:480-965-6262> (SHESC), 480-965-8130<tel:480-965-8130>/727-9746 (CSDC)
fax: 480-965-7671<tel:480-965-7671> (SHESC), 480-727-0709<tel:480-727-0709> (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu<http://csdc.asu.edu/>
On Feb 7, 2014, at 5:39 PM, William Kyngesburye <woklist at kyngchaos.com<mailto:woklist at kyngchaos.com>> wrote:
> Woops. I deleted too much when I killed the modbuild stuff a few weeks ago. Should be working now.
>
> On Feb 7, 2014, at 6:19 PM, Michael Barton wrote:
>
>> William,
>>
>> I just recompiled GRASS 7 and bundled it for distribution. It went fine.
>>
>> But when I went to do the same for GRASS 6.5 and 6.4 RB I ran into an odd error.
>>
>> Compilation went fine. No errors in either. But bundling bombed with the following error:
>>
>> …
>> cp -Rf /Library/Python/2.7/site-packages/pyparsing.py /Users/cmbarton/Dropbox/GRASS_dropbox/source/grass64_rb/macosx/dist/GRASS-6.4.app/Contents/MacOS/etc/python
>> sed -i '' -e 's/^GRASS_WXBUNDLED=.*/GRASS_WXBUNDLED=1/' /Users/cmbarton/Dropbox/GRASS_dropbox/source/grass64_rb/macosx/dist/GRASS-6.4.app/Contents/MacOS/grass.sh
>> sed: /Users/cmbarton/Dropbox/GRASS_dropbox/source/grass64_rb/macosx/dist/GRASS-6.4.app/Contents/MacOS/grass.sh: No such file or directory
>>
>> Is there no longer a grass.sh for GRASS 6.x? If not, what do we use to start it?
>>
>> The same line does not cause an error for GRASS 7.
>>
>> 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
>> Tempe, AZ 85287-2402
>> USA
>>
>> voice:
>> 480-965-6262<tel:480-965-6262> (SHESC), 480-965-8130<tel:480-965-8130>/727-9746 (CSDC)
>> fax: 480-965-7671<tel:480-965-7671>(SHESC), 480-727-0709<tel:480-727-0709> (CSDC)
>> www:
>> http://csdc.asu.edu<http://csdc.asu.edu/>, http://shesc.asu.edu<http://shesc.asu.edu/>
>> http://www.public.asu.edu/~cmbarton
>>
>
_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org<mailto: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/20140211/d20d8cbe/attachment-0001.html>
More information about the grass-dev
mailing list