Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-18 Thread Ken Mankoff
Hi,

I just downloaded the 7.2.2 version and ran it at the CLI from my terminal
with:

/Applications/GRASS-7.2.app/Contents/MacOS/Grass.sh --text

And it seems to work from some basics tests. Vector digitizing even seems
to work! At least the toolbar displays which it doesn't in the Fink build,
and isn't even an option in the MacPorts build.
There is also command completion!! If I type "d." I see a list of
options. Neat. Presumably this means we could script all the options to
each command too, using the 'completion' script.

The first bug I ran into was with g.gui commands:

> g.gui.mapswipe
This program needs access to the screen.
Please run with a Framework build of python, and only when you are
logged in on the main display of your Mac.

Also, I think there are options to build compressed DMGs, so you don't need
to distribute a .dmg.zip

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

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-18 Thread Michael Barton
Although it compiled, it seems that the startup script is missing. I need to 
look at this tomorrow and see what is happening. I have removed it from the 
GRASSMac web site.

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 Jan 18, 2018, at 5:19 PM, Michael Barton 
> wrote:

I was able to compile GRASS 7.4.0 RC2 and have just posted it to the GRASS Mac 
web site.

This is a clickable Mac *.app bundled with dependencies and Python. So it 
*should* work without conflicts. But it is not a full fledged version of Python 
that you can customize with new packages. For that, we will need to create 
versions that are Anaconda packages that can be installed with 'conda install 
grass'



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 Jan 17, 2018, at 3:14 PM, Michael Barton 
> wrote:

