-
Notifications
You must be signed in to change notification settings - Fork 3
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
Missing parameters ili2pg when password not set in pg_conf #76
Comments
Thanks for your feedbacks on this. |
Just document is a bad solution |
Fix incoming here: #97 |
Can we close this since #97 is merged? |
@ponceta Not clear for me - for Urs it seems to work, my tests did not work - see #97 (comment) Maybe you could check also. |
Maybe run the check with some other INTERLIS user? I'll try it but I see that we have some key aspects which have to be tackle down like what QGIS auth methods are supported on TEKSI modules (according to the actual doc it is pg_services using pg_conf), but many users do use many different auth methods. I created a new feature request here : |
Yes in Urs's case he doest not need a password, because he's somehow logged with his windows user (so it's not that his configuration is missing a password, it's that he can login without password). The case where a password is needed, but the user does not want to store it in a pg_conf is indeed not handled. And there I 100% agree with Arnaud that there's so many different ways to configure this that we need to clarify what auth method we want to support and which we don't.
+1 for closing |
Let's close this and reopen if any other user need is provided. |
Does not work with QGEP Plugin 1.6.0-rc.4, if there is no password in the pg_service.conf: Ein Fehler trat bei der Ausführung von Python-Code auf: psycopg2.OperationalError: connection to server at "xxxx" (nnn.nnn.nn.nn), port 5432 failed: FATAL: database "KAU" does not exist Python-Version: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] Python-Pfad: |
@urskaufmann In your log, I see If that's the case (indeed we should deal with this and display an user friendly error for such connection errors), can you open a new issue ? |
When I want to import an INTERLIS file and have not set the password in the pg_conf of that database then qgepqwat2ili raises an error during schema creation that the
--pwd
parameter has no value.The text was updated successfully, but these errors were encountered: