Thread: [pgAdmin4][RM3830] AttributeError if pgadmin4-web-setup.sh stopped inbetween login setup and run again

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
Thanks, applied.

On Thu, Dec 20, 2018 at 10:56 AM Aditya Toshniwal
<aditya.toshniwal@enterprisedb.com> wrote:
>
> Hi Hackers,
>
> Attached is patch to fix the exception "AttributeError: 'NoneType' object has no attribute 'value'", which occurs
whenyou stop(Ctrl+Z or Ctrl+C) pgadmin4-web-setup.sh script while entering details for login and then run
pgadmin4-web-setup.shagain. 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"



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company