From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Chris Mayo <aklhfex(at)gmail(dot)com> |
Cc: | "pgadmin-hackers(at)postgresql(dot)org" <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: Running pgadmin4 as desktop application |
Date: | 2016-10-11 02:44:02 |
Message-ID: | CA+OCxoyFghavROo-C=CV7_UNZvmbrhxaUexEfMoo6TtDhQfg8Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
On Monday, October 10, 2016, Chris Mayo <aklhfex(at)gmail(dot)com> wrote:
> > 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
In my tests on CentOS 7, I found it wasn't even trying to open the
/etc/xdg/... dir. You might try running under strace to see what it is
trying to read, e.g:
strace -e open pgadmin4
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2016-10-11 04:44:16 | Running pgadmin4 as desktop application |
Previous Message | Chris Mayo | 2016-10-10 18:42:52 | Re: Running pgadmin4 as desktop application |