From: | Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com> |
---|---|
To: | Cherio <cherio(at)gmail(dot)com> |
Cc: | pgadmin-support(at)lists(dot)postgresql(dot)org |
Subject: | Re: v4 3.0 connection issues, notices is readonly |
Date: | 2018-04-18 05:27:34 |
Message-ID: | CAKKotZTEULxzPMjdtuwrcwR6J9yFY_VB6cXu89CBoajuoYSGWA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hi,
Please create a bug for the same HERE
<https://redmine.postgresql.org/projects/pgadmin4>,
Also provide us steps to reproduce the issue in the bug ticket and attach
`pgAdmin4.log`
log file
in the ticket
, It will help us to pinpoint the issue quickely.
- Enable debug logging (https://www.pgadmin.org/faq/#8)
- Disable the dashboard graphs temporarily to avoid unwanted logging from
dashboard calls (https://www.pgadmin.org/faq/#5)
- Delete/Rename existing `pgAdmin4.log` file
- Restart pgAdmin4 and try to re-produce the issue
- Zip the log file and
upload it on bug ticket.
--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
On Tue, Apr 17, 2018 at 10:03 PM, Cherio <cherio(at)gmail(dot)com> wrote:
> Hello,
>
> PgAdmin 4 v3.0 didn't work out of the box on my ubuntu 16.04.4. Both DEB
> install and python wheel generate errors. I researched the DEB install and
> determined that the error occurs in "/usr/share/pgadmin4/web/
> pgadmin/utils/driver/psycopg2/connection.py" on line 313 which reads
>
> pg_conn.notices = deque([], self.ASYNC_NOTICE_MAXLENGTH)
>
> and complains that the property is readonly. I am not a python guy but
> after some research I made the following tweak to make it work:
>
> if self.async == 1:
> pg_conn.notices = deque([], self.ASYNC_NOTICE_MAXLENGTH)
>
> The same file has similar code on line ~1250 though I didn't see errors on
> that line.
>
> Another error which completely prevents from continuing on a web page is
> the "INTERNAL SERVER ERROR" which locks the screen with an alert popup (the
> title reads "AlertifyJS") that can't be closed, but I believe this was
> already reported and claimed to be fixed the next day.
>
> Regards,
> Yuri
>
From | Date | Subject | |
---|---|---|---|
Next Message | Johann Spies | 2018-04-18 07:03:17 | Desktop-mode on Debian |
Previous Message | Murtuza Zabuawala | 2018-04-18 05:19:34 | Re: pgAdmin 4 version 3 missing exit button. |