Bug report #20054

regression: console flooded with QSql* warnings when rendering XYZ layers (https connection)

Added by Mathieu Pellerin - nIRV over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Authentication system
Affected QGIS version:3.3(master) Regression?:Yes
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27876

Description

Not sure when this started happening, just noticed the messages today. When rendering a XYZ layer with an https connection (for e.g., https://tile.openstreetmap.org/{z}/{x}/{y}.png), QGIS' console gets flooded with the following warning messages:

WARNING    QSqlDatabasePrivate::database: requested database does not belong to the calling thread.
WARNING    QSqlQuery::prepare: database not open

Associated revisions

Revision 69dab87d
Added by Mathieu Pellerin - nIRV over 5 years ago

[auth] don't share config db connection across threads
(fixes #20054)

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Regression? changed from No to Yes
  • Status changed from Open to Feedback

is "authentication system" the correct category here?

#2 Updated by Alessandro Pasotti over 5 years ago

  • Assignee changed from Larry Shaffer to Alessandro Pasotti
  • Status changed from Feedback to In Progress

Yes, it comes from the auth system and there is a PR: https://github.com/qgis/QGIS/pull/8149 (I wonder why this ticket was not updated accordingly).

#3 Updated by Alessandro Pasotti over 5 years ago

  • Assignee deleted (Alessandro Pasotti)

#4 Updated by Mathieu Pellerin - nIRV over 5 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF