Scenario: - FreeBSD stable/14 - ports latest - Upgrading ports using portmaster - Upgraded qgis to 3.36.0 - Starting qgis Result: - A popup with the following error message is shown: ModuleNotFoundError: No module named 'grassprovider.grass_plugin' Traceback (most recent call last): File "/usr/local/share/qgis/python/qgis/utils.py", line 426, in _startPlugin plugins[packageName] = package.classFactory(iface) File "/usr/local/share/qgis/python/plugins/grassprovider/__init__.py", line 24, in classFactory from grassprovider.grass_plugin import GrassProviderPlugin File "/usr/local/share/qgis/python/qgis/utils.py", line 923, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'grassprovider.grass_plugin' Python-Version: 3.9.18 (main, Jan 24 2024, 10:41:07) [Clang 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1 QGIS-Version: 3.36.0-Maidenhead Maidenhead, exported Python-Pfad: /usr/local/share/qgis/python /users/martin/.local/share/QGIS/QGIS3/profiles/default/python /users/martin/.local/share/QGIS/QGIS3/profiles/default/python/plugins /usr/local/share/qgis/python/plugins /usr/local/lib/python39.zip /usr/local/lib/python3.9 /usr/local/lib/python3.9/lib-dynload /usr/local/lib/python3.9/site-packages /users/martin/.local/share/QGIS/QGIS3/profiles/default/python /users/martin/.local/share/QGIS/QGIS3/profiles/default/python/plugins/shapetools/ext-libs /users/martin/.local/share/QGIS/QGIS3/profiles/default/python/plugins/Beeline/libs Expected result: - qgis should start without this error message -- Martin
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d742499aa382925e338595ff0e68c8fecbcb068 commit 0d742499aa382925e338595ff0e68c8fecbcb068 Author: Rainer Hurling <rhurlin@FreeBSD.org> AuthorDate: 2024-02-25 19:35:45 +0000 Commit: Rainer Hurling <rhurlin@FreeBSD.org> CommitDate: 2024-02-25 19:35:45 +0000 graphics/qgis: Fix plist, bring back grass_plugin PR: 277302 Reported by: Martin Birgmeier <d8zNeCFG@aon.at> graphics/qgis/Makefile | 1 + graphics/qgis/pkg-plist | 236 ++++++++++++++++++++++++------------------------ 2 files changed, 119 insertions(+), 118 deletions(-)
Hi Martin, Many thanks for the detailed report! This is one of those errors that cannot be found easily with the usual tests, but usually only at runtime. This message comes from the "GRASS GIS provider" plugin. This extension was not installed, when option GRASS8 selected. Some changes in pkg-plist fixes it :)
Hi Rainer, Thank you for the quick fix! Best regards, Martin