Re: BUG #15739: PgAdmin4 4.4 does not work with latest psycopg2 (2.8.1) - Mailing list pgsql-bugs

From Rizwan Wangde
Subject Re: BUG #15739: PgAdmin4 4.4 does not work with latest psycopg2 (2.8.1)
Date
Msg-id CANfXmArFYTTuiWg4XD-8Oa8ZYhH94rjmC47BUFtBRUuacsMLSg@mail.gmail.com
Whole thread Raw
In response to BUG #15739: PgAdmin4 4.4 does not work with latest psycopg2 (2.8.1)  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
Cancel
On Mon, 8 Apr. 2019, 1:00 pm PG Bug reporting form, <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      15739
Logged by:          Jamie Carl
Email address:      jamie@hazaarlabs.com
PostgreSQL version: 11.2
Operating system:   Ubuntu 18.10
Description:       

Installed in server mode using the python wheel package, my current version
of psycopg2 was 2.8.1.  Installing pgAdmin4 succeeded with no errors, but
when expanding servers in the browser tree, I would get the error
"'psycopg2.extensions.Column' object has no attribute '_asdict'".
Downgrading to psycopg2 library version 2.7.7 and everything starts working.


When installing the python wheel package, the requirement appears to be for
psycopg2>=2.7.7 but I think this should also include <= 2.8.0 or something
(not sure how, I'm a PHP guy).

pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #15739: PgAdmin4 4.4 does not work with latest psycopg2 (2.8.1)
Next
From: Michael Paquier
Date:
Subject: Re: BUG #15733: An insert destined at partition created after acolumn has been dropped from the parent table fails