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

pgpass do not work on qgis master #24567

Closed
qgib opened this issue Jun 6, 2017 · 10 comments
Closed

pgpass do not work on qgis master #24567

qgib opened this issue Jun 6, 2017 · 10 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers

Comments

@qgib
Copy link
Contributor

qgib commented Jun 6, 2017

Author Name: Andy Harney (@andy-harney)
Original Redmine Issue: 16668
Affected QGIS version: master
Redmine category:data_provider


Hi,

On QGIS master, QGIS will fail to retrieve passwords from a pgpass.conf file.
This happens when expanding a db tree in Database > DB Manager
The database is added in the PostGIS data provider without a password, which can connect and load layers.

Attached is a screenshot showing this.

Many Thanks.



Related issue(s): #19290 (relates)
Redmine related issue(s): 10932


@qgib
Copy link
Contributor Author

qgib commented Jun 6, 2017

Author Name: Giovanni Manghi (@gioman)


  • regression was changed from 0 to 1
  • priority_id was changed from Normal to High
  • subject was changed from pgpass - Windows to pgpass do not work on qgis master

@qgib
Copy link
Contributor Author

qgib commented Jun 6, 2017

Author Name: Sandro Santilli (@strk)


It could make a good case to add to the new DBManager testsuite: #4688
Can you tell which version was last found working ? Was 2.18 branch tested too ?

@qgib
Copy link
Contributor Author

qgib commented Jun 6, 2017

Author Name: Andy Harney (@andy-harney)


Sandro Santilli wrote:

It could make a good case to add to the new DBManager testsuite: #4688
Can you tell which version was last found working ? Was 2.18 branch tested too ?

I've just tested 2.18.9. Setting up a PostGIS connection fails, as does using DB Manager.
On master, setting up a PostGIS connection works, but DB Manager fails.
I've added more images to show.
Thanks.


  • 11054 was configured as PGPASS_2.18.9.png
  • 11053 was configured as PGPASS_Master.png

@qgib
Copy link
Contributor Author

qgib commented Jun 6, 2017

Author Name: Sandro Santilli (@strk)


Giovanni as you marked this as a regression, do you know which older version worked fine ?

@qgib
Copy link
Contributor Author

qgib commented Jun 6, 2017

Author Name: Giovanni Manghi (@gioman)


Sandro Santilli wrote:

Giovanni as you marked this as a regression, do you know which older version worked fine ?

I overlooked the notification and assume that was something only affecting master.


  • priority_id was changed from High to Normal
  • regression was changed from 1 to 0

@qgib
Copy link
Contributor Author

qgib commented Jun 8, 2017

Author Name: Jürgen Fischer (@jef-n)


Probably a duplicate of #19290 (unix style line endings (linefeed only) expected)

@qgib
Copy link
Contributor Author

qgib commented Jun 8, 2017

Author Name: Jürgen Fischer (@jef-n)


@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2019

Author Name: Giovanni Manghi (@gioman)


Please check if this issue is still valid on QGIS 3.4.5 or 3.6.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2019

Author Name: Andy Harney (@andy-harney)


Giovanni Manghi wrote:

Please check if this issue is still valid on QGIS 3.4.5 or 3.6.

Just tested on QGIS 3.6, Windows 10. This issue is resolved.

@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2019

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to fixed/implemented
  • status_id was changed from Feedback to Closed

@qgib qgib closed this as completed Mar 9, 2019
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant