[GRASS-user] Instructions for Linux Unbuntu install

Hi there - I have a linux box with the following version of Unbuntu:

Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.2 LTS
Release:	22.04
Codename:	jammy

A few weeks ago grass would start from the terminal and then my IT dept installed a program called “admin by request” and now the gui will not start. I get this error:

**petbuser@PETB**:**~**$ grass
Starting GRASS GIS...
Cleaning up temporary files...

          __________  ___   __________    _______________
         / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
        / / __/ /_/ / /| | \__ \_  \   / / __ / / \__ \
       / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
       \____/_/ |_/_/  |_/____/____/   \____/___//____/

Welcome to GRASS GIS 8.2.2dev (3d37ee165c)
GRASS GIS homepage:                      https://grass.osgeo.org
This version running through:            Bash Shell (/bin/bash)
Help is available with the command:      g.manual -i
See the licence terms with:              g.version -c
See citation options with:               g.version -x
If required, restart the GUI with:       g.gui wxpython
When ready to quit enter:                exit

Launching <wxpython> GUI in the background, please wait...
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

GRASS smrMFC/philip:~ > wxdigit.py: Could not load grass_vector.8.2.
wxdigit.py: Could not load grass_vector.8.2.
wxnviz.py: Could not load grass_g3d.8.2.
g.findfile: error while loading shared libraries: libgdal.so.30: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/wx/core.py", line 3282, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/local/grass82/gui/wxpython/wxgui.py", line 95, in show_main_gui
    mainframe = GMFrame(parent=None, id=wx.ID_ANY, workspace=self.workspaceFile)
  File "/usr/local/grass82/gui/wxpython/lmgr/frame.py", line 156, in __init__
    self.statusbar = SbMain(parent=self, giface=self._giface)
  File "/usr/local/grass82/gui/wxpython/lmgr/statusbar.py", line 38, in __init__
    self.mask = SbMask(self.widget, self.giface)
  File "/usr/local/grass82/gui/wxpython/lmgr/statusbar.py", line 87, in __init__
    self.Refresh()
  File "/usr/local/grass82/gui/wxpython/lmgr/statusbar.py", line 120, in Refresh
    if gs.find_file(
KeyError: 'name'

GRASS smrMFC/philip:~ >

The IT department has now uninstalled the admin by request program by my issue persists. I wanted to try and reinstall grass, but I have not been able to get passed the PPA steps listed online. I do not know what to do next.

Thank you,

plm

···

From: grass-user grass-user-bounces@lists.osgeo.org on behalf of grass-user-request@lists.osgeo.org grass-user-request@lists.osgeo.org
Sent: Wednesday, August 16, 2023 12:00 PM
To: grass-user@lists.osgeo.org grass-user@lists.osgeo.org
Subject: grass-user Digest, Vol 208, Issue 16

[EXTERNAL EMAIL]

Send grass-user mailing list submissions to
grass-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgrass-user__%3B!!JmPEgBY0HMszNaDT!pCOWNoUQztOHaiZEShGF2j8bqYxIW165dmf0v1mk36PlyrguZuVgkBvFT1KRtYD2mIW9Adki4s9VraI4iEVGD4nC0HoNlrAkjZk7KQ%24&data=05%7C01%7Cphilip.moffatt%40wsu.edu%7Ca372c25d2f0d49f4164b08db9e8b0b48%7Cb52be471f7f147b4a8790c799bb53db5%7C0%7C0%7C638278092265285702%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7%2F7mqfEWOFR1G1ATL1ulfLL7n5NKjs%2F3Cm95bgD9%2FT4%3D&reserved=0
or, via email, send a message with subject or body ‘help’ to
grass-user-request@lists.osgeo.org

You can reach the person managing the list at
grass-user-owner@lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than “Re: Contents of grass-user digest…”

Today’s Topics:

  1. Re: Mouse coordinates in Map Window not following GUI
    settings projection (Eric Patton)

Message: 1
Date: Wed, 16 Aug 2023 16:17:04 +0000
From: Eric Patton eric.r.patton@protonmail.com
To: Veronica Andreo veroandreo@gmail.com
Cc: Anna Petr??ov? kratochanna@gmail.com, grass-user@lists.osgeo.org
Subject: Re: [GRASS-user] Mouse coordinates in Map Window not
following GUI settings projection
Message-ID: 20230816161659.GA24827@example.com
Content-Type: text/plain; charset=utf-8

On Wed, Aug 16, 2023 at 01:09:20PM -0300, Veronica Andreo wrote:

This is what I have in GRASS 8.2.1?

image.png

image.png
However, to make it work then, you need to select the preferred?CRS in the GUI
main menu: Settings > Preferences > Projections

Nevermind, I synced my grass source tree to the latest release, rebuilt, and I
see the option in the GUI for alternative coordinates display now.

Cheers,


Eric


Subject: Digest Footer


grass-user mailing list
grass-user@lists.osgeo.org
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgrass-user__%3B!!JmPEgBY0HMszNaDT!pCOWNoUQztOHaiZEShGF2j8bqYxIW165dmf0v1mk36PlyrguZuVgkBvFT1KRtYD2mIW9Adki4s9VraI4iEVGD4nC0HoNlrAkjZk7KQ%24&data=05%7C01%7Cphilip.moffatt%40wsu.edu%7Ca372c25d2f0d49f4164b08db9e8b0b48%7Cb52be471f7f147b4a8790c799bb53db5%7C0%7C0%7C638278092265285702%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7%2F7mqfEWOFR1G1ATL1ulfLL7n5NKjs%2F3Cm95bgD9%2FT4%3D&reserved=0


End of grass-user Digest, Vol 208, Issue 16


Hello Philip,
the key message is inability to locate libgdal.so.30. My guess – along
with installing some programs your IT department also upgraded other
software. Just run `locate libgdal.so` in a terminal to get a list of
all GDAL versions installed on your system. If 3.0 is missing, then
you'll have to recompile GRASS (or install an update from repository
it came from).

Māris.

piektd., 2023. g. 18. aug., plkst. 22:28 — lietotājs Moffatt, Philip
via grass-user (<grass-user@lists.osgeo.org>) rakstīja:

Hi there - I have a linux box with the following version of Unbuntu:

Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy

A few weeks ago grass would start from the terminal and then my IT dept installed a program called "admin by request" and now the gui will not start. I get this error:

petbuser@PETB:~$ grass
Starting GRASS GIS...
Cleaning up temporary files...

          __________ ___ __________ _______________
         / ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/
        / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \
       / /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ /
       \____/_/ |_/_/ |_/____/____/ \____/___//____/

Welcome to GRASS GIS 8.2.2dev (3d37ee165c)
GRASS GIS homepage: https://grass.osgeo.org
This version running through: Bash Shell (/bin/bash)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
See citation options with: g.version -x
If required, restart the GUI with: g.gui wxpython
When ready to quit enter: exit

Launching <wxpython> GUI in the background, please wait...
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

GRASS smrMFC/philip:~ > wxdigit.py: Could not load grass_vector.8.2.
wxdigit.py: Could not load grass_vector.8.2.
wxnviz.py: Could not load grass_g3d.8.2.
g.findfile: error while loading shared libraries: libgdal.so.30: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/wx/core.py", line 3282, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/local/grass82/gui/wxpython/wxgui.py", line 95, in show_main_gui
    mainframe = GMFrame(parent=None, id=wx.ID_ANY, workspace=self.workspaceFile)
  File "/usr/local/grass82/gui/wxpython/lmgr/frame.py", line 156, in __init__
    self.statusbar = SbMain(parent=self, giface=self._giface)
  File "/usr/local/grass82/gui/wxpython/lmgr/statusbar.py", line 38, in __init__
    self.mask = SbMask(self.widget, self.giface)
  File "/usr/local/grass82/gui/wxpython/lmgr/statusbar.py", line 87, in __init__
    self.Refresh()
  File "/usr/local/grass82/gui/wxpython/lmgr/statusbar.py", line 120, in Refresh
    if gs.find_file(
KeyError: 'name'

GRASS smrMFC/philip:~ >

The IT department has now uninstalled the admin by request program by my issue persists. I wanted to try and reinstall grass, but I have not been able to get passed the PPA steps listed online. I do not know what to do next.

Thank you,

plm
________________________________
From: grass-user <grass-user-bounces@lists.osgeo.org> on behalf of grass-user-request@lists.osgeo.org <grass-user-request@lists.osgeo.org>
Sent: Wednesday, August 16, 2023 12:00 PM
To: grass-user@lists.osgeo.org <grass-user@lists.osgeo.org>
Subject: grass-user Digest, Vol 208, Issue 16

[EXTERNAL EMAIL]

Send grass-user mailing list submissions to
        grass-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgrass-user__%3B!!JmPEgBY0HMszNaDT!pCOWNoUQztOHaiZEShGF2j8bqYxIW165dmf0v1mk36PlyrguZuVgkBvFT1KRtYD2mIW9Adki4s9VraI4iEVGD4nC0HoNlrAkjZk7KQ%24&data=05|01|philip.moffatt%40wsu.edu|a372c25d2f0d49f4164b08db9e8b0b48|b52be471f7f147b4a8790c799bb53db5|0|0|638278092265285702|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=7%2F7mqfEWOFR1G1ATL1ulfLL7n5NKjs%2F3Cm95bgD9%2FT4%3D&reserved=0
or, via email, send a message with subject or body 'help' to
        grass-user-request@lists.osgeo.org

You can reach the person managing the list at
        grass-user-owner@lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of grass-user digest..."

Today's Topics:

   1. Re: Mouse coordinates in Map Window not following GUI
      settings projection (Eric Patton)

----------------------------------------------------------------------

Message: 1
Date: Wed, 16 Aug 2023 16:17:04 +0000
From: Eric Patton <eric.r.patton@protonmail.com>
To: Veronica Andreo <veroandreo@gmail.com>
Cc: Anna Petr??ov? <kratochanna@gmail.com>, grass-user@lists.osgeo.org
Subject: Re: [GRASS-user] Mouse coordinates in Map Window not
        following GUI settings projection
Message-ID: <20230816161659.GA24827@example.com>
Content-Type: text/plain; charset=utf-8

On Wed, Aug 16, 2023 at 01:09:20PM -0300, Veronica Andreo wrote:
> This is what I have in GRASS 8.2.1?
>
> image.png
>
> image.png
> However, to make it work then, you need to select the preferred?CRS in the GUI
> main menu: Settings > Preferences > Projections

Nevermind, I synced my grass source tree to the latest release, rebuilt, and I
see the option in the GUI for alternative coordinates display now.

Cheers,

--
Eric

------------------------------

Subject: Digest Footer

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgrass-user__%3B!!JmPEgBY0HMszNaDT!pCOWNoUQztOHaiZEShGF2j8bqYxIW165dmf0v1mk36PlyrguZuVgkBvFT1KRtYD2mIW9Adki4s9VraI4iEVGD4nC0HoNlrAkjZk7KQ%24&data=05|01|philip.moffatt%40wsu.edu|a372c25d2f0d49f4164b08db9e8b0b48|b52be471f7f147b4a8790c799bb53db5|0|0|638278092265285702|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=7%2F7mqfEWOFR1G1ATL1ulfLL7n5NKjs%2F3Cm95bgD9%2FT4%3D&reserved=0

------------------------------

End of grass-user Digest, Vol 208, Issue 16
*******************************************
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user