-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
processing: verify postgresql access and request credentials if neces…
…sary (fixes #12137)
- Loading branch information
Showing
1 changed file
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f540cd1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I think that this commit is causing this error now when using postgis inputs in processing OGR tools
Uncaught error while executing algorithm
Traceback (most recent call last):
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/core/GeoAlgorithm.py", line 232, in execute
self.processAlgorithm(progress)
File "/usr/share/qgis/python/plugins/processing/algs/gdal/ogrinfo.py", line 55, in processAlgorithm
conn = self.ogrConnectionString(layer)
File "/usr/share/qgis/python/plugins/processing/algs/gdal/OgrAlgorithm.py", line 75, in ogrConnectionString
QgsCredentials.instance().put(conninfo, user, passwd)
UnboundLocalError: local variable 'user' referenced before assignment
f540cd1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be fix in e2dd504