-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
New Connections to OGC Services Hang in Profiles with PostGIS Connections #60335
Comments
It smells like #60018 , can you check if this is already solved in the nightly build? |
I just updated the master: see animated gif unfortunately it still crashes |
I cannot reproduce on linux / master. |
Unfortunately I use Windows machines :-) |
Hi Alessandro, I recorded a demo video ((IT):
the problem occurs when I start a new session on a profile in which there are connections to PostgreSQL, if I insert the credentials to the postgresql connections the problem does not occur. |
@elpaso, I can also replicate the issue on Windows 10 (OSGeo4W). It seems to me the issue occurs when a PostgreSQL connection has the option "Allow saving/loading QGIS layer metadata in the database" active. To replicate the issue:
The following are the debugging messages from the moment the WMS connection is added to the moment QGIS get stuck and hangs indefinitely.
|
The issue occurs even without adding the WMS connection after the PostgreSQL connection: it occurs just adding the PostgreSQL connection using the Data Source Manager.
|
The issue occurs also on Ubuntu 22.04.1 running QGIS 3.41.0-Master. |
I can reproduce it now. |
I downloaded the build, the problem remained |
This do not load the metadata unless the widget is visible. It is an attempt to fix qgis#60335 (which I cannot reproduce after the previous commit)
What is the bug or the crash?
Every time I create a new connection or modify it to an OGC service (for example WMS, WFS) QGIS hangs, the message (Not responding) appears and I have to force close.
This problem is present if I have connections to PostGIS in the user profile, in clean profiles (i.e. without connections to PostGIS) the problem does not occur.
Steps to reproduce the issue
Versions
Supported QGIS version
New profile
Additional context
tested on QGIS 3.34.15, QGIS 3.40.3 and master
on old and new user profiles
The text was updated successfully, but these errors were encountered: