Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btfXg-0007mE-VX for pgadmin-hackers@arkaria.postgresql.org; Mon, 10 Oct 2016 18:43:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1btfXg-0003mG-F3 for pgadmin-hackers@arkaria.postgresql.org; Mon, 10 Oct 2016 18:43:16 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1btfXT-0003Xw-Db for pgadmin-hackers@postgresql.org; Mon, 10 Oct 2016 18:43:03 +0000 Received: from avasout08.plus.net ([212.159.14.20]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1btfXQ-0004Ab-9C for pgadmin-hackers@postgresql.org; Mon, 10 Oct 2016 18:43:02 +0000 Received: from mailserver ([209.93.23.155]) by avasout08 with smtp id tuit1t0033LmHjl01uivQQ; Mon, 10 Oct 2016 19:42:56 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.2 cv=YqpNfMQX c=1 sm=1 tr=0 a=7ivAtEIsJqNZ4j2I5/Y7iQ==:117 a=7ivAtEIsJqNZ4j2I5/Y7iQ==:17 a=IkcTkHD0fZMA:10 a=WNDY76dxAAAA:8 a=MVUfMJyPjE3IKp-KtlYA:9 a=QEXdDO2ut3YA:10 a=Yzp-w4kh3zQA:10 a=KM_oAGyVTc8A:10 a=HFDSX3BADwN2sFIQuyTb:22 From: Chris Mayo Subject: Re: Running pgadmin4 as desktop application To: pgadmin-hackers@postgresql.org Message-ID: <30628d77-bfbb-5bc1-7522-7c3c05730c1a@gmail.com> Date: Mon, 10 Oct 2016 19:42:52 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org > 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 -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers