public inbox for [email protected]
help / color / mirror / Atom feedFrom: Dave Page <[email protected]>
To: Chris Mayo <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Running pgadmin4 as desktop application
Date: Tue, 11 Oct 2016 03:44:02 +0100
Message-ID: <CA+OCxoyFghavROo-C=CV7_UNZvmbrhxaUexEfMoo6TtDhQfg8Q@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgadmin-hackers>
On Monday, October 10, 2016, Chris Mayo <[email protected]> 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
view thread (9+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Running pgadmin4 as desktop application
In-Reply-To: <CA+OCxoyFghavROo-C=CV7_UNZvmbrhxaUexEfMoo6TtDhQfg8Q@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox