Re: [GRASS-dev] GRASS working under Mac El Capitan with SIP/rootless?

2017-02-16 Thread Michael Barton
I don't remember where this was from originally. Many months back. I *think* it 
may have been when I was trying to use wxPython3. SIP was already off.

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















On Feb 16, 2017, at 8:54 PM, Vaclav Petras 
mailto:wenzesl...@gmail.com>> wrote:


On Wed, Sep 14, 2016 at 11:14 AM, Michael Barton 
mailto:michael.bar...@asu.edu>> wrote:
Oddly, the only things I've run into that don't work so far are 3D mode, vector 
digitizer, and raster digitizer. The only errors are the following in the 
terminal at startup:

Launching  GUI in the background, please wait...
GRASS 7.3.svn (nc_spm_08_grass7):~ > Unable to import pyGRASS: 
grass_gis.7.3.svn not found.
Some functionality will be not accessible

And the following in the console after startup:

3D view mode not available
Reason: grass_gis.7.3.svn not found.

Vector digitizer not available
Reason: cannot import name GV_LINES
Note that the wxGUI's vector digitizer is currently disabled
(hopefully this will be fixed soon). Please keep an eye out
for updated versions of GRASS. In the meantime you can use
"v.digit" from the Develop Vector menu.

The 3D mode error seems similar to the pyGRASS not importing error
I'm not sure where GV_LINES comes from.

Any ideas on this? If these turn out to be the only problems, we are close to 
finally getting this issue resolved.

This is likely caused by the fact that the dynamic libraries are not loaded 
because the DYLD_LIBRARY_PATH is ignored. If you disable SIP you will get past 
that.

Anyway I don't understand why the modules are working (e.g. GRASS and GUI 
starts) and ctypes are not (v digitizer, 3D, PyGRASS depend on ctypes loading 
the GRASS libs). It seems that that's the part needed to resolve this issue. 
(It is actually the same for Homebrew as well.)

PyGRASS should not be touched during startup and in GUI, so I don't know where 
"Unable to import pyGRASS" is coming from but that's a secondary issue not 
spotted elsewhere (it is also an old version).

Vaclav

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] GRASS working under Mac El Capitan with SIP/rootless?

2017-02-16 Thread Vaclav Petras
On Wed, Sep 14, 2016 at 11:14 AM, Michael Barton 
wrote:

> Oddly, the only things I've run into that don't work so far are 3D mode,
> vector digitizer, and raster digitizer. The only errors are the following
> in the terminal at startup:
>
> Launching  GUI in the background, please wait...
> GRASS 7.3.svn (nc_spm_08_grass7):~ > Unable to import pyGRASS:
> grass_gis.7.3.svn not found.
> Some functionality will be not accessible
>
> And the following in the console after startup:
>
> 3D view mode not available
>
> Reason: grass_gis.7.3.svn not found.
>
> Vector digitizer not available
>
> Reason: cannot import name GV_LINES
>
> Note that the wxGUI's vector digitizer is currently disabled
> (hopefully this will be fixed soon). Please keep an eye out
> for updated versions of GRASS. In the meantime you can use
> "v.digit" from the Develop Vector menu.
>
> The 3D mode error seems similar to the pyGRASS not importing error
> I'm not sure where GV_LINES comes from.
>
> Any ideas on this? If these turn out to be the only problems, we are close
> to finally getting this issue resolved.
>

This is likely caused by the fact that the dynamic libraries are not loaded
because the DYLD_LIBRARY_PATH is ignored. If you disable SIP you will get
past that.

Anyway I don't understand why the modules are working (e.g. GRASS and GUI
starts) and ctypes are not (v digitizer, 3D, PyGRASS depend on ctypes
loading the GRASS libs). It seems that that's the part needed to resolve
this issue. (It is actually the same for Homebrew as well.)

PyGRASS should not be touched during startup and in GUI, so I don't know
where "Unable to import pyGRASS" is coming from but that's a secondary
issue not spotted elsewhere (it is also an old version).

Vaclav
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] GRASS working under Mac El Capitan with SIP/rootless?

2016-09-14 Thread Michael Barton
I now have versions of GRASS 7.0.5, 7.2, and 7.3 that were compiled on a Mac 
running El Capitan that seem to work fine on the Mac, including the current El 
Capitan OS with SIP/rootless mode disabled.

They also seem to work fine on my laptop with El Capitan installed and 
SIP/rootless mode enabled. But it will be much better if others besides me test 
them.

You can download them at: 
https://www.dropbox.com/sh/4t0h1x8xwz9qnlh/AACFl4WQNtUPSAPtFE4Eg1Eua?dl=0

Oddly, the only things I've run into that don't work so far are 3D mode, vector 
digitizer, and raster digitizer. The only errors are the following in the 
terminal at startup:

Launching  GUI in the background, please wait...
GRASS 7.3.svn (nc_spm_08_grass7):~ > Unable to import pyGRASS: 
grass_gis.7.3.svn not found.
Some functionality will be not accessible

And the following in the console after startup:

3D view mode not available
Reason: grass_gis.7.3.svn not found.

Vector digitizer not available
Reason: cannot import name GV_LINES
Note that the wxGUI's vector digitizer is currently disabled
(hopefully this will be fixed soon). Please keep an eye out
for updated versions of GRASS. In the meantime you can use
"v.digit" from the Develop Vector menu.

The 3D mode error seems similar to the pyGRASS not importing error
I'm not sure where GV_LINES comes from.

Any ideas on this? If these turn out to be the only problems, we are close to 
finally getting this issue resolved.

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
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev