-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QGIS doesn't load up after "Setting up the GUI" #48566
Comments
please excuse the strikethrough format, i just copy-pasted these from my notepad. |
Could you try with a new profile ? (as requested in github issue form...) |
It still randomly runs even after I created a new profile. I tried to uninstall and reinstall QGIS to no avail. I tried to install in a different partition. what I observed When it happens to run was that the plugin error was no longer appearing. But QGIS still randomly runs, but it still most often doesn't run. I'm really wondering why this happened... These are the specs of the laptop that I use which I believe won't cause any issue with QGIS: Operating System: Windows 10 Home Single Language 64-bit (10.0, Build 19044) (19041.vb_release.191206-1406) |
Is this still an issue? Have you tried clean installation (e.g. on a VM) and clean profile? Looks like a local issue to me. |
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". |
While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue. |
What is the bug or the crash?
After the flash image loads "Setting up the GUI", it disappears and QGIS doesn't continue to run.
Setting up the GUI
It runs sometimes when I try to open QGIS through
C:\Program Files\QGIS 3.22.6\bin\qgis-ltr-bin.exe; or
C:\Program Files\QGIS 3.16\bin\qgis-ltr-bin.exe
but most often, it does not run. I first encountered this in QGIS 3.16 then I installed 3.22 hoping that it would be resolved. But it still persisted.
When it happened to run, I found the following message log and stack trace. It points to SagaAlgorithmProvider.
These are the message log and stack trace that I copied:
Log Messages
-> Plugins
2022-05-12T15:17:08 INFO Loaded Group Stats (package: GroupStats) 2022-05-12T15:17:16 INFO Loaded Semi-Automatic Classification Plugin (package: SemiAutomaticClassificationPlugin) 2022-05-12T15:17:17 INFO Loaded SLYR (Community Edition) (package: slyr_community) 2022-05-12T15:17:17 INFO Loaded Multipart Split (package: splitmultipart) 2022-05-12T15:17:17 INFO Loaded DB Manager (package: db_manager) 2022-05-12T15:17:18 INFO Loaded GRASS GIS provider (package: grassprovider) 2022-05-12T15:17:18 INFO Loaded MetaSearch Catalog Client (package: MetaSearch) 2022-05-12T15:17:20 INFO Loaded Processing (package: processing) 2022-05-12T15:17:20 INFO Loaded SAGA GIS provider (package: sagaprovider)
-> Python
2022-05-12T15:17:20 CRITICAL Traceback (most recent call last): File "C:\PROGRA
1/QGIS 3.22.6/apps/qgis-ltr/./python\qgis\utils.py", line 423, in startPlugin plugins[packageName] = package.classFactory(iface) File "C:\PROGRA1/QGIS 3.22.6/apps/qgis-ltr/./python/plugins\sagaprovider_init.py", line 26, in classFactory from sagaprovider.SagaProviderPlugin import SagaProviderPlugin File "C:\PROGRA1/QGIS 3.22.6/apps/qgis-ltr/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\PROGRA1/QGIS 3.22.6/apps/qgis-ltr/./python/plugins\sagaprovider\SagaProviderPlugin.py", line 28, in from sagaprovider.SagaAlgorithmProvider import SagaAlgorithmProvider File "C:\PROGRA~1/QGIS 3.22.6/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'-> Messages
2022-05-12T15:17:20 WARNING Python error : Couldn't load plugin 'sagaprovider' due to an error when calling its classFactory() method See message log (Python Error) for more details.
-> General
2022-05-12T15:17:21 INFO Application state: QGIS_PREFIX_PATH env var: C:/PROGRA
1/QGIS 3.22.6/apps/qgis-ltr Prefix: C:/PROGRA1/QGIS 3.22.6/apps/qgis-ltr Plugin Path: C:/PROGRA1/QGIS 3.22.6/apps/qgis-ltr/plugins Package Data Path: C:/PROGRA1/QGIS 3.22.6/apps/qgis-ltr/. Active Theme Name: default Active Theme Path: C:/PROGRA1/QGIS 3.22.6/apps/qgis-ltr/./resources/themes\default\icons/ Default Theme Path: :/images/themes/default/ SVG Search Paths: C:/PROGRA1/QGIS 3.16/apps/qgis-ltr/./svg/ C:/Users/OCPDC/AppData/Roaming/QGIS/QGIS3\profiles\default/svg/ C:/PROGRA1/QGIS 3.22.6/apps/qgis-ltr/./svg/ User DB Path: C:/PROGRA1/QGIS 3.22.6/apps/qgis-ltr/./resources/qgis.db Auth DB Path: C:/Users/OCPDC/AppData/Roaming/QGIS/QGIS3\profiles\default/qgis-auth.dbStack Trace
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/QGIS 3.22.6/apps/qgis-ltr/./python\qgis\utils.py", line 423, in startPlugin plugins[packageName] = package.classFactory(iface) File "C:\PROGRA1/QGIS 3.22.6/apps/qgis-ltr/./python/plugins\sagaprovider_init.py", line 26, in classFactory from sagaprovider.SagaProviderPlugin import SagaProviderPlugin File "C:\PROGRA1/QGIS 3.22.6/apps/qgis-ltr/./python\qgis\utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\PROGRA1/QGIS 3.22.6/apps/qgis-ltr/./python/plugins\sagaprovider\SagaProviderPlugin.py", line 28, in from sagaprovider.SagaAlgorithmProvider import SagaAlgorithmProvider File "C:\PROGRA~1/QGIS 3.22.6/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.6-Białowieża Białowieża, b6f33b1
Python Path: C:/PROGRA
1/QGIS 3.22.6/apps/qgis-ltr/./python C:/Users/OCPDC/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/OCPDC/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins C:/PROGRA1/QGIS 3.22.6/apps/qgis-ltr/./python/plugins C:\Program Files\QGIS 3.22.6\bin\python39.zip C:\PROGRA1\QGIS 3.22.6\apps\Python39\DLLs C:\PROGRA1\QGIS 3.22.6\apps\Python39\lib C:\Program Files\QGIS 3.22.6\bin C:\PROGRA1\QGIS 3.22.6\apps\Python39 C:\PROGRA1\QGIS 3.22.6\apps\Python39\lib\site-packages C:\PROGRA1\QGIS 3.22.6\apps\Python39\lib\site-packages\GDAL-3.4.2-py3.9-win-amd64.egg C:\PROGRA1\QGIS 3.22.6\apps\Python39\lib\site-packages\win32 C:\PROGRA1\QGIS 3.22.6\apps\Python39\lib\site-packages\win32\lib C:\PROGRA1\QGIS 3.22.6\apps\Python39\lib\site-packages\Pythonwin C:/Users/OCPDC/AppData/Roaming/QGIS/QGIS3\profiles\default/pythonDoes anyone know what should be done so QGIS would run normally again?
Steps to reproduce the issue
I just run the desktop shortcut
or go to OSGeo4W Shell, and run C:/%/QGIS 3.22.6/bin/start qgis-ltr-bin.exe
after "Setting up the GUI", the flash image disappears and the QGIS doesn't continue to run. Sometimes it does. But most often it doesn't run.
sometimes i enter C:/%/QGIS 3.22.6/bin/start qgis-ltr-bin.exe --noplugin
(to intentionally get the error for --noplugin) then QGIS runs, with the error log. Then I will be able to copy the same error logs, stack traces. But sometimes QGIS doesn't run.
Versions
3.16.16
3.22.6
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: