[Bug 277302] graphics/qgis: runtime error: ModuleNotFoundError: No module named 'grassprovider.grass_plugin'

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 25 Feb 2024 14:31:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277302

            Bug ID: 277302
           Summary: graphics/qgis: runtime error: ModuleNotFoundError: No
                    module named 'grassprovider.grass_plugin'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rhurlin@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
          Assignee: rhurlin@FreeBSD.org
             Flags: maintainer-feedback?(rhurlin@FreeBSD.org)

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

-- 
You are receiving this mail because:
You are the assignee for the bug.