I've just posted a new GRASS 7.2.2 dmg to the GRASS for Mac web site 
(http://grassmac.wikidot.com). This one is 
compiled with gettext for internationalization. Please test.

I have not been able to get 7.4 to compile yet.

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 Jan 16, 2018, at 9:37 PM, Michael Barton 
> wrote:

Hi Helena,

I am very glad that it works for you so easily. A HUGE thanks is owed to Eric 
Hutton of the Community Surface Dynamics Modeling System (CSDMS), an NSF 
facility and scientific network for modeling in the earth sciences. It was 
Eric's idea to try this through Anaconda. He provided guidance and I worked 
though a lot of testing it as an Anaconda build last summer, but was unable to 
get it to a point where GRASS could reliably be compiled and then distributed. 
Over the last couple months, Eric has worked out how to solve those problems, 
including making a launchable app and packaging it all in a dmg. There is a bit 
of fine tuning left to do in the workflow, but it is essentially distributable 
now--making it the first time I've been able to create a stable and easily 
installable binary in a year and a half.

Parallel to this, Eric proposes (and has worked out the protocol) of also 
making GRASS available as an Anaconda package. He has created an Anaconda 
'recipe' to do this. After getting the app/dmg distributed, I will follow his 
lead to test how this works as an alternative for those who use Anaconda for 
Python.

This new build has a couple of characteristics quite different from previous 
Mac versions. Most importantly, all needed dependencies are bundled inside the 
app. This makes for a bigger app, but hopefully eliminates any conflicts among 
dependency versions. No more separately installed "frameworks". No more 
conflicts if you (or a program) install another version of Python or wxPython 
somewhere. And hopefully, no more issues with Apple's 'system integrity 
protection' (SIP).

This test version does not include gettext for internationalization or libLAS. 
I wanted to test it as we've been developing the workflow, without adding 
anything else until I can confirm that it works. However, I think it will be 
easy to include gettext because there already is an Anaconda version available. 
LiDAR support may be trickier. I have previously compiled libLAS. I think it 
may be possible to work out how to link and bundle it in this Anaconda version. 
That said, there seems to be work in the dev team for substituting PDAL as a 
LiDAR support library, and Anaconda already supports PDAL. So if we can 
substitute PDAL functionality for libLAS functionality, we can do it all within 
an Anaconda environment.

This is also a full 64 bit version of GRASS. No more need to compile it dual 
architecture 32/64 bit. This solves a 

Re: [GRASS-user] [GRASS-dev] Grass on MacOS

2018-01-18 Thread Michael Barton
Hi Stuart,

This sounds like a path problem, but I don't understand why it is happening to 
you and not to others. Does GRASS go ahead and start in terminal mode? If so, 
can you check what it thinks the path is?

In the terminal, type:

echo $PATH

I asked about the green terminal because, in working on this, I sometimes got a 
green terminal with some partly running versions, even though I have my 
terminal theme set to something else.

Can you check to see if it runs for you in a couple of other ways?

Ctrl-click on the app and select 'show package contents' from the menu.

In /Contents/MacOS, try double clicking on the file named GRASS

If that doesn't work, also in /Contents/MacOS, try dragging the file grass.sh 
into a terminal window and hitting return.

Thanks
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 Jan 18, 2018, at 11:08 AM, Stuart Edwards 
> wrote:

Michael

I just clicked on the icon that I had moved to the Applications directory.

I can see wxpython in Resources/gui and there is a 'core' directory and a 
'gui_core' directory - but I don't see a module named _core_ in the 'modules' 
directory.

Ironically, the green and yellow is a standard terminal theme option called 
'Grass'   (Terminal/Preferences/Profiles)

Stu

On Jan 18, 2018, at 11:55 AM, Michael Barton 
> wrote:

Stuart,

A couple of questions:

1. How did you try to launch GRASS?

2. Did you purposefully set your terminal to a green color or did this happen 
automatically? (I know it's weird but 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: 
http://www.public.asu.edu/~cmbarton,
 
http://csdc.asu.edu















On Jan 18, 2018, at 7:02 AM, Stuart Edwards 
> wrote:

Hi -

Just tried to open the new package on a MacBook Pro running 10.13.2 (High 
Sierra) and got this message:

Starting GRASS GIS...
ERROR: wxGUI requires wxPython. No module named _core_

Thanks for all your efforts on this 'project'...

Stu

On Jan 17, 2018, at 5:14 PM, Michael Barton 
> wrote:

I've just posted a new GRASS 7.2.2 dmg to the GRASS for Mac web site 
(http://grassmac.wikidot.com).
 This one is compiled with gettext for internationalization. Please test.

I have not been able to get 7.4 to compile yet.

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 Jan 16, 2018, at 9:37 PM, Michael Barton 
> wrote:

Hi Helena,

I am very 

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-18 Thread Michael Barton
I was able to compile GRASS 7.4.0 RC2 and have just posted it to the GRASS Mac 
web site.

This is a clickable Mac *.app bundled with dependencies and Python. So it 
*should* work without conflicts. But it is not a full fledged version of Python 
that you can customize with new packages. For that, we will need to create 
versions that are Anaconda packages that can be installed with 'conda install 
grass'



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 Jan 17, 2018, at 3:14 PM, Michael Barton 
> wrote:

I've just posted a new GRASS 7.2.2 dmg to the GRASS for Mac web site 
(http://grassmac.wikidot.com). This one is 
compiled with gettext for internationalization. Please test.

I have not been able to get 7.4 to compile yet.

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 Jan 16, 2018, at 9:37 PM, Michael Barton 
> wrote:

Hi Helena,

I am very glad that it works for you so easily. A HUGE thanks is owed to Eric 
Hutton of the Community Surface Dynamics Modeling System (CSDMS), an NSF 
facility and scientific network for modeling in the earth sciences. It was 
Eric's idea to try this through Anaconda. He provided guidance and I worked 
though a lot of testing it as an Anaconda build last summer, but was unable to 
get it to a point where GRASS could reliably be compiled and then distributed. 
Over the last couple months, Eric has worked out how to solve those problems, 
including making a launchable app and packaging it all in a dmg. There is a bit 
of fine tuning left to do in the workflow, but it is essentially distributable 
now--making it the first time I've been able to create a stable and easily 
installable binary in a year and a half.

Parallel to this, Eric proposes (and has worked out the protocol) of also 
making GRASS available as an Anaconda package. He has created an Anaconda 
'recipe' to do this. After getting the app/dmg distributed, I will follow his 
lead to test how this works as an alternative for those who use Anaconda for 
Python.

This new build has a couple of characteristics quite different from previous 
Mac versions. Most importantly, all needed dependencies are bundled inside the 
app. This makes for a bigger app, but hopefully eliminates any conflicts among 
dependency versions. No more separately installed "frameworks". No more 
conflicts if you (or a program) install another version of Python or wxPython 
somewhere. And hopefully, no more issues with Apple's 'system integrity 
protection' (SIP).

This test version does not include gettext for internationalization or libLAS. 
I wanted to test it as we've been developing the workflow, without adding 
anything else until I can confirm that it works. However, I think it will be 
easy to include gettext because there already is an Anaconda version available. 
LiDAR support may be trickier. I have previously compiled libLAS. I think it 
may be possible to work out how to link and bundle it in this Anaconda version. 
That said, there seems to be work in the dev team for substituting PDAL as a 
LiDAR support library, and Anaconda already supports PDAL. So if we can 
substitute PDAL functionality for libLAS functionality, we can do it all within 
an Anaconda environment.

This is also a full 64 bit version of GRASS. No more need to compile it dual 
architecture 32/64 bit. This solves a number of compiling and running issues, 
and means that the GUI now must run in wxPython 3 and above (still Python 2.7). 
There are several GUI bugs that show up in switching from wxPython 2.8 to 3+. 
I've created tickets on the 3 I know of. The most annoying 2 of these should be 
pretty easy to solve for the people who are actively managing the GUI (the menu 
button bar does not properly revert back to 2D buttons after displaying 3D, and 
a custom pull-down list control does not recognize mouse clicks). I don't know 
if the 3rd one is easy or difficult to solve (the interactive supervised 
classification module crashes GRASS).

Please feel free to distribute and get back in touch with me and Eric if you 
run into any issues.

Cheers

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-18 Thread Michael Barton
It would make life easier for people using GRASS. I'm not sure how that would 
be implemented, but if the QGIS folks do it, we should be able to do it too.

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 Jan 17, 2018, at 11:24 PM, Markus Neteler 
> wrote:


Am 18.01.2018 12:29 vorm. schrieb "Michael Barton" 
>:
Thanks Carlos,

Many recent versions seem to take a long time to initialize the first time 
opened. And of course this needs to be opened with a Ctrl-click because I have 
not paid Apple $100/year to be able to sign packages.

As far as I know the QGIS project pays this license fee (through OSGeo?).
Should we do that as well?

Markus



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

Re: [GRASS-user] [GRASS-dev] Grass on MacOS

2018-01-18 Thread Stuart Edwards
Michael

I just clicked on the icon that I had moved to the Applications directory. 

I can see wxpython in Resources/gui and there is a 'core' directory and a 
'gui_core' directory - but I don't see a module named _core_ in the 'modules' 
directory. 

Ironically, the green and yellow is a standard terminal theme option called 
'Grass'   (Terminal/Preferences/Profiles)

Stu 

> On Jan 18, 2018, at 11:55 AM, Michael Barton  wrote:
> 
> Stuart,
> 
> A couple of questions:
> 
> 1. How did you try to launch GRASS?
> 
> 2. Did you purposefully set your terminal to a green color or did this happen 
> automatically? (I know it's weird but 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: http://www.public.asu.edu/~cmbarton 
> , http://csdc.asu.edu 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>> On Jan 18, 2018, at 7:02 AM, Stuart Edwards > > wrote:
>> 
>> Hi -
>> 
>> Just tried to open the new package on a MacBook Pro running 10.13.2 (High 
>> Sierra) and got this message:
>> 
>> Starting GRASS GIS...
>> ERROR: wxGUI requires wxPython. No module named _core_
>> 
>> Thanks for all your efforts on this 'project'...
>> 
>> Stu
>> 
>>> On Jan 17, 2018, at 5:14 PM, Michael Barton >> > wrote:
>>> 
>>> I've just posted a new GRASS 7.2.2 dmg to the GRASS for Mac web site 
>>> (http://grassmac.wikidot.com 
>>> ).
>>>  This one is compiled with gettext for internationalization. Please test.
>>> 
>>> I have not been able to get 7.4 to compile yet.
>>> 
>>> 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 Jan 16, 2018, at 9:37 PM, Michael Barton > wrote:
 
 Hi Helena,
 
 I am very glad that it works for you so easily. A HUGE thanks is owed to 
 Eric Hutton of the Community Surface Dynamics Modeling System (CSDMS), an 
 NSF facility and scientific network for modeling in the earth sciences. It 
 was Eric's idea to try this through Anaconda. He provided guidance and I 
 worked though a lot of testing it as an Anaconda build last summer, but 
 was unable to get it to a point where GRASS could reliably be compiled and 
 then distributed. Over the last couple months, Eric has worked out how to 
 solve those problems, including making a launchable app and packaging it 
 all in a dmg. There is a bit of fine tuning left to do in the workflow, 
 but it is essentially distributable now--making it the first time I've 
 been able to create a stable and easily installable binary in a year and a 
 half. 
 
 Parallel to this, Eric proposes (and has worked out the protocol) of also 
 making GRASS available as an Anaconda package. He has created an Anaconda 
 'recipe' to do this. After getting the app/dmg distributed, I will follow 
 his lead to test how this works as an alternative for those who use 
 Anaconda for Python. 
 
 This new build has a couple of characteristics quite different from 
 previous Mac versions. Most importantly, all needed dependencies are 
 bundled inside the app. This makes for a bigger app, but hopefully 
 eliminates any conflicts among dependency versions. No more separately 
 installed 

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-18 Thread Michael Barton
I get this kind of thing regularly when GRASS tries to compile from 
g.extension. Sometimes it is because of a problem with the add-on file. Do ALL 
addons fail or just this one? Have you tried it from g.extension instead of the 
GUI wrapper? It might help sort out the error.

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 Jan 18, 2018, at 8:48 AM, Carlos Grohmann 
> wrote:

Great!

Continuing with the tests, one of my students got this when trying to install 
r.stream.distance:


Fetching  from GRASS GIS Addons repository (be patient)...
Compiling...
/bin/sh:
/Applications/GRASS-7.2.app/Contents/Resources/bin/clang: No
such file or directory
make: *** [OBJ.x86_64-apple-darwin17.3.0/distance_calc.o]
Error 127
ERROR: Compilation failed, sorry. Please check above error messages.

Carlos

On Thu, Jan 18, 2018 at 4:03 AM, Michael Barton 
> wrote:
Just tried it on my laptop. There is history in the minimalist python shell. 
You just have to hold down the cmd key while pressing the up or down arrow key.

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 Jan 17, 2018, at 4:13 PM, Carlos Grohmann 
> wrote:

I noticed that there is no command line history in python.





--
Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil
- Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/-0001-5073-5572

Can’t stop the signal.

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

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-18 Thread Michael Barton
Stuart,

A couple of questions:

1. How did you try to launch GRASS?

2. Did you purposefully set your terminal to a green color or did this happen 
automatically? (I know it's weird but 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: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu















On Jan 18, 2018, at 7:02 AM, Stuart Edwards 
> wrote:

Hi -

Just tried to open the new package on a MacBook Pro running 10.13.2 (High 
Sierra) and got this message:

Starting GRASS GIS...
ERROR: wxGUI requires wxPython. No module named _core_

Thanks for all your efforts on this 'project'...

Stu

On Jan 17, 2018, at 5:14 PM, Michael Barton 
> wrote:

I've just posted a new GRASS 7.2.2 dmg to the GRASS for Mac web site 
(http://grassmac.wikidot.com).
 This one is compiled with gettext for internationalization. Please test.

I have not been able to get 7.4 to compile yet.

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 Jan 16, 2018, at 9:37 PM, Michael Barton 
> wrote:

Hi Helena,

I am very glad that it works for you so easily. A HUGE thanks is owed to Eric 
Hutton of the Community Surface Dynamics Modeling System (CSDMS), an NSF 
facility and scientific network for modeling in the earth sciences. It was 
Eric's idea to try this through Anaconda. He provided guidance and I worked 
though a lot of testing it as an Anaconda build last summer, but was unable to 
get it to a point where GRASS could reliably be compiled and then distributed. 
Over the last couple months, Eric has worked out how to solve those problems, 
including making a launchable app and packaging it all in a dmg. There is a bit 
of fine tuning left to do in the workflow, but it is essentially distributable 
now--making it the first time I've been able to create a stable and easily 
installable binary in a year and a half.

Parallel to this, Eric proposes (and has worked out the protocol) of also 
making GRASS available as an Anaconda package. He has created an Anaconda 
'recipe' to do this. After getting the app/dmg distributed, I will follow his 
lead to test how this works as an alternative for those who use Anaconda for 
Python.

This new build has a couple of characteristics quite different from previous 
Mac versions. Most importantly, all needed dependencies are bundled inside the 
app. This makes for a bigger app, but hopefully eliminates any conflicts among 
dependency versions. No more separately installed "frameworks". No more 
conflicts if you (or a program) install another version of Python or wxPython 
somewhere. And hopefully, no more issues with Apple's 'system integrity 
protection' (SIP).

This test version does not include gettext for internationalization or libLAS. 
I wanted to test it as we've been developing the workflow, without adding 
anything else until I can confirm that it works. However, I think it will be 
easy to include gettext because there already is an Anaconda version available. 
LiDAR support may be trickier. I have previously compiled libLAS. I think it 
may be possible to work out how to link and bundle it in this Anaconda version. 
That said, there seems to be work in the dev team for substituting PDAL as a 
LiDAR support library, and Anaconda already supports PDAL. So if we can 
substitute PDAL functionality for libLAS functionality, we can do it all within 
an Anaconda 

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-18 Thread Carlos Grohmann
Great!

Continuing with the tests, one of my students got this when trying to
install r.stream.distance:


Fetching  from GRASS GIS Addons repository (be
patient)...
Compiling...
/bin/sh:
/Applications/GRASS-7.2.app/Contents/Resources/bin/clang: No
such file or directory
make: *** [OBJ.x86_64-apple-darwin17.3.0/distance_calc.o]
Error 127
ERROR: Compilation failed, sorry. Please check above error messages.

Carlos

On Thu, Jan 18, 2018 at 4:03 AM, Michael Barton 
wrote:

> Just tried it on my laptop. There is history in the minimalist python
> shell. You just have to hold down the cmd key while pressing the up or down
> arrow key.
>
> 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 <(480)%20965-6262> (SHESC), 480-965-8130
> <(480)%20965-8130>/727-9746 (CSDC)
> fax: 480-965-7671 <(480)%20965-7671> (SHESC),  480-727-0709
> <(480)%20727-0709> (CSDC)
> www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
>
>
>
>
> On Jan 17, 2018, at 4:13 PM, Carlos Grohmann 
> wrote:
>
> I noticed that there is no command line history in python.
>
>
>


-- 
Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil
- Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/-0001-5073-5572

Can’t stop the signal.
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-18 Thread Stuart Edwards
Hi -

Just tried to open the new package on a MacBook Pro running 10.13.2 (High 
Sierra) and got this message:

Starting GRASS GIS...
ERROR: wxGUI requires wxPython. No module named _core_

Thanks for all your efforts on this 'project'...

Stu

> On Jan 17, 2018, at 5:14 PM, Michael Barton  wrote:
> 
> I've just posted a new GRASS 7.2.2 dmg to the GRASS for Mac web site 
> (http://grassmac.wikidot.com ). This one is 
> compiled with gettext for internationalization. Please test.
> 
> I have not been able to get 7.4 to compile yet.
> 
> 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 Jan 16, 2018, at 9:37 PM, Michael Barton > > wrote:
>> 
>> Hi Helena,
>> 
>> I am very glad that it works for you so easily. A HUGE thanks is owed to 
>> Eric Hutton of the Community Surface Dynamics Modeling System (CSDMS), an 
>> NSF facility and scientific network for modeling in the earth sciences. It 
>> was Eric's idea to try this through Anaconda. He provided guidance and I 
>> worked though a lot of testing it as an Anaconda build last summer, but was 
>> unable to get it to a point where GRASS could reliably be compiled and then 
>> distributed. Over the last couple months, Eric has worked out how to solve 
>> those problems, including making a launchable app and packaging it all in a 
>> dmg. There is a bit of fine tuning left to do in the workflow, but it is 
>> essentially distributable now--making it the first time I've been able to 
>> create a stable and easily installable binary in a year and a half. 
>> 
>> Parallel to this, Eric proposes (and has worked out the protocol) of also 
>> making GRASS available as an Anaconda package. He has created an Anaconda 
>> 'recipe' to do this. After getting the app/dmg distributed, I will follow 
>> his lead to test how this works as an alternative for those who use Anaconda 
>> for Python. 
>> 
>> This new build has a couple of characteristics quite different from previous 
>> Mac versions. Most importantly, all needed dependencies are bundled inside 
>> the app. This makes for a bigger app, but hopefully eliminates any conflicts 
>> among dependency versions. No more separately installed "frameworks". No 
>> more conflicts if you (or a program) install another version of Python or 
>> wxPython somewhere. And hopefully, no more issues with Apple's 'system 
>> integrity protection' (SIP). 
>> 
>> This test version does not include gettext for internationalization or 
>> libLAS. I wanted to test it as we've been developing the workflow, without 
>> adding anything else until I can confirm that it works. However, I think it 
>> will be easy to include gettext because there already is an Anaconda version 
>> available. LiDAR support may be trickier. I have previously compiled libLAS. 
>> I think it may be possible to work out how to link and bundle it in this 
>> Anaconda version. That said, there seems to be work in the dev team for 
>> substituting PDAL as a LiDAR support library, and Anaconda already supports 
>> PDAL. So if we can substitute PDAL functionality for libLAS functionality, 
>> we can do it all within an Anaconda environment. 
>> 
>> This is also a full 64 bit version of GRASS. No more need to compile it dual 
>> architecture 32/64 bit. This solves a number of compiling and running 
>> issues, and means that the GUI now must run in wxPython 3 and above (still 
>> Python 2.7). There are several GUI bugs that show up in switching from 
>> wxPython 2.8 to 3+. I've created tickets on the 3 I know of. The most 
>> annoying 2 of these should be pretty easy to solve for the people who are 
>> actively managing the GUI (the menu button bar does not properly revert back 
>> to 2D buttons after displaying 3D, and a custom pull-down list control does 
>> not recognize mouse clicks). I don't know if the 3rd one is easy or 
>> difficult to solve (the interactive supervised classification module crashes 
>> GRASS). 
>> 
>> Please feel free to distribute and get back in touch with me and Eric if you 
>> run into any issues. 
>> 
>> 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: 

Re: [GRASS-user] [GRASS-dev] Grass on MacOS (Ken Mankoff)

2018-01-18 Thread Helmut Kudrnovsky

>As far as I know the QGIS project pays this license fee (through OSGeo?).

AFAIK it's payed by OSGeo.



-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user