pgAdmin4 runtime error: linux

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: pgAdmin4 runtime error: linux
Date: 2017-03-10 16:19:40
Message-ID: alpine.LNX.2.11.1703100811310.26081@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Built pgAdmin4 following the README runtime instructions and copied
pgAdmin4 and pgAdmin4.py to /usr/local/bin. When invoked the splash screen
displays and is immediately overlaid with an error message:

"An error occurred initializing the application server:
Failed to launch the application server, server thread exiting."

Clicking the "OK" button brings up a dialog box asking for the python and
application paths. I entered /usr/bin/python2 as the python path and left
the application path blank. Clicked the "OK" button.

The command line and results:

$ pgAdmin4
Python path: ""
Python Home: ""
Webapp path: "/usr/local/bin/pgAdmin4.py"
Traceback (most recent call last):
File "/usr/local/bin/pgAdmin4.py", line 23, in <module>
import config
ImportError: No module named config
"Failed to launch the application server, server thread exiting."

Please advise me how to fix this error. I've not installed all the brower
prerequisites with the understanding that the v.t. runtime did not require
flask, SQLAlchemy, and all the rest.

TIA,

Rich

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2017-03-10 19:12:51 Re: Startup problem pgadmin4 V1.2 on osx 10.10.5 Yosemite
Previous Message Rich Shepard 2017-03-10 15:21:27 Re: Building pgadmin4-1.1: Python3 virtual wrapper