From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Devrim Gündüz <devrim(at)gunduz(dot)org> |
Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: Running pgadmin4 as desktop application |
Date: | 2016-10-07 12:44:16 |
Message-ID: | CA+OCxoxq-=_dw9XhW=MHDiYF9skPmANXbg1mL9O=_nT4_iw19w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
On Fri, Oct 7, 2016 at 1:05 PM, Devrim Gündüz <devrim(at)gunduz(dot)org> 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
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2016-10-07 12:59:13 | pgAdmin 4 commit: Ensure variable is defined before use. |
Previous Message | Navnath Gadakh | 2016-10-07 12:43:19 | pgAdminIV : Regression tests code cleanup |