I moved all the directories in ~/Library/GRASS/8.2/Addons into /Modules and it fired up right away...... with no error messages at all.
Hope this doesn't break something else - Stu ___________________________________________________________________ Yes, no problem. > On Jun 8, 2022, at 12:18 PM, Michael Barton <[email protected] > <mailto:[email protected]>> wrote: > > > Do 7.8 and 8.0.2 open ok? > > Michael Barton > School of Human Evolution &Social Change > School of Complex Adaptive System Science > Center for Social Dynamics & Complexity > Arizona State University > > ...Sent from my iPad > >> On Jun 8, 2022, at 8:25 AM, Stuart Edwards <[email protected] >> <mailto:[email protected]>> wrote: >> >> >> Yes, very strange. I am able to open it with no problem in a 'clean' >> partition that I keep for testing. But there is an odd prequel to the >> actual opening: >> >> <Screen Shot 2022-06-08 at 9.19.03 AM.png> >> >> where some library files seem to be missing. The Library file structure for >> 8.2 is different from previous versions in that there is the addition of >> 'Addons' that contains most of the directories previously contained in >> 'Modules'. This appears to be why the startup shell can't find the 'docs' >> directory. >> >> <Screen Shot 2022-06-08 at 9.22.54 AM.png> >> >> The above is from my test partition and that's why there's no 8.0. This >> probably does not affect my problem although there is one reference to the >> gui_user_menu.sh that might be relevant. >> >> I replaced my grassdata directory with a new empty one and get the same 'bad >> magic number in 'wx' : b'\x03\xf3\r\n' ' error. >> >> Remarkably this is not a unique problem: >> >> https://discuss.wxpython.org/t/importerror-bad-magic-number-in-wx-b-x03-xf3-r-n/34191/14 >> >> <https://urldefense.com/v3/__https://discuss.wxpython.org/t/importerror-bad-magic-number-in-wx-b-x03-xf3-r-n/34191/14__;!!IKRxdwAv5BmarQ!ap-1byJ8Fj1uktGcT4HQfHfzzBsPnTDQwyC6ZKrLo0FP2aBS_6wit5G362d4QKEfy4nAcnOnZAYqDk0-THA1YbA$> >> >> In this case the eventual cause was the use of an illegal file name (wx.py) >> >> This one actually makes more sense: >> >> https://stackoverflow.com/questions/52477683/importerror-bad-magic-number-in-time-b-x03-xf3-r-n-in-django >> >> <https://urldefense.com/v3/__https://stackoverflow.com/questions/52477683/importerror-bad-magic-number-in-time-b-x03-xf3-r-n-in-django__;!!IKRxdwAv5BmarQ!ap-1byJ8Fj1uktGcT4HQfHfzzBsPnTDQwyC6ZKrLo0FP2aBS_6wit5G362d4QKEfy4nAcnOnZAYqDk0-w0OZE84$> >> >> Since the magic number is the same, it seems that I may have some relic >> Python 2.7 pyc files floating around. I've deleted all of them now (I >> think) but the problem remains. So back to the drawing board...... >> >> @Nicklas - thanks for the suggestion - both calls give the same correct >> python3 result. >> >> Stu >> >> >> >> >> >> On Jun 7, 2022, at 12:54 PM, Michael Barton <[email protected] >> <mailto:[email protected]>> wrote: >>> >>> >>> 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 <https://scas.asu.edu/>) >>> Professor, School of Human Evolution & Social Change (https://shesc.asu.edu >>> <https://shesc.asu.edu/>) >>> Director, Center for Social Dynamics & Complexity >>> (https://complexity.asu.edu <https://complexity.asu.edu/>) >>> Arizona State University >>> Tempe, AZ 85287-2701 >>> USA >>> >>> Executive Director, Open Modeling Foundation >>> (https://openmodelingfoundation.github.io >>> <https://urldefense.com/v3/__https://openmodelingfoundation.github.io/__;!!IKRxdwAv5BmarQ!ap-1byJ8Fj1uktGcT4HQfHfzzBsPnTDQwyC6ZKrLo0FP2aBS_6wit5G362d4QKEfy4nAcnOnZAYqDk0-pbnCTcI$>) >>> Director, Network for Computational Modeling in Social & Ecological >>> Sciences (https://comses.net >>> <https://urldefense.com/v3/__https://comses.net/__;!!IKRxdwAv5BmarQ!ap-1byJ8Fj1uktGcT4HQfHfzzBsPnTDQwyC6ZKrLo0FP2aBS_6wit5G362d4QKEfy4nAcnOnZAYqDk0-WllC2B0$>) >>> >>> personal website: http://www.public.asu.edu/~cmbarton >>> <http://www.public.asu.edu/~cmbarton> >>> >>> >>>> On Jun 7, 2022, at 8:24 AM, Stuart Edwards <[email protected] >>>> <mailto:[email protected]>> wrote: >>>> >>>> On start up I get the following notification in the terminal - this is >>>> followed by my attempt to open wxGUI manually: >>>> >>>> Launching <wxpython> 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 <wxpython> 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 <[email protected] >>>>> <mailto:[email protected]>> 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 <https://scas.asu.edu/>) >>>>> Professor, School of Human Evolution & Social Change >>>>> (https://shesc.asu.edu <https://shesc.asu.edu/>) >>>>> Director, Center for Social Dynamics & Complexity >>>>> (https://complexity.asu.edu <https://complexity.asu.edu/>) >>>>> Arizona State University >>>>> Tempe, AZ 85287-2701 >>>>> USA >>>>> >>>>> Executive Director, Open Modeling Foundation >>>>> (https://openmodelingfoundation.github.io >>>>> <https://urldefense.com/v3/__https://openmodelingfoundation.github.io/__;!!IKRxdwAv5BmarQ!aS3o8eV4WCpmmKUkjEYC8mCY70J6L6lRorZRAkiYvwZvVOxN3fT83FyWV58gXg9I8ytXlRFTtb4LsPXKGUOP5m0$>) >>>>> Director, Network for Computational Modeling in Social & Ecological >>>>> Sciences (https://comses.net >>>>> <https://urldefense.com/v3/__https://comses.net/__;!!IKRxdwAv5BmarQ!aS3o8eV4WCpmmKUkjEYC8mCY70J6L6lRorZRAkiYvwZvVOxN3fT83FyWV58gXg9I8ytXlRFTtb4LsPXKjh8OfIc$>) >>>>> >>>>> personal website: http://www.public.asu.edu/~cmbarton >>>>> <http://www.public.asu.edu/~cmbarton> >>>>> >>>>> >>>>>> On Jun 6, 2022, at 12:08 PM, Stuart Edwards <[email protected] >>>>>> <mailto:[email protected]>> 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 <[email protected] >>>>>>> <mailto:[email protected]>> wrote: >>>>>>> >>>>>>> Mac binary apps for the new GRASS 8.2 are now up and available at >>>>>>> http://grassmac.wikidot.com/downloads >>>>>>> <https://urldefense.com/v3/__http://grassmac.wikidot.com/downloads__;!!IKRxdwAv5BmarQ!fDruU6UXzw_n70EI0Xjqduv0dybpvNr8PEXY9j0kezyWnmZgBykXhEkpRk9DaYsQYVTK_iO5PchEq14u6lXcf5I$> >>>>>>> >>>>>>> >>>>>>> Michael >>>>>>> _____________________________ >>>>>>> C. Michael Barton >>>>>>> Associate Director, School of Complex Adaptive Systems >>>>>>> (https://scas.asu.edu <https://scas.asu.edu/>) >>>>>>> Professor, School of Human Evolution & Social Change >>>>>>> (https://shesc.asu.edu <https://shesc.asu.edu/>) >>>>>>> Director, Center for Social Dynamics & Complexity >>>>>>> (https://complexity.asu.edu <https://complexity.asu.edu/>) >>>>>>> Arizona State University >>>>>>> Tempe, AZ 85287-2701 >>>>>>> USA >>>>>>> >>>>>>> Executive Director, Open Modeling Foundation >>>>>>> (https://openmodelingfoundation.github.io >>>>>>> <https://urldefense.com/v3/__https://openmodelingfoundation.github.io/__;!!IKRxdwAv5BmarQ!fDruU6UXzw_n70EI0Xjqduv0dybpvNr8PEXY9j0kezyWnmZgBykXhEkpRk9DaYsQYVTK_iO5PchEq14uKQDFEu4$>) >>>>>>> Director, Network for Computational Modeling in Social & Ecological >>>>>>> Sciences (https://comses.net >>>>>>> <https://urldefense.com/v3/__https://comses.net/__;!!IKRxdwAv5BmarQ!fDruU6UXzw_n70EI0Xjqduv0dybpvNr8PEXY9j0kezyWnmZgBykXhEkpRk9DaYsQYVTK_iO5PchEq14uAEFpWLQ$>) >>>>>>> >>>>>>> personal website: http://www.public.asu.edu/~cmbarton >>>>>>> <http://www.public.asu.edu/~cmbarton> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> grass-user mailing list >>>>>>> [email protected] <mailto:[email protected]> >>>>>>> https://lists.osgeo.org/mailman/listinfo/grass-user >>>>>>> <https://urldefense.com/v3/__https://lists.osgeo.org/mailman/listinfo/grass-user__;!!IKRxdwAv5BmarQ!fDruU6UXzw_n70EI0Xjqduv0dybpvNr8PEXY9j0kezyWnmZgBykXhEkpRk9DaYsQYVTK_iO5PchEq14uNYN8a58$> >>>>>> >>>>> >>>> >>> >> _______________________________________________ grass-user mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-user
_______________________________________________ grass-user mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-user
