I was traveling last week, so just got to this.

No luck.  And, it doesn’t look like a SIP issue.  Instead, the path is now hard 
coded to something on your machine.  Here is the error I get when it try to 
open the application:

$ '/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...
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 96, in <module>
    import wx
  File "/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/__init__.py", 
line 45, in <module>
    from wx._core import *
  File "/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_core.py", 
line 4, in <module>
    import _core_
ImportError: 
dlopen(/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_core_.so, 2): 
Library not loaded: 
/Users/cmbarton/grass_source/wxp3/usr/local/lib/libwx_osx_cocoau-3.0.0.2.0.dylib
  Referenced from: 
/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_core_.so
  Reason: image not found
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]







-- Adam









On 6/9/16, 8:37 PM, "Michael Barton" <[email protected]> wrote:

>I've replaced the build from earlier today with one that is sort of wxPython 
>3.0.3.0
>
>
>
>There was no straightforward way to build this. The only thing on github is 
>the wxpython part. For a full source package it needs to be combined with 
>wxWidgets and both compiled together. The 3.0.2.0 source package has the 
>wxpython folder inside the wxwidgets source folder. Seems easy enough. So I 
>downloaded the latest wxpython and the latest wxwidgets, dropped the wxpython 
>folder inside the wxwidgets folder and compiled. After solving some compiling 
>issues, it all built.
>
>
>
>Then I tried to build GRASS against the result. No problem with the build. But 
>when I went to run it, it had a version mismatch error between wxpython and 
>wxwidgets that disabled 3D. 
>
>
>
>So I tried again by replacing the wxpython directory in the 3.0.2.0 source 
>with the new wxpython folder from github. Again, this compiled without 
>problems, and GRASS compiled against it without errors. 
>
>
>
>When I run GRASS, it again complains of a version mismatch but it doesn't seem 
>to have any effects. So I've posted this one on the website for now. It does 
>fix the plot.py bug but I can't see any other difference. Maybe you can. 
>
>
>
>I'll be very interested to hear if this runs under SIP. 
>
>
>
>Cheers
>
>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: 
>https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=CwIGaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=ZHG1SBIrTbYkWcpw0RMifv4qtTknor0PcekUo29_faA&s=t-evT5rQyQQdd5Yl-DU1zeDo8ybQZ4me2JzEEZ1ddA4&e=
> , 
>https://urldefense.proofpoint.com/v2/url?u=http-3A__csdc.asu.edu&d=CwIGaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=ZHG1SBIrTbYkWcpw0RMifv4qtTknor0PcekUo29_faA&s=xdYPqcLWa0qS3KHYIxFxDSyf5TRG7ewwV8xNHfIrBfI&e=
> 
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>> On Jun 9, 2016, at 1:56 PM, Michael Barton <[email protected]> wrote:
>
>> 
>
>> That's great news. Now to see if it also works under SIP.
>
>> 
>
>> I wanted to test this to see if it even worked before I tried wxPython 3.0.3 
>> and Glynn's hack for gettext. If it works under El Capitan SIP, then on to 
>> the next steps.
>
>> 
>
>> 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: 
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=CwIGaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=ZHG1SBIrTbYkWcpw0RMifv4qtTknor0PcekUo29_faA&s=t-evT5rQyQQdd5Yl-DU1zeDo8ybQZ4me2JzEEZ1ddA4&e=
>>  , 
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__csdc.asu.edu&d=CwIGaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=ZHG1SBIrTbYkWcpw0RMifv4qtTknor0PcekUo29_faA&s=xdYPqcLWa0qS3KHYIxFxDSyf5TRG7ewwV8xNHfIrBfI&e=
>>  
>
>> 
>
>> 
>
>> 
>
>> 
>
>> 
>
>> 
>
>> 
>
>> 
>
>> 
>
>> 
>
>> 
>
>> 
>
>> 
>
>> 
>
>> 
>
>>> On Jun 9, 2016, at 1:50 PM, Anna Petrášová <[email protected]> wrote:
>
>>> 
>
>>> On Thu, Jun 9, 2016 at 4:30 PM, Michael Barton <[email protected]> 
>>> wrote:
>
>>>> yet another GRASS 7.3 64 bit.
>
>>>> 
>
>>>> In this version (just uploaded a few minutes ago to the website), I've 
>>>> built
>
>>>> wxPython from source and installed it in a non-system folder. I built GRASS
>
>>>> against this local build of wxPython. There should be no problems for SIP 
>>>> if
>
>>>> it is only the bundled dependencies. And this should not require any
>
>>>> additional packages like Anaconda.
>
>>> 
>
>>> I tested it on old Yosemite (before SIP came) and works great, but I
>
>>> was wondering, since you decided to compile wxpython, could you use
>
>>> wxpython 3.0.3? It's not released, but a lot of bugs are supposed to
>
>>> be solved there.
>
>>> 
>
>>> Thanks
>
>>> 
>
>>> Anna
>
>>>> 
>
>>>> Let me 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
>
>>>> 
>
>>>> voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
>
>>>> fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
>
>>>> www: 
>>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=CwIGaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=ZHG1SBIrTbYkWcpw0RMifv4qtTknor0PcekUo29_faA&s=t-evT5rQyQQdd5Yl-DU1zeDo8ybQZ4me2JzEEZ1ddA4&e=
>>>>  , 
>>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__csdc.asu.edu&d=CwIGaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=ZHG1SBIrTbYkWcpw0RMifv4qtTknor0PcekUo29_faA&s=xdYPqcLWa0qS3KHYIxFxDSyf5TRG7ewwV8xNHfIrBfI&e=
>>>>  
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> On Jun 6, 2016, at 12:37 PM, Michael Barton <[email protected]> wrote:
>
>>>> 
>
>>>> OK. This means the /usr/local/... path is hardwired into the wxPython Mac
>
>>>> binary itself. Not sure if this changes how we need to deal with this.
>
>>>> 
>
>>>> 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: 
>>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=CwIGaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=ZHG1SBIrTbYkWcpw0RMifv4qtTknor0PcekUo29_faA&s=t-evT5rQyQQdd5Yl-DU1zeDo8ybQZ4me2JzEEZ1ddA4&e=
>>>>  , 
>>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__csdc.asu.edu&d=CwIGaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=ZHG1SBIrTbYkWcpw0RMifv4qtTknor0PcekUo29_faA&s=xdYPqcLWa0qS3KHYIxFxDSyf5TRG7ewwV8xNHfIrBfI&e=
>>>>  
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> On Jun 6, 2016, at 12:15 PM, Adam Dershowitz <[email protected]>
>
>>>> wrote:
>
>>>> 
>
>>>> I just downloaded it, and tried it.  No luck.  It still doesn’t find the
>
>>>> libraries that it needs:
>
>>>> 
>
>>>> '/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...
>
>>>> 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 96, in <module>
>
>>>>   import wx
>
>>>> File
>
>>>> "/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/__init__.py", 
>>>> line
>
>>>> 45, in <module>
>
>>>>   from wx._core import *
>
>>>> File "/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_core.py",
>
>>>> line 4, in <module>
>
>>>>   import _core_
>
>>>> ImportError:
>
>>>> dlopen(/Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_core_.so,
>
>>>> 2): Library not loaded:
>
>>>> /usr/local/lib/wxPython-3.0.2.0/lib/libwx_osx_cocoau-3.0.0.2.0.dylib
>
>>>> Referenced from:
>
>>>> /Applications/GRASS-7.3.app/Contents/MacOS/etc/python/wx/_core_.so
>
>>>> Reason: image not found
>
>>>> 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.
>
>>>> Deleting expired sessions...none found.
>
>>>> 
>
>>>> [Process completed]
>
>>>> 
>
>>>> 
>
>>>> -- Adam
>
>>>> 
>
>>>> 
>
>>>> From: Michael Barton <[email protected]>
>
>>>> Date: Monday, June 6, 2016 at 2:50 PM
>
>>>> To: Adam Dershowitz <[email protected]>
>
>>>> Cc: GRASS developers <[email protected]>, GRASS users
>
>>>> <[email protected]>, Helena Mitasova <[email protected]>, 
>>>> Anna
>
>>>> Petrášová <[email protected]>
>
>>>> Subject: Re: [GRASS-user] GRASS for Mac 64bit, wxPython 3, maybe fix for 
>>>> SIP
>
>>>> problem - please test
>
>>>> 
>
>>>> Adam and others,
>
>>>> 
>
>>>> Yet another GRASS 64 bit. I just uploaded to the GRASS for Mac site.
>
>>>> 
>
>>>> I tried something else. I am hoping that this works with SIP enabled in El
>
>>>> Capitan and does not add Anaconda as a required dependency.
>
>>>> 
>
>>>> If you have a chance, give it a try.
>
>>>> 
>
>>>> 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: 
>>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=CwIGaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=ZHG1SBIrTbYkWcpw0RMifv4qtTknor0PcekUo29_faA&s=t-evT5rQyQQdd5Yl-DU1zeDo8ybQZ4me2JzEEZ1ddA4&e=
>>>>  , 
>>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__csdc.asu.edu&d=CwIGaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=ZHG1SBIrTbYkWcpw0RMifv4qtTknor0PcekUo29_faA&s=xdYPqcLWa0qS3KHYIxFxDSyf5TRG7ewwV8xNHfIrBfI&e=
>>>>  
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>>>> 
>
>> 
>
>
>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to