Skip to content
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

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

Closed
sgrellet opened this issue Jun 25, 2021 · 2 comments · Fixed by #169
Closed

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

sgrellet opened this issue Jun 25, 2021 · 2 comments · Fixed by #169
Assignees
Labels
bug Houston, we've a problem!

Comments

@sgrellet
Copy link
Member

Environment

  • Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
  • QGIS version: 3.16.2-Hannover Hannover, f1660f9da5
  • Operating System: Windows

Description

Bugs appearing (at least) through 2 UseCases:

  • Just Launching the 'Load (wizard)'
  • or step 3 of the "Relational mode (GMLAS) scenario - Local test scenario" when clicking on the ‘Load’ button click

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

To Reproduce

  • Just Launching the 'Load (wizard)'
  • or step 3 of the "Relational mode (GMLAS) scenario - Local test scenario" when clicking on the ‘Load’ button click

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 sgrellet added the bug Houston, we've a problem! label Jun 25, 2021
@Guts Guts pinned this issue Jun 25, 2021
@sgrellet
Copy link
Member Author

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

@sgrellet
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Houston, we've a problem!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants