Thread: Re: pgadmin4.3 - login failure
Hi Tony, according to this Stackoverflow post <https://stackoverflow.com/questions/49919149/unable-to-connect-to-postgresql-with-pgadmin4-readonly-attribute-error> , the error seems to be caused by a too old psycopg2 library. Perhaps you can upgrade to v2.7, or just comment out line 313 of /usr/share/pgadmin4/web/pgadmin/utils/driver/psycopg2/connection.py as some kind of "dirty hack", but be aware that I don't know the "deeper consequences" of doing so. Hope this helps. Cheers, Frank. -- Sent from: http://www.postgresql-archive.org/PostgreSQL-pgadmin-support-f2191615.html
I've asked the Debian/Ubuntu package maintainer to look into this.
On Fri, Apr 20, 2018 at 10:23 AM, frankgard <frank.von.postgresql.org@familie-gard.de> wrote:
Hi Tony,
according to this Stackoverflow post
<https://stackoverflow.com/questions/49919149/unable-to- connect-to-postgresql-with- pgadmin4-readonly-attribute- error>
, the error seems to be caused by a too old psycopg2 library. Perhaps you
can upgrade to v2.7, or just comment out line 313 of
/usr/share/pgadmin4/web/pgadmin/utils/driver/psycopg2/ connection.py as some
kind of "dirty hack", but be aware that I don't know the "deeper
consequences" of doing so.
Hope this helps.
Cheers,
Frank.
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-pgadmin- support-f2191615.html
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
On Fri, Apr 20, 2018 at 1:13 PM, Dave Page <dpage@pgadmin.org> wrote:
I've asked the Debian/Ubuntu package maintainer to look into this.
And he tells me that updated packages will be published to the mirrors shortly.
--On Fri, Apr 20, 2018 at 10:23 AM, frankgard <frank.von.postgresql.org@familie-gard.de> wrote: Hi Tony,
according to this Stackoverflow post
<https://stackoverflow.com/questions/49919149/unable-to-conn ect-to-postgresql-with-pgadmin 4-readonly-attribute-error>
, the error seems to be caused by a too old psycopg2 library. Perhaps you
can upgrade to v2.7, or just comment out line 313 of
/usr/share/pgadmin4/web/pgadmin/utils/driver/psycopg2/connec tion.py as some
kind of "dirty hack", but be aware that I don't know the "deeper
consequences" of doing so.
Hope this helps.
Cheers,
Frank.
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-pgadmin-support -f2191615.html Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Please take a look at the issue I filed a few days ago labelled "v4 3.0 connection issues, notices is readonly", it is related
On Fri, Apr 20, 2018 at 7:59 AM frankgard <frank.von.postgresql.org@familie-gard.de> wrote:
Hi Tony,
according to this Stackoverflow post
<https://stackoverflow.com/questions/49919149/unable-to-connect-to-postgresql-with-pgadmin4-readonly-attribute-error>
, the error seems to be caused by a too old psycopg2 library. Perhaps you
can upgrade to v2.7, or just comment out line 313 of
/usr/share/pgadmin4/web/pgadmin/utils/driver/psycopg2/connection.py as some
kind of "dirty hack", but be aware that I don't know the "deeper
consequences" of doing so.
Hope this helps.
Cheers,
Frank.
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-pgadmin-support-f2191615.html