BRGM / gml_application_schema_toolbox

GML Application Schema toolbox is a QGIS plugin allowing to manipulate OGC Complex Features
https://brgm.github.io/gml_application_schema_toolbox/
GNU General Public License v2.0
28 stars 18 forks source link

__init__() got an unexpected keyword argument 'uri' #163

Closed sgrellet closed 3 years ago

sgrellet commented 3 years ago

Environment

Description

Bugs appearing (at least) through 2 UseCases:

Note that in both cases the bug does not prevent to continue using the plugin

To Reproduce


Logs

TypeError: __init__() got an unexpected keyword argument 'uri' 
Traceback (most recent call last):
  File "C:/Users/grellets/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gml_application_schema_toolbox\gui\database_widget.py", line 111, in on_pgsqlConnectionsBox_currentIndexChanged
    self.pgsqlConnectionsBox.currentText()
  File "C:/Users/grellets/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gml_application_schema_toolbox\extlibs\qgis_processing_postgis.py", line 192, in from_name
    return cls(uri=uri)
TypeError: __init__() got an unexpected keyword argument 'uri'
sgrellet commented 3 years ago

Additionnal info: under a new profile with the exact same environment, the bug is not reproductible anymore

sgrellet commented 3 years ago

and when adding a single PostGIS connexion to that fresh new user, the bug is back