-
Notifications
You must be signed in to change notification settings - Fork 5
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
Interlis Import unsupported startup parameter: options #76
Comments
@cymed Wie machst du deine Datenbankverbindung? pg_conf? |
Ip address and port (and in general postgres connection settings) are taken from the layer |
DB-connection via PGSYSCONFDIR, windows system variable overridden in qgis options. Project is open and working (inserting through wizard and directly adding entries to vw_tww_wastewater_structure). |
Ich habe eine ähnliche Fehlermeldung, wenn ich im pgsysconfdir nicht user und passwort (postgres-passwort) eintrage, weil für das erstellen des Austauschschema das postgres-Passwort notwendig ist. Die Fehlermeldung hilft leider nicht direkt, dem auf die Spur zu kommen. |
User und Passwort sind im pgsysconfdir vorhanden |
Found out the following things:
|
Error is thrown at wastewater/plugin/teksi_wastewater/interlis/gui/interlis_importer_exporter.py Lines 479 to 481 in d0135f5
|
It might be a problem of connecting via pgbouncer, see https://stackoverflow.com/questions/69133440/django-error-on-connecting-to-postgres-unsupported-startup-parameter-options. |
|
Fix uploaded in the plugin zip in discussion top post |
Fixed by removing session timeout |
qgep qwat to ili is added as not submodule Remove timeout option. Fix #76 Show logs button visible only if log_path is set Add missing DSS classes. Fix #98 remove profile action Update plugin/teksi_wastewater/interlis/interlis_importer_exporter.py remove libs from source [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci fix sudo plugin-ci no sudo
Describe the bug
When trying to import the any xtf, I received an psycopg2.OperationalError: connection to server at "%ip%", port %port% failed: FATAL: unsupported startup para
To Reproduce
Exact steps to reproduce the behavior:
Expected behavior
XTF import
Screenshots / data
Error:
psycopg2.OperationalError: connection to server at "%ip%", port %port% failed: FATAL: unsupported startup parameter: options
Traceback (most recent call last):
File "C:\Users/%usr%/AppData/Roaming/QGIS/QGIS3\profiles\tww_dev/python/plugins\teksi_wastewater\teksi_wastewater_plugin.py", line 495, in actionImportClicked
self.interlisImporterExporter.action_import()
File "C:\Users/%usr%/AppData/Roaming/QGIS/QGIS3\profiles\tww_dev/python/plugins\teksi_wastewater\interlis\gui\interlis_importer_exporter.py", line 106, in action_import
raise exception
File "C:\Users/%usr%/AppData/Roaming/QGIS/QGIS3\profiles\tww_dev/python/plugins\teksi_wastewater\interlis\gui\interlis_importer_exporter.py", line 90, in action_import
self._action_import(xtf_file_input)
File "C:\Users/%usr%/AppData/Roaming/QGIS/QGIS3\profiles\tww_dev/python/plugins\teksi_wastewater\interlis\gui\interlis_importer_exporter.py", line 180, in _action_import
self._clear_ili_schema(recreate_schema=True)
File "C:\Users/%usr%/AppData/Roaming/QGIS/QGIS3\profiles\tww_dev/python/plugins\teksi_wastewater\interlis\gui\interlis_importer_exporter.py", line 478, in clear_ili_schema
connection = psycopg2.connect(
File "C:\Users%usr%\AppData\Roaming\Python\Python39\site-packages\psycopg2_init.py", line 122, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: connection to server at "%ip%", port %port% failed: FATAL: unsupported startup parameter: options
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: