Re: Running pgadmin4 as desktop application - Mailing list pgadmin-hackers

From Chris Mayo
Subject Re: Running pgadmin4 as desktop application
Date
Msg-id 30628d77-bfbb-5bc1-7522-7c3c05730c1a@gmail.com
Whole thread Raw
In response to Running pgadmin4 as desktop application  (Devrim Gündüz <devrim@gunduz.org>)
Responses Re: Running pgadmin4 as desktop application  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
> Ok, this worked on CentOS 7 box, but not on Fedora 24, which has QT5 and Python
> 3. Can you help me to debug this? The content of the file in Fedora 24 is:
>
> $ cat /etc/pgAdmin\ Development\ Team/pgAdmin\ 4.conf
> [General]
> ApplicationPath=../../../..//usr/lib/python3.5/site-packages/pgadmin4-web/
> PythonPath="/usr/lib64/python3.5/site-packages; /usr/lib/python3.5/site-packages"
>
>
> I'm still getting segfault, and:
>
> An error occurred initialising the application server:
>
> Failed to locate pgAdmin4.py, terminating server thread.

I suspect it is because the path is missing the xdg directory:
/etc/xdg/pgAdmin\ Development\ Team/pgAdmin\ 4.conf

http://doc.qt.io/qt-5/qsettings.html#locations-where-application-settings-are-stored

but that did seem to apply for Qt4.8 too:
http://doc.qt.io/qt-4.8/qsettings.html#locations-where-application-settings-are-stored

Chris



pgadmin-hackers by date:

Previous
From: Chris Mayo
Date:
Subject: [PATCH] Document that a patch should be submitted to the list as an attachment
Next
From: Dave Page
Date:
Subject: Re: Running pgadmin4 as desktop application