[GRASS-user] GRASS for Mac 64bit, wxPython 3, maybe fix for SIP problem - please test

Thomas Adams tea3rd at gmail.com
Thu Jun 2 11:41:13 PDT 2016


Hi Michael,

I just tried installing your new version of GRASS 7.3 and I get this:

'/Applications/GRASS-7.3.app/Contents/MacOS/grass.sh'; exit

Last login: Thu Jun  2 13:30:20 on ttys000

Thomass-MacBook-Pro:~ teaiii$
'/Applications/GRASS-7.3.app/Contents/MacOS/grass.sh'; exit

Rebuilding Addon HTML manual pages index...

Rebuilding Addon menu...

Python 2.7.10 found.

Cleaning up temporary files...

Starting GRASS GIS...

dyld: Library not loaded: /usr/local/lib/libintl.8.dylib

  Referenced from:
/Applications/GRASS-7.3.app/Contents/MacOS/lib/libgrass_gis.7.3.svn.dylib

  Reason: image not found

Traceback (most recent call last):

  File
"/Applications/GRASS-7.3.app/Contents/MacOS/gui/wxpython/gis_set.py", line
31, in <module>

    from core import globalvar

  File
"/Applications/GRASS-7.3.app/Contents/MacOS/gui/wxpython/core/globalvar.py",
line 29, in <module>

    from core.debug import Debug

  File
"/Applications/GRASS-7.3.app/Contents/MacOS/gui/wxpython/core/debug.py",
line 77, in <module>

    Debug = DebugMsg()

  File
"/Applications/GRASS-7.3.app/Contents/MacOS/gui/wxpython/core/debug.py",
line 39, in __init__

    self.SetLevel()

  File
"/Applications/GRASS-7.3.app/Contents/MacOS/gui/wxpython/core/debug.py",
line 45, in SetLevel

    self.debuglevel = int(grass.gisenv().get('WX_DEBUG', 0))

  File
"/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/grass/script/core.py",
line 953, in gisenv

    s = read_command("g.gisenv", flags='n')

  File
"/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/grass/script/core.py",
line 458, in read_command

    process = pipe_command(*args, **kwargs)

  File
"/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/grass/script/core.py",
line 433, in pipe_command

    return start_command(*args, **kwargs)

  File
"/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/grass/script/core.py",
line 372, in start_command

    if debug_level() > 0:

  File
"/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/grass/script/core.py",
line 1536, in debug_level

    _debug_level = int(gisenv().get('DEBUG', 0))

  File
"/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/grass/script/core.py",
line 953, in gisenv

    s = read_command("g.gisenv", flags='n')

  File
"/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/grass/script/core.py",
line 461, in read_command

    return handle_errors(returncode, stdout, args, kwargs)

  File
"/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/grass/script/core.py",
line 329, in handle_errors

    returncode=returncode)

grass.exceptions.CalledModuleError: Module run None ['g.gisenv', '-n']
ended with error

Process ended with non-zero return code -5. See errors in the (error)
output.

ERROR: Error in GUI startup. See messages above (if any) and if necessary,
please report this error to the GRASS developers.

On systems with package manager, make sure you have the right GUI package,
probably named grass-gui, installed.

To run GRASS GIS in text mode use the -text flag.

Exiting...

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.


[Process completed]



Do I need to separately install wxPython 3.0.2.0?

Best,
Tom

On Wed, Jun 1, 2016 at 6:50 PM, Michael Barton <Michael.Barton at asu.edu>
wrote:

> I just posted a new binary for GRASS 7.3 built fully 64 bit, with wxPython
> 3.0.2.0 to the GRASS for Mac site (http://grassmac.wikidot.com)
>
> It turns out the previous "64bit" GRASS binary still ran 32bit Python. I
> had to hack the python_wrapper.py file, but this one is fully 64bit AFAICT.
> I also tried some hacks that might be a way to solve the inability to run
> GRASS on El Capitan with SIP enabled. There are a couple of known bugs in
> the wxPython 3.x GUI
>
> 1. The most serious is switching to 3D mode and back to 2D mode leaves one
> of the map display menu buttons corrupted. It seems the only thing you can
> do is to close the map display and open a new one.
>
> 2. There are also some popup lists (e.g., for switching mapsets) that do
> not behave as they should. You cannot select an item with a mouse (but you
> can select with arrow keys and <return>) unless you hit <escape> to destroy
> part of the control. Then you can use the mouse to click something.
>
> Please let us know if you encounter any other bug or strange behavior.
>
> Also,  and importantly if anyone is running El Capitan, it would be great
> if you could reenable SIP (if you've turned it off) and see if this version
> runs.  Of course, maybe I've "fixed" it so that it only runs on my system
> and crashes on everyone else's.
>
> Enjoy!
> 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-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>



-- 
Thomas E Adams, III
2330 Jack Warner PKWY, #334
Tuscaloosa, AL 35401

1 (513) 739-9512 (cell)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160602/e756c376/attachment.html>


More information about the grass-user mailing list