Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsUVl-0008Fi-9s for pgadmin-hackers@arkaria.postgresql.org; Fri, 07 Oct 2016 12:44:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bsUVk-000082-87 for pgadmin-hackers@arkaria.postgresql.org; Fri, 07 Oct 2016 12:44:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bsUVj-00007u-Tp for pgadmin-hackers@postgresql.org; Fri, 07 Oct 2016 12:44:23 +0000 Received: from mail-io0-x232.google.com ([2607:f8b0:4001:c06::232]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bsUVe-0006ep-IV for pgadmin-hackers@postgresql.org; Fri, 07 Oct 2016 12:44:22 +0000 Received: by mail-io0-x232.google.com with SMTP id q192so45794916iod.0 for ; Fri, 07 Oct 2016 05:44:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=PaSTCbRG0612Bp9arLME63xvLUYLtyo5y7HwAmSkwPA=; b=RAQxIEKWFGLz/edGsaAWwR2A3949RIFn3RYFo5mclHkBEADdWl4rIgN9GDlajbgmyf 25QnjNU7g0Y+wDcgLfyRu4BHvV0IOyO0RP991zIXZXMtd2BONl/adY/yO7dHbYjXwNUZ Dhgx5hjuZIQaFUbi8cMCi45oLTx628N8PGfL2ViDQfOcAqhFgZY+R87AEWLWeTGkPbfH kiE2yJkvRfH8PBYXeaSNl0m8Js+akXlRh/ZF9m7oLiZS+/zGHYcH87qbgPdS7hk6y41t 0Gv6g8gGpsgyJzkItZzgdqJm0V83jjU5vOXmGIe80G1eTv1PTzg3AqRMrC9BP0YWWmtb FsfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=PaSTCbRG0612Bp9arLME63xvLUYLtyo5y7HwAmSkwPA=; b=Ky/WubBzdZNPifwUUpmm26QWpmVF5miRDgETwLXTOAsoCqMJvOax62nsBAgBhRQnQL r0QSu7A+qn10BeB528kgzDJgDk/YPuanjSoXjK5NhoGSY17tsJisvNr2jAncFCr7qIPc O6hRmC2PBg208koEh2CUW3o7beW4b39kEK5akTJqxJjwsIJ36npnqT13Pen7nOKEqwVn 4h+5LAL9fyXBd4ci6Iy+CGrgzgeFzqD/Mm3EFKNlAnhRYqtyeuC+EFrNXMcy5QVvwukh ZDPKB8adD4hL3UZC/uRnLPM/qr8p+mH2/ebqro0QbNTjZxe5jz2AauLC4S1IyuMDVC6J FS9g== X-Gm-Message-State: AA6/9RkBT3vmy8l3MTl8WO5OtOGdqq+LdhByfaBltBObqr2oubysp0za5VonOC4EEagGOWuHcgAbsb3biw9oow== X-Received: by 10.107.12.206 with SMTP id 75mr19596763iom.208.1475844256983; Fri, 07 Oct 2016 05:44:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.1.203 with HTTP; Fri, 7 Oct 2016 05:44:16 -0700 (PDT) In-Reply-To: <1475841920.3515.94.camel@gunduz.org> References: <1475749506.3515.12.camel@gunduz.org> <1475841920.3515.94.camel@gunduz.org> From: Dave Page Date: Fri, 7 Oct 2016 13:44:16 +0100 Message-ID: Subject: Re: Running pgadmin4 as desktop application To: =?UTF-8?B?RGV2cmltIEfDvG5kw7x6?= Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.6 (--) 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 On Fri, Oct 7, 2016 at 1:05 PM, Devrim G=C3=BCnd=C3=BCz = 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=3D../../../../usr/lib/python2.7/site-packages/pgadmin4-w= eb/ >> PythonPath=3D"/usr/lib64/python2.7/site-packages/;/usr/lib/python2.7/sit= e- >> 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. --=20 Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers