From: | Chris Mayo <aklhfex(at)gmail(dot)com> |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | Re: Running pgadmin4 as desktop application |
Date: | 2016-10-10 18:42:52 |
Message-ID: | 30628d77-bfbb-5bc1-7522-7c3c05730c1a@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2016-10-11 02:44:02 | Re: Running pgadmin4 as desktop application |
Previous Message | Chris Mayo | 2016-10-10 18:40:42 | [PATCH] Document that a patch should be submitted to the list as an attachment |