public inbox for [email protected]  
help / color / mirror / Atom feed
From: Dave Page <[email protected]>
To: Devrim Gündüz <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: Running pgadmin4 as desktop application
Date: Fri, 7 Oct 2016 13:44:16 +0100
Message-ID: <CA+OCxoxq-=_dw9XhW=MHDiYF9skPmANXbg1mL9O=_nT4_iw19w@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<CA+OCxoyr1K1HKHgddVf-heHyDpbzfk_yWQaUki72sATqsFBhNA@mail.gmail.com>
	<[email protected]>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

On Fri, Oct 7, 2016 at 1:05 PM, Devrim Gündüz <[email protected]> wrote:
>
> Hi Dave,
>
> On Thu, 2016-10-06 at 13:42 +0100, Dave Page wrote:
>> The global config file that Qt will read by default seems to be
>> "/etc/pgAdmin Development Team/pgAdmin 4.conf".
>>
>> I may change that for 1.1 to use a less obnoxious path. The contents
>> of it seem to need to be:
>>
>> [General]
>> ApplicationPath=../../../../usr/lib/python2.7/site-packages/pgadmin4-web/
>> PythonPath="/usr/lib64/python2.7/site-packages/;/usr/lib/python2.7/site-
>> packages/"
>>
>> The ApplicationPath is the directory containing pgAdmin4.py. Due to a
>> bugette in the way the runtime works, it needs to be relative to the
>> location of the runtime, hence all the back-tracking. The PythonPath
>> needs to include both the 32 and 64 bit directories, as it seems that
>> some of the Python modules end up in each.
>>
>> That was enough to get it to start for me.
>
> This did not work for me :(

How can I reproduce your setup? I testing on an existing CentOS 7 VM.


-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers



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+OCxoxq-=_dw9XhW=MHDiYF9skPmANXbg1mL9O=_nT4_iw19w@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