nens / servicedesk-issue-only

This repository will be used primarily by the service desk to report issues which will then be moved by the teamleads
0 stars 0 forks source link

[3Di]: ThreediToolbox dependencies cause errors (production) #132

Open GeOdin opened 1 year ago

GeOdin commented 1 year ago

Contact Details

No response

Topdesk URL (API)

No response

Incident Type

Error

What priority should we assign to this submission?

None

3Di component

Modeller Interface (QGIS)

What happened?

After installing the Modeller interface (3.22.13-2-1) and clicking on the 3DiModellerInterface 3.22.exe, I got an error (ModuleNotFoundError: No module named 'sagaprovider.SagaAlgorithmProvider') and the Modeller Interface would not open.

After closing the error message, I started QGIS again and got the QGIS warning that the ThreediToolbox was not loaded because it previously crashed QGIS, also sagaprovider was not loaded. So probably it has more to do with the ThreediToolbox plugin (than the 3Di Modeller part).

How to Reproduce?

Download the Modeller interface version 3.22.13-2-1 link from docs: https://docs.3di.live/f_3di_instruments_and_downloads.html#modeller-interface-installation

or specific download link https://docs.3di.live/modeller-interface-downloads/3DiModellerInterface-OSGeo4W-3.22.13-2-1-Setup-x86_64.exe Install the modeller interface Open the modeller interface by clicking on 3DiModellerInterface 3.22.exe The error appears

CLose the error Start the modeller interface again from 3DiModellerInterface 3.22.exe ALso click on View on the toolbar -> Panels -> Log messages (check it if it is not checked)

What did you expect and what was the actual result?

I expected the modeller interface to open. The result was an error message saying ModuleNotFoundError: No module named 'sagaprovider.SagaAlgorithmProvider' (production)

Add screenshots, video's etc

Error when starting the modeller interface 20221206 - modeller interface - saga module not found

Errors after restarting the modeller interface 20221206 - 3di modeller interface - python error 1 20221206 - 3di modeller interface - python error 2 20221206 - 3di modeller interface - messages

Relevant log output

Couldn't load plugin 'sagaprovider' due to an error when calling its classFactory() method 

ModuleNotFoundError: No module named 'sagaprovider.SagaAlgorithmProvider' 
Traceback (most recent call last):
  File "C:\PROGRA~1/3DIMOD~1.22/apps/qgis-ltr/./python\qgis\utils.py", line 423, in _startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:\PROGRA~1/3DIMOD~1.22/apps/qgis-ltr/./python/plugins\sagaprovider\__init__.py", line 26, in classFactory
    from sagaprovider.SagaProviderPlugin import SagaProviderPlugin
  File "C:\PROGRA~1/3DIMOD~1.22/apps/qgis-ltr/./python\qgis\utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\PROGRA~1/3DIMOD~1.22/apps/qgis-ltr/./python/plugins\sagaprovider\SagaProviderPlugin.py", line 28, in 
    from sagaprovider.SagaAlgorithmProvider import SagaAlgorithmProvider
  File "C:\PROGRA~1/3DIMOD~1.22/apps/qgis-ltr/./python\qgis\utils.py", line 888, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'sagaprovider.SagaAlgorithmProvider'

Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] 
QGIS version: 3.22.13-Białowieża Białowieża, 02ff117c 

Python Path:
C:\Users\madeleine.vanwinkel\AppData\Roaming\3Di\QGIS3\profiles\default\python\plugins\ThreeDiToolbox\deps
C:/PROGRA~1/3DIMOD~1.22/apps/qgis-ltr/./python
C:\Users\madeleine.vanwinkel\AppData\Roaming\3Di\QGIS3\profiles\default/python
C:\Users\madeleine.vanwinkel\AppData\Roaming\3Di\QGIS3\profiles\default/python/plugins
C:/PROGRA~1/3DIMOD~1.22/apps/qgis-ltr/./python/plugins
C:\PROGRA~1\3DIMOD~1.22\bin\python39.zip
C:\PROGRA~1\3DIMOD~1.22\apps\Python39\DLLs
C:\PROGRA~1\3DIMOD~1.22\apps\Python39\lib
C:\PROGRA~1\3DIMOD~1.22\bin
C:\PROGRA~1\3DIMOD~1.22\apps\Python39
C:\PROGRA~1\3DIMOD~1.22\apps\Python39\lib\site-packages
C:\PROGRA~1\3DIMOD~1.22\apps\Python39\lib\site-packages\win32
C:\PROGRA~1\3DIMOD~1.22\apps\Python39\lib\site-packages\win32\lib
C:\PROGRA~1\3DIMOD~1.22\apps\Python39\lib\site-packages\Pythonwin
C:\Users\madeleine.vanwinkel\AppData\Roaming\3Di\QGIS3\profiles\default/python
.

##Python errors (in QGIS)
2022-12-06T15:59:44     CRITICAL    Traceback (most recent call last):
              File "C:\PROGRA~1/3DIMOD~1.22/apps/qgis-ltr/./python\qgis\utils.py", line 423, in _startPlugin
              plugins[packageName] = package.classFactory(iface)
              File "C:\PROGRA~1/3DIMOD~1.22/apps/qgis-ltr/./python/plugins\sagaprovider\__init__.py", line 26, in classFactory
              from sagaprovider.SagaProviderPlugin import SagaProviderPlugin
              File "C:\PROGRA~1/3DIMOD~1.22/apps/qgis-ltr/./python\qgis\utils.py", line 888, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "C:\PROGRA~1/3DIMOD~1.22/apps/qgis-ltr/./python/plugins\sagaprovider\SagaProviderPlugin.py", line 28, in 
              from sagaprovider.SagaAlgorithmProvider import SagaAlgorithmProvider
              File "C:\PROGRA~1/3DIMOD~1.22/apps/qgis-ltr/./python\qgis\utils.py", line 888, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
             ModuleNotFoundError: No module named 'sagaprovider.SagaAlgorithmProvider'

2022-12-06T16:03:28     CRITICAL    Traceback (most recent call last):
              File "C:\PROGRA~1/3DIMOD~1.22/apps/qgis-ltr/./python\qgis\utils.py", line 423, in _startPlugin
              plugins[packageName] = package.classFactory(iface)
              File "C:\Users\madeleine.vanwinkel\AppData\Roaming\3Di\QGIS3\profiles\default/python/plugins\ThreeDiToolbox\__init__.py", line 56, in classFactory
              dependencies.check_importability()
              File "C:\Users\madeleine.vanwinkel\AppData\Roaming\3Di\QGIS3\profiles\default/python/plugins\ThreeDiToolbox\dependencies.py", line 362, in check_importability
              imported_package = importlib.import_module(package)
              File "C:\PROGRA~1\3DIMOD~1.22\apps\Python39\lib\importlib\__init__.py", line 127, in import_module
              return _bootstrap._gcd_import(name[level:], package, level)
              File "", line 1030, in _gcd_import
              File "", line 1007, in _find_and_load
              File "", line 986, in _find_and_load_unlocked
              File "", line 680, in _load_unlocked
              File "", line 855, in exec_module
              File "", line 228, in _call_with_frames_removed
              File "C:\Users\madeleine.vanwinkel\AppData\Roaming\3Di\QGIS3\profiles\default\python\plugins\ThreeDiToolbox\deps\threedigrid_builder\__init__.py", line 33, in 
              from .application import * # NOQA
              File "C:\PROGRA~1/3DIMOD~1.22/apps/qgis-ltr/./python\qgis\utils.py", line 888, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
             ModuleNotFoundError: No module named 'threedigrid_builder.application'

Additional info

Good luck!