pgAdmin4.13: failed to launch server

From: Tony Shelver <tshelver(at)gmail(dot)com>
To: "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: pgAdmin4.13: failed to launch server
Date: 2019-10-20 12:20:36
Message-ID: CAG0dhZDUgbxHPROuo+vshTKUnAxVZRJxr50gM7_1TEL82YrzLg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Environment is Ubuntu 18.04, pgAdmin4.13 was loaded from the relevant
ubuntu repository.

This was working previously, changed in the last week. It could have been
after an install.
I get this message when running from the app icon.
If I run it from the command line in /usr/bin, I get the same error, and
the following is displayed:

Python path: "python3:/usr/lib/python3/dist-packages"
Python Home: ""
Webapp path: "/usr/share/pgadmin4/web/pgAdmin4.py"
"Failed to launch the application server, server thread exiting."
to launch the application server, server thread exiting."

If I go to /usr/share/pgadmin4/web, and run sudo python3 pgAdmin4.py, then
the server will start and all is working fine...

if I run python3 from the command line in any directory, python3.6.8 starts
up
If I run python from any directory, python 2.7.15 starts up

Any ideas?

Browse pgadmin-support by date

  From Date Subject
Next Message Pavan Kumar 2019-10-20 18:26:32 PostgreSQL - Query Tool Error
Previous Message Jan Birk 2019-10-20 07:21:03 Re: Moving pgadmin4.db to a new server