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

Uncaught TypeError: __init__() got an unexpected keyword argument 'uri' #126

Closed
Guts opened this issue Mar 4, 2021 · 2 comments
Closed
Assignees
Labels
bug Houston, we've a problem!
Milestone

Comments

@Guts
Copy link
Collaborator

Guts commented Mar 4, 2021

Environment

  • Plugin version: >= 1.3.0
  • QGIS version: 3.16.4-Hannover Hannover, f1660f9da5
  • Operating System: Ubuntu 20.04
  • Python version: 3.8 64 bits

Description

Steps to reproduce

Just open the wizard.

The error message appears but doesn't not break anything.

Logs

Traceback (most recent call last):
  File "/home/jmo/.local/share/QGIS/QGIS3/profiles/default/python/plugins/gml_application_schema_toolbox/gui/database_widget.py", line 111, in on_pgsqlConnectionsBox_currentIndexChanged
    self._pgsql_db = GmlasPostgisDB.from_name(
  File "/home/jmo/.local/share/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
Copy link
Member

Not reproduced under the following environment
Plugin version: 1.3.1
QGIS version: 3.16.2-Hannover Hannover, f1660f9da5
Operating System: Windows 10
Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]

@Guts Guts self-assigned this Mar 12, 2021
@Guts Guts closed this as completed Nov 4, 2021
@frida-161
Copy link
Contributor

This issue still occurs on 1.4.0beta4

TypeError: GmlasPostgisDB.__init__() got an unexpected keyword argument 'uri' 
Traceback (most recent call last):
  File "/home/t5n/.local/share/QGIS/QGIS3/profiles/HVBG/python/plugins/gml_application_schema_toolbox/gui/database_widget.py", line 111, in on_pgsqlConnectionsBox_currentIndexChanged
    self._pgsql_db = GmlasPostgisDB.from_name(
  File "/home/t5n/.local/share/QGIS/QGIS3/profiles/HVBG/python/plugins/gml_application_schema_toolbox/extlibs/qgis_processing_postgis.py", line 192, in from_name
    return cls(uri=uri)
TypeError: GmlasPostgisDB.__init__() got an unexpected keyword argument 'uri'


Python version: 3.10.4 (main, Mar 23 2022, 23:05:40) [GCC 11.2.0] 
QGIS version: 3.24.2-Tisler Tisler, exported 

Operating System: Arch Linux

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

No branches or pull requests

3 participants