[pgAdmin4][RM3830] AttributeError if pgadmin4-web-setup.sh stopped in between login setup and run again

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin4][RM3830] AttributeError if pgadmin4-web-setup.sh stopped in between login setup and run again
Date: 2018-12-20 10:56:23
Message-ID: CAM9w-_mmOY=KE8+_gWttC19NSbtqyNdE0=DAx1QvgmAkavMUSg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

Attached is patch to fix the exception "AttributeError: 'NoneType' object
has no attribute 'value'", which occurs when you stop(Ctrl+Z or
Ctrl+C) pgadmin4-web-setup.sh
script while entering details for login and then run pgadmin4-web-setup.sh
again. pgAdmin4 fails to start thereafter.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB Software Solutions | Pune
"Don't Complain about Heat, Plant a tree"

Attachment Content-Type Size
RM3830.patch application/octet-stream 3.3 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2018-12-20 10:58:34 pgAdmin 4 commit: Use the standard copyright string.
Previous Message Dave Page 2018-12-20 10:55:10 pgAdmin 4 commit: Add a copyright update tool.