Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsTu5-0005X8-RR for pgadmin-hackers@arkaria.postgresql.org; Fri, 07 Oct 2016 12:05:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bsTu5-0007S8-EM for pgadmin-hackers@arkaria.postgresql.org; Fri, 07 Oct 2016 12:05:29 +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 1bsTu5-0007S2-2Y for pgadmin-hackers@postgresql.org; Fri, 07 Oct 2016 12:05:29 +0000 Received: from ns5.gunduz.org ([107.170.136.15] helo=ns1.gunduz.org) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bsTu2-0005Q1-Ew for pgadmin-hackers@postgresql.org; Fri, 07 Oct 2016 12:05:27 +0000 Received: from asus-laptop-03-gunduz-org (unknown [88.248.122.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id 443553FCF5; Fri, 7 Oct 2016 12:05:24 +0000 (UTC) Message-ID: <1475841920.3515.94.camel@gunduz.org> Subject: Re: Running pgadmin4 as desktop application From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: Dave Page Cc: pgadmin-hackers Date: Fri, 07 Oct 2016 15:05:20 +0300 In-Reply-To: References: <1475749506.3515.12.camel@gunduz.org> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-A2svqt4/v09RNC0YxPbM" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 X-Pg-Spam-Score: -4.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 --=-A2svqt4/v09RNC0YxPbM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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". >=20 > I may change that for 1.1 to use a less obnoxious path. The contents > of it seem to need to be: >=20 > [General] > ApplicationPath=3D../../../../usr/lib/python2.7/site-packages/pgadmin4-we= b/ > PythonPath=3D"/usr/lib64/python2.7/site-packages/;/usr/lib/python2.7/site= - > packages/" >=20 > 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. >=20 > That was enough to get it to start for me. This did not work for me :( Cheers, --=20 Devrim G=C3=9CND=C3=9CZ EnterpriseDB: http://www.enterprisedb.com PostgreSQL Dan=C4=B1=C5=9Fman=C4=B1/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-A2svqt4/v09RNC0YxPbM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJX94+AAAoJENjDPf6Sz261NjUP/RzyYUdZci5vEqUEIx6msmzX mv7Y+INVbX0KfQfCQWG5Jt+neGdkHrRE4xFWQoWtqixjaaLDcma0W1axRmtiBzeV l93l7RFA8bY4AsV1xzGU1qvwk90QP3fNefRITUcNeIktg7di5ecBWOsD+r56D5Zh jaLabym3XT07+tcS1kBaP28H6PtMA1i+NTj4AEROyexOR6D/yAYBnqfhgvMQj+OF PEFq6LXIBhfaS1AFOjBwGl4+tJsv/gx5KGYmGcJoZ88OmHpcgsaUNGWpT7BI7otE u9mWKev2STQ/YPuK6tUZa5z9ZM2vPc9FXv6jWf6Ub/4l//QJCyYBU1oaxWxguwCn Lsln9iBidWvB/cGehi+DIMNn9757q2tOuTP279UwbIDDxtKkDw0hxibNhDIyrC51 e5KDl1+Zb+4IaIQIOep9TKwmPKYRXLCNdTJfwNWjDCcrLdIzkDQXaMm/tKF5yRWG 4UkoqVP3RiY9j6uwv1wUlTud+CC+w7g5eJzonzvYqLUXU9zOk7Mze6sYXGLrrVly i/as+4CVSgLeuoLpatzOQggujfG8XElQeTrelkfaGf6efwWl21+nRtnGielqsDAH AvY9slCmcWYoFIGS+BClaMJMCcCG18wEolGNcN4YxjiL0aUywyKId4sRTcp3RXDO hAhWnk+t3PoOQUbM0H2S =mmqm -----END PGP SIGNATURE----- --=-A2svqt4/v09RNC0YxPbM--