Skip to content
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.

Error when creating a branch: "no password supplied" #58

Closed
samson8720 opened this issue Mar 31, 2017 · 3 comments
Closed

Error when creating a branch: "no password supplied" #58

samson8720 opened this issue Mar 31, 2017 · 3 comments

Comments

@samson8720
Copy link

Software: QGIS 2.18 and versioning plugin obtained through QGIS

After creating a versioned group I attempted to create a branch. The following error results:

2017-03-31T11:44:58 1 Traceback (most recent call last):
File "C:/Users/geoproject/.qgis2/python/plugins\qgis_versioning\versioning.py", line 488, in branch
schema, branch, commit_msg, base_branch, base_rev )
File "C:/Users/geoproject/.qgis2/python/plugins\qgis_versioning\versioning_base.py", line 1030, in add_branch
pcur = Db(psycopg2.connect(pg_conn_info))
OperationalError: fe_sendauth: no password supplied

Any help would be greatly appreciated

@gignacnic
Copy link
Contributor

gignacnic commented Mar 31, 2017

It looks that your connection (username-password) to DB is not saved and active in your project. You can do that by choosing to save user and password while establishing the PostGIS connection: https://i.stack.imgur.com/jJB8v.png

@samson8720
Copy link
Author

Thank you for the quick reply. I had the same thought about saving the username and password in the connection. Still received the same error message. I might mention I am using Windows 7.

@samson8720
Copy link
Author

Like many steps with QGIS-PostGIS, I failed to refresh connections before attempting to create a branch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants