Re: Fedora 29 startup issue

From: Fahar Abbas <fahar(dot)abbas(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Fedora 29 startup issue
Date: 2018-11-01 10:17:15
Message-ID: CAJFwRrN_+cfQHcy35X_vZO=JCTqD-BQXoNxEU98N+N9EyPskow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

I am facing issue on Centos 7.4(by default python is 2.7) while Devrim
facing issue on Fedora 29 with Python 3.7.

On Thu, Nov 1, 2018 at 3:09 PM Dave Page <dpage(at)pgadmin(dot)org> wrote:

>
>
> On Thu, Nov 1, 2018 at 10:08 AM Fahar Abbas <fahar(dot)abbas(at)enterprisedb(dot)com>
> wrote:
>
>> Hi Dave,
>>
>> On Thu, Nov 1, 2018 at 3:04 PM Dave Page <dpage(at)pgadmin(dot)org> wrote:
>>
>>>
>>>
>>> On Thu, Nov 1, 2018 at 9:58 AM Devrim Gündüz <devrim(at)gunduz(dot)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
>

--
Fahar Abbas
QMG
EnterpriseDB Corporation
Phone Office: +92-51-835-8874
Phone Direct: +92-51-8466803
Mobile: +92-333-5409707
Skype ID: *live:fahar.abbas*
Website: www.enterprisedb.com

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2018-11-01 10:23:36 Re: Fedora 29 startup issue
Previous Message Dave Page 2018-11-01 10:09:40 Re: Fedora 29 startup issue