On Thu, Nov 1, 2018 at 10:08 AM Fahar Abbas <fahar.ab...@enterprisedb.com>
wrote:

> Hi Dave,
>
> On Thu, Nov 1, 2018 at 3:04 PM Dave Page <dp...@pgadmin.org> wrote:
>
>>
>>
>> On Thu, Nov 1, 2018 at 9:58 AM Devrim Gündüz <dev...@gunduz.org> wrote:
>>
>>>
>>> Hi,
>>>
>>> Fedora 29, Python 3.7. When I run:
>>>
>>> /usr/pgadmin4/runtime/pgAdmin4
>>>
>>> Getting:
>>>
>>> An error occurred initialising the application server:
>>> Failed to locate pgAdmin4.py, terminating server thread.
>>>
>>> $ cat /etc/xdg/pgadmin/pgadmin4.conf
>>> ApplicationPath="/usr/lib/python3.7/site-packages/pgadmin4-web/"
>>>
>>> PythonPath="/usr/lib/python3.7/site-packages:/usr/lib64/python3.7/site-packages"
>>>
>>>
>>> What am I missing?
>>>
>>
>> What does the startup log say? Look for ~/.pgAdmin4.startup.log
>>
> 01.11.2018 15:05:55 Checking for system tray...
> 01.11.2018 15:05:55 Starting pgAdmin4 server...
> 01.11.2018 15:05:55 Creating server object, port:55183,
> key:b3ef7ca8-a755-4284-8b8d-2d82b810ef30,
> logfile:/root/.pgAdmin4.5793612742908622588.log
> 01.11.2018 15:05:55 Python Path:
> /usr/lib/python2.7/site-packages:/usr/lib64/python2.7/site-packages
> 01.11.2018 15:05:55 Python Home:
> 01.11.2018 15:05:55 Initializing Python...
> 01.11.2018 15:05:55 Python initialized.
> 01.11.2018 15:05:55 Adding new additional path elements
> 01.11.2018 15:05:55 Redirecting stderr...
> 01.11.2018 15:05:55 stderr redirected successfully.
> 01.11.2018 15:05:55 Initializing server...
> 01.11.2018 15:05:55 Webapp Path:
> /usr/lib/python2.7/site-packages/pgadmin4-web/pgAdmin4.py
> 01.11.2018 15:05:55 Server initialized.
> 01.11.2018 15:05:55 Starting Server Thread...
> 01.11.2018 15:05:55 Open the application code and run it.
> 01.11.2018 15:05:55 Set the port number, key and force SERVER_MODE off
> 01.11.2018 15:05:55 PyRun_SimpleFile launching application server...
> 01.11.2018 15:05:56 Application Server URL:
> http://127.0.0.1:55183/?key=b3ef7ca8-a755-4284-8b8d-2d82b810ef30
> 01.11.2018 15:05:56 The server should be up, we'll attempt to connect and
> get a response. Ping the server
> 01.11.2018 15:06:04 Failed to launch the application server, server thread
> exiting.
> 01.11.2018 15:06:26 Attempt to connect one more time in case of a long
> network timeout while looping
>

The PythonPath and WebappPath don't match what Devrim says he's using. Is
that from the same system?

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

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

Reply via email to