Skip to content
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

Closed
2 tasks done
wandererdmnc opened this issue May 16, 2022 · 6 comments
Closed
2 tasks done

QGIS doesn't load up after "Setting up the GUI" #48566

wandererdmnc opened this issue May 16, 2022 · 6 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers stale Uh oh! Seems this work is abandoned, and the PR is about to close.

Comments

@wandererdmnc
Copy link

wandererdmnc commented May 16, 2022

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:\PROGRA1/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:/PROGRA1/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.db

Stack 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:\PROGRA1/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:/PROGRA1/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/python

Does 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

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

No response

@wandererdmnc wandererdmnc added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 16, 2022
@wandererdmnc
Copy link
Author

wandererdmnc commented May 16, 2022

please excuse the strikethrough format, i just copy-pasted these from my notepad.

@nicogodet
Copy link
Member

Could you try with a new profile ? (as requested in github issue form...)
https://docs.qgis.org/3.22/en/docs/user_manual/introduction/qgis_configuration.html#working-with-user-profiles

@Pedro-Murteira Pedro-Murteira added Feedback Waiting on the submitter for answers GUI/UX Related to QGIS application GUI or User Experience labels May 16, 2022
@wandererdmnc
Copy link
Author

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)
Language: English (Regional Setting: English)
System Manufacturer: Dell Inc.
System Model: Vostro 3400
BIOS: 1.13.0 (type: UEFI)
Processor: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 CPUs), ~2.8GHz
Memory: 16384MB RAM
Available OS Memory: 16110MB RAM
Page File: 12282MB used, 8692MB available

@Pedro-Murteira Pedro-Murteira removed the Feedback Waiting on the submitter for answers label May 18, 2022
@alexbruy
Copy link
Contributor

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.

@alexbruy alexbruy added Feedback Waiting on the submitter for answers and removed GUI/UX Related to QGIS application GUI or User Experience labels Oct 20, 2023
Copy link

github-actions bot commented Nov 4, 2023

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".
If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue.
In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue.
If there is no further activity on this issue, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Nov 4, 2023
Copy link

github-actions bot commented Dec 2, 2023

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.
Or, if you have any further questions, there are also further support channels that can help you.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers stale Uh oh! Seems this work is abandoned, and the PR is about to close.
Projects
None yet
Development

No branches or pull requests

4 participants