Opened 9 months ago

Closed 8 months ago

#68081 closed defect (fixed)

qgis3 +grass: GRASS plugin not present

Reported by: dlejay (Damien Lejay) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: nilason (Nicklas Larsson)
Port: qgis3

Description

After doing

sudo port install qgis3 +grass

I end up with QGIS but without GRASS. It should appear at the bottom of the Processing Toolbox, right after GDAL, as in the official release (where GRASS is present by default).

Attachments (1)

Capture d’écran 2023-08-30 à 06.11.23.png (158.2 KB) - added by dlejay (Damien Lejay) 9 months ago.
Screen capture showing the Processing Toolbox with GRASS missing

Download all attachments as: .zip

Change History (8)

Changed 9 months ago by dlejay (Damien Lejay)

Screen capture showing the Processing Toolbox with GRASS missing

comment:1 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: nilason added
Owner: set to Veence
Status: newassigned
Summary: GRASS plugin not presentqgis3 +grass: GRASS plugin not present

comment:2 Changed 9 months ago by nilason (Nicklas Larsson)

You probably need to activate "GRASS GIS provider" plugin in Plugin manager.

comment:3 Changed 9 months ago by dlejay (Damien Lejay)

The plugin is activated in the plugin manager. But none of the GRASS tools are present in the Processing Toolbox.

EDIT: it seems the issue depends on which computer I have installed qgis3. On a MacStudio, GRASS is present in the toolbox.

Last edited 9 months ago by dlejay (Damien Lejay) (previous) (diff)

comment:4 Changed 9 months ago by dlejay (Damien Lejay)

After removing Macports and reinstalling it

sudo port install qgis3 +grass

results in

Error: qgis3: Error executing grass: couldn't execute "/opt/local/bin/grass": no such file or directory
Error: Unable to open port: Error evaluating variants

comment:5 Changed 9 months ago by nilason (Nicklas Larsson)

Oh my! Now I know what is wrong and I'll look for a solution.

For the time being, it should work fine if you manually install grass before attempting to install QGIS.

comment:6 Changed 8 months ago by dlejay (Damien Lejay)

After installing grass, I still get that the GRASS toolbox does not show up if $HOME has permissions 555. Actually launching grass directly from the command line does not work in that case. I'll notify the grass port.

comment:7 Changed 8 months ago by nilason (Nicklas Larsson)

Resolution: fixed
Status: assignedclosed

In 41a01a9fd31253c141116fb167416b64a478fecb/macports-ports (master):

qgis3[-ltr]: general overhaul and bug fixes

Notable changes:

  • Find out path to "mpi.h" for building against 'gdal +hdf5' (and remove mpi port group dependence)
  • Prettify PostgreSQL variant descriptions by removing dot in versions 10+
  • Fix flawed implementation of the +python_support variant
  • Fix failure to install grass dependency
  • Add note on plugin "missing PyQt5.QtWebKit module" error warning

Closes: #67842
See: #68006
Closes: #68016
Closes: #68081

Note: See TracTickets for help on using tickets.