Re: [GRASS-dev] [GRASS-user] GRASS 8.2 for Mac - wxPython problem?

2022-06-07 Thread Nicklas Larsson via grass-dev
Stuart,

Starting GRASS from CLI (*not* double clicking the app icon)  may be done with 
executing '/Applications/GRASS-8.2.app/Contents/MacOS/Grass.sh’.  If that is 
what you mean with manually.

With a GRASS session running,  'echo $GRASS_PYTHON’ and 'which python3’ should 
both give the same result: 
'/Applications/GRASS-8.2.app/Contents/Resources/bin/python3’? If that isn’t the 
case, this could indicate the reason for failure.

Best,
Nicklas


> On 7 Jun 2022, at 17:24, Stuart Edwards  wrote:
> 
> On start up I get the following notification in the terminal - this is 
> followed by my attempt to open wxGUI manually:
> 
> Launching  GUI in the background, please wait...
> GRASS spearfish_grass70data_0_3/PERMANENT:~ > ERROR: wxGUI requires wxPython. 
> bad magic number in 'wx': b'\x03\xf3\r\n'
> You can still use GRASS GIS modules in the command line or in Python.
> 
> GRASS spearfish_grass70data_0_3/PERMANENT:~ > g.gui wxpython
> Launching  GUI in the background, please wait...
> ERROR: wxGUI requires wxPython. bad magic number in 'wx': b'\x03\xf3\r\n'
> You can still use GRASS GIS modules in the command line or in Python.
> GRASS spearfish_grass70data_0_3/PERMANENT:~ > 
> 
> Not sure if this is a packaging or dev issue.  If the latter please let me 
> know and I'll report it.
> 
> thx
> 
> Stu
>> On Jun 6, 2022, at 4:52 PM, Michael Barton > > wrote:
>> 
>> Thanks for the info. I thought I'd fixed that (I have to do it each time). 
>> Please try again. Hopefully fixed this time. 
>> 
>> Michael
>> _
>> C. Michael Barton
>> Associate Director, School of Complex Adaptive Systems (https://scas.asu.edu 
>> )
>> Professor, School of Human Evolution & Social Change (https://shesc.asu.edu 
>> )
>> Director, Center for Social Dynamics & Complexity 
>> (https://complexity.asu.edu )
>> Arizona State University
>> Tempe, AZ 85287-2701
>> USA
>> 
>> Executive Director, Open Modeling Foundation 
>> (https://openmodelingfoundation.github.io 
>> )
>> Director, Network for Computational Modeling in Social & Ecological Sciences 
>> (https://comses.net )
>> 
>> personal website: http://www.public.asu.edu/~cmbarton 
>>  
>> 
>> 
>>> On Jun 6, 2022, at 12:08 PM, Stuart Edwards >> > wrote:
>>> 
>>> Michael 
>>> 
>>> There seems to be a problem with the download link - Google says I don't 
>>> have access for that page.  The links for the earlier versions of GRASS 
>>> work fine. also for the configuration info of the new one.  
>>> 
>>> OSX 11.6.6
>>> 
>>> Stu
>>> 
 On Jun 6, 2022, at 2:37 PM, Michael Barton >>> > wrote:
 
 Mac binary apps for the new GRASS 8.2 are now up and available at 
 http://grassmac.wikidot.com/downloads 
 
   
 
 Michael
 _
 C. Michael Barton
 Associate Director, School of Complex Adaptive Systems 
 (https://scas.asu.edu )
 Professor, School of Human Evolution & Social Change 
 (https://shesc.asu.edu )
 Director, Center for Social Dynamics & Complexity 
 (https://complexity.asu.edu )
 Arizona State University
 Tempe, AZ 85287-2701
 USA
 
 Executive Director, Open Modeling Foundation 
 (https://openmodelingfoundation.github.io 
 )
 Director, Network for Computational Modeling in Social & Ecological 
 Sciences (https://comses.net 
 )
 
 personal website: http://www.public.asu.edu/~cmbarton 
  
 
 
 ___
 grass-user mailing list
 grass-u...@lists.osgeo.org 
 https://lists.osgeo.org/mailman/listinfo/grass-user 
 
>>> 
>> 
> 
> ___
> grass-user mailing list
> grass-u...@lists.osgeo.org 
> https://lists.osgeo.org/mailman/listinfo/grass-user 
> 

[GRASS-dev] GRASS GIS 8.2.0 Released

2022-06-07 Thread Vaclav Petras
I'm pleased to announce that GRASS GIS 8.2.0 was released!

The 8.2.0 release of GRASS GIS is now available with results from the GSoC
2021 and many other additions. A new grass.jupyter package is now included
for interacting with Jupyter notebooks. Single window graphical user
interface is available in GUI settings. r.series and three other modules
are newly parallelized. Additionally, the release includes a series of
scripting, packaging, and reproducibility improvements.

For all 220+ changes, see our detailed announcement with the full
contributors and list of features and bugs fixed at GitHub / Releases /
8.2.0 . Special thanks
to GSoC students, their mentors, and first-time contributors!

Packages and installers are now available for Windows, macOS, Debian,
Fedora, and Gentoo with more coming soon.

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


Re: [GRASS-dev] [GRASS-user] GRASS 8.2 for Mac - wxPython problem?

2022-06-07 Thread Michael Barton
Stuart

This is weird, especially because it is calling Spearfish. It opens fine on my 
Mac.

Have you used a GRASS 8 version previously?

Here is a guess to try.

1. Have you opened and been using Spearfish recently? If so, use an older 
version (preferably 8.0.2 but also 7.8 maybe) to select another location and 
quit cleanly. This sets the current location.

2. If you have not been using Spearfish, try moving it out of your GRASS 
database temporarily.

A guess is that this is a problem with the new GRASS 8 data catalog. I ran into 
an obscure problem when it was first started in that the data catalog would 
only partly open if there was a file in a GRASS mapset with the "@" character 
in its name. I had this for a couple of files because of an old way that 3D 
rasters used to be created 10+ years ago. You may have some other such obscure 
issue.

My guess is assuming that the error message is somewhat bogus. The 8.2 app does 
include wxPython and of the proper version. And it should not be looking for 
wxPython anyplace else on your system outside of the app.

Michael
_

C. Michael Barton
Associate Director, School of Complex Adaptive Systems 
(https://scas.asu.edu)
Professor, School of Human Evolution & Social Change (https://shesc.asu.edu)
Director, Center for Social Dynamics & Complexity (https://complexity.asu.edu)
Arizona State University
Tempe, AZ 85287-2701
USA

Executive Director, Open Modeling Foundation 
(https://openmodelingfoundation.github.io)
Director, Network for Computational Modeling in Social & Ecological Sciences 
(https://comses.net)

personal website: http://www.public.asu.edu/~cmbarton


On Jun 7, 2022, at 8:24 AM, Stuart Edwards 
mailto:sedwar...@cinci.rr.com>> wrote:

On start up I get the following notification in the terminal - this is followed 
by my attempt to open wxGUI manually:

Launching  GUI in the background, please wait...
GRASS spearfish_grass70data_0_3/PERMANENT:~ > ERROR: wxGUI requires wxPython. 
bad magic number in 'wx': b'\x03\xf3\r\n'
You can still use GRASS GIS modules in the command line or in Python.

GRASS spearfish_grass70data_0_3/PERMANENT:~ > g.gui wxpython
Launching  GUI in the background, please wait...
ERROR: wxGUI requires wxPython. bad magic number in 'wx': b'\x03\xf3\r\n'
You can still use GRASS GIS modules in the command line or in Python.
GRASS spearfish_grass70data_0_3/PERMANENT:~ >

Not sure if this is a packaging or dev issue.  If the latter please let me know 
and I'll report it.

thx

Stu
On Jun 6, 2022, at 4:52 PM, Michael Barton 
mailto:michael.bar...@asu.edu>> wrote:

Thanks for the info. I thought I'd fixed that (I have to do it each time). 
Please try again. Hopefully fixed this time.

Michael
_

C. Michael Barton
Associate Director, School of Complex Adaptive Systems 
(https://scas.asu.edu)
Professor, School of Human Evolution & Social Change 
(https://shesc.asu.edu)
Director, Center for Social Dynamics & Complexity 
(https://complexity.asu.edu)
Arizona State University
Tempe, AZ 85287-2701
USA

Executive Director, Open Modeling Foundation 
(https://openmodelingfoundation.github.io)
Director, Network for Computational Modeling in Social & Ecological Sciences 
(https://comses.net)

personal website: http://www.public.asu.edu/~cmbarton


On Jun 6, 2022, at 12:08 PM, Stuart Edwards 
mailto:sedwar...@cinci.rr.com>> wrote:

Michael

There seems to be a problem with the download link - Google says I don't have 
access for that page.  The links for the earlier versions of GRASS work 
fine. also for the configuration info of the new one.

OSX 11.6.6

Stu

On Jun 6, 2022, at 2:37 PM, Michael Barton 
mailto:michael.bar...@asu.edu>> wrote:

Mac binary apps for the new GRASS 8.2 are now up and available at 
http://grassmac.wikidot.com/downloads

Michael
_

C. Michael Barton
Associate Director, School of Complex Adaptive Systems 
(https://scas.asu.edu)
Professor, School of Human Evolution & Social Change 
(https://shesc.asu.edu)
Director, Center for Social Dynamics & Complexity 
(https://complexity.asu.edu)
Arizona State University
Tempe, AZ 85287-2701
USA

Executive Director, Open Modeling Foundation