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 3.20.1 fails to start #44293
Comments
strangely QGIS 3.16, gives the same error, but is able to start
|
Also can't run in Kubuntu 20.04. In a laptop, the splashscreen does not show, and the fans ramp up to the max speed. |
Same on Ubuntu 20.04.2 LTS. Process using 100% CPU, no splash screen... EDIT |
Yep...it works, thanks for pointing in the right direction. I managed to get it to work, just by removing the symbology-style.db on the profile folder. |
When installed with OSGeo4W installer it also does not run on Windows 10. There is no splashscreen but the process can be seen in the TaskManager. |
No problems here (OSGeo4W v2, installed 3.20.1-1 as update to 3.20.0-5) so whatever the unfortunate problem is, it's not universal. |
I have the same issue in Windows10. I tried to reinstall the previous version but the issue is not solved. The only way to start QGIS was to modify the profiles.ini changing the default profile. In order to load the previous profile, I had to delete the symbology-style.db |
The same issue happens in Windows 10, and it seems it only occurs when the default profile has custom saved symbology.
|
That seems to be the problem on Windows 10. When I removed symbology-style.db like the Linux folks have done, it solved the problem. I should mention that the QGIS 3.16.9 update that was done at the same time does not have this problem. |
Same problem: I had to remove all *.db files, but then it worked as usual. |
Same issue occurs in Pop! OS 21.04 after updating to QGIS 3.20.1. Resolved by deleting symbology-style.db in the profile folder of the current default profile (thank you @ondrolexa). Might be an issue with custom symbologies as @ulmi mentioned. |
You don't need to remove the old symbology-styel.db file... The only structural difference between the old and "new" symbology-style.db is the lack of a "stylemetadata" table in the "new" database. If you delete this table from the old database, QGIS 3.20.1 will start and use all the current styles in the database. I did this using DBeaver (you need to kill any running QGIS processes to unlock the database first). |
Thanks this resolved the issue for me on Windows 10 |
Windows 10 and having the same no start issue. I also can no longer install an older version to run either. |
completely shutting down seems to have fixed my issue. |
This issue should now be resolved by #44343 and included in the next 3.20.2 release.
Note! This is not a FIX, it's a workaround. The bug in the code is still there and you probably should be careful with what you do here. At least take a backup of the symbology-style.db file. |
I think it is a big mistake not to immediately release the fix to this as 3.20.1-2. Don't wait for 3.20.2. |
It is surprising to me that a mere one row database can stop the whole application! I find it even more surprising that customized styles causes this issue. While I do not remember when I created custom styles, it is quite baffling that this issue will affect users who are knowledgeable enough to create customized styles! Do not regular users of QGIS create customized styles for their own uses? |
Just a short note: you actually have a symbology-style.db in every profile folder, so I think you have to 'fix' the db in the profile folder(s) you actually use(d) last time you shutdown QGIS. |
3.20.1-2 is available on osgeo4w and msi. |
+1 for closing this issue. |
Describe the bug and How to reproduce
Today after updating to QGIS 3.20.1
qgis: Installed: 1:3.20.1+32focal Candidate: 1:3.20.1+32focal Version table: *** 1:3.20.1+32focal 500 500 https://qgis.org/ubuntu focal/main amd64 Packages
I'm unable to start QGIS. When running from the terminal it shows
Gtk-Message: 10:21:38.287: Failed to load module "appmenu-gtk-module"
after installing the missing module
it the shows
Gtk-Message: 10:20:54.299: Failed to load module "unity-gtk-module" Gtk-Message: 10:20:54.301: Failed to load module "unity-gtk-module"
and it seems when installing one the other module is remove
QGIS and OS versions
On a linux mint manchine with cinnamon DE
System: Kernel: 5.8.0-63-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.0.5 wm: muffin dm: LightDM Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal
QGIS 3.20.1
The text was updated successfully, but these errors were encountered: