When Windows authentication is set up for the Postgres server, the plugin still asks for username and password.
When I select “ignore” in the QGIS credential dialog, the plugin shows an error message “username or password incorrect” and drops into the debugger with an Type Error “cannot unpack non-iterable NoneType object” on line 188, because init_DB() didn’t return a tuple but a single None.
I have added credential-less authentication and fixed the Type Errors with init_DB(). After testing, I’ll prepare a pull request.
When Windows authentication is set up for the Postgres server, the plugin still asks for username and password. When I select “ignore” in the QGIS credential dialog, the plugin shows an error message “username or password incorrect” and drops into the debugger with an Type Error “cannot unpack non-iterable NoneType object” on line 188, because
init_DB()
didn’t return a tuple but a singleNone
.I have added credential-less authentication and fixed the Type Errors with
init_DB()
. After testing, I’ll prepare a pull request.