Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bfVbJ-0003Sv-Ng for pgadmin-hackers@arkaria.postgresql.org; Thu, 01 Sep 2016 17:16: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 1bfVbJ-0005Wk-7e for pgadmin-hackers@arkaria.postgresql.org; Thu, 01 Sep 2016 17:16: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 1bfVb5-0005IS-Pq for pgadmin-hackers@postgresql.org; Thu, 01 Sep 2016 17:16:15 +0000 Received: from mail-it0-x231.google.com ([2607:f8b0:4001:c0b::231]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bfVb2-0002XT-T7 for pgadmin-hackers@postgresql.org; Thu, 01 Sep 2016 17:16:14 +0000 Received: by mail-it0-x231.google.com with SMTP id i184so81503281itf.1 for ; Thu, 01 Sep 2016 10:16:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Kgu5pNdUi0fWf3Ugr6q+AdZW+LDnff93H8GE1yZIV2A=; b=Obp+3og2apug//OHgjO9nfp9EhmdVSFJAbxGJ8Bbt7Zl6t8klouF7PbJeDh1eP44mw igID5eXhdOHFpfSCJVK687hdRUtIeaX4aQiHwv45+rP/7O5nduhYvWoDLRByF5U94gbk vYAngrgWuygiTro8QY08Bfx75bN3ALwMkQwRHBajwxwEvat4yu2u3dpy7Mat4zWvzVM5 2AUl7m2YizmWHpI087si9F5Sc1YdCtVSd791Ex4Sm63jvjRP9M0X4j7ABR5sfIfK+lJi sb/WtOgXPXxp/02vKDKNE+zK9+Mjc7G03TdsVuhis2Q2tt+QC7MJ68A+62zbVcZSi9pm qtNQ== 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; bh=Kgu5pNdUi0fWf3Ugr6q+AdZW+LDnff93H8GE1yZIV2A=; b=m2TemndaP8mALzGqP8TiVXxMip8lJud0UvooNRTmU9DI9GqYBgVTt2xvGKaQIRB/As kK9JiU37vDddchcGYazP3Dtt0r9/rp0MPgcsZ+UY4dZwvQXAMdPknJYAoVpPb2V1UNxR WX14TyHh4m+xaF3gpF8CrPqZJWKVabqur7Lwsf37Y1JPY1fgawbo/IH8602XAK5Rb+yp qwCXpEG1WpDpHY2DJlDVcZR9FusnUWOVbOSRuDWTf+d12vd93RffdZvgqZLluI8YHY5r lAua7wwH5728KrNZP+AMTzBSYQ/NZy49GWV9tRyaFm0yIDtXtcFhlU8IcuB/Yah0upns a6Lw== X-Gm-Message-State: AE9vXwPCVd+nUUJ68tmIHWYw1CkZ40K4OKn9u5YMQCGZGnX2hboEvYf5lawc136o7H62DptCo9od2UC/GLV4CAD2 X-Received: by 10.36.124.141 with SMTP id a135mr21374329itd.25.1472750171874; Thu, 01 Sep 2016 10:16:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.50.212 with HTTP; Thu, 1 Sep 2016 10:15:51 -0700 (PDT) In-Reply-To: <96161F16-6577-42F1-8F6B-9DFF65CA3AAE@pgadmin.org> References: <96161F16-6577-42F1-8F6B-9DFF65CA3AAE@pgadmin.org> From: Ashesh Vashi Date: Thu, 1 Sep 2016 22:45:51 +0530 Message-ID: Subject: Re: Runtime broken on Mac To: Dave Page Cc: neel patel , pgadmin-hackers Content-Type: multipart/alternative; boundary=001a114a967ad677fe053b755e18 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 --001a114a967ad677fe053b755e18 Content-Type: text/plain; charset=UTF-8 Sorry. Unfortunately - we did not have access to the community build at that time. We can test the one click installer without setting PYTHON_HOME, if that works - we can unset it only for Mac. -- Thanks & Regards, Ashesh Vashi EnterpriseDB INDIA: Enterprise PostgreSQL Company *http://www.linkedin.com/in/asheshvashi* On Thu, Sep 1, 2016 at 10:35 PM, Dave Page wrote: > It should have fixed 1392, but it broke the community mac package (just > after beta 4) > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK:http://www.enterprisedb.com > The Enterprise PostgreSQL Company > > On 1 Sep 2016, at 17:42, Ashesh Vashi > wrote: > > Also - during beta 4 release the runtime issue was fixed only by setting > PYTHON_HOME. > > On Sep 1, 2016 22:10, "Ashesh Vashi" > wrote: > >> This might explain. >> https://redmine.postgresql.org/issues/1392 >> >> On Sep 1, 2016 21:52, "Dave Page" wrote: >> >>> Neel, Ashesh, >>> >>> re: https://git.postgresql.org/gitweb/?p=pgadmin4.git;a=commitdi >>> ff;h=a3e8ba93ae6968f13b331d9218d51b8e2d39f344 >>> >>> it seems that setting PYTHON_HOME breaks the runtime on Mac OSX. Doing >>> so means that the system installed Python libraries cannot be found, a >>> (large) number of which do not get installed into the virtualenv. >>> >>> Now I could modify the package build scripts to copy or symlink all >>> those extra files and directories into the virtual env (I would >>> probably symlink, as that's what happens with the rest of the venv), >>> but before I do - can you remind me why we needed to explicitly set it >>> anyway? >>> >>> -- >>> Dave Page >>> Blog: http://pgsnake.blogspot.com >>> Twitter: @pgsnake >>> >>> EnterpriseDB UK: http://www.enterprisedb.com >>> The Enterprise PostgreSQL Company >>> >> --001a114a967ad677fe053b755e18 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sorry.
Unfortunately - we did not have acce= ss to the community build at that time.

We can tes= t the one click installer without setting PYTHON_HOME, if that works - we c= an unset it only for Mac.

--

Thanks & Regards,

Ashesh= Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company

<= br>

<= a href=3D"http://www.linkedin.com/in/asheshvashi" target=3D"_blank">http= ://www.linkedin.com/in/asheshvashi


On Thu, Sep 1, 2016 at 10:35 PM, Dave Page <= span dir=3D"ltr"><dpage@pgadmin.org> wrote:
=
It should have fixed 1392, but it broke the communit= y mac package (just after beta 4)

--=C2=A0
Dave Page
Blog:=C2=A0http://pgsnake.blog= spot.com
Twitter: @pgsnake

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

Also - during beta 4 release the runtime issue was fixed only by = setting PYTHON_HOME.


On Sep 1, 2016 22= :10, "Ashesh Vashi" <ashesh.vashi@enterprisedb.com> wrote:=

This= might explain.
ht= tps://redmine.postgresql.org/issues/1392


On Sep 1, 2016 21= :52, "Dave Page" <dpage@pgadmin.org> wrote:
Neel, Ashesh,

re: https://git.postgresql.org/gitweb/?p=3Dpgadmin4.git;a= =3Dcommitdiff;h=3Da3e8ba93ae6968f13b331d9218d51b8e2d39f344
it seems that setting PYTHON_HOME breaks the runtime on Mac OSX. Doing
so means that the system installed Python libraries cannot be found, a
(large) number of which do not get installed into the virtualenv.

Now I could modify the package build scripts to copy or symlink all
those extra files and directories into the virtual env (I would
probably symlink, as that's what happens with the rest of the venv), but before I do - can you remind me why we needed to explicitly set it
anyway?

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

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

--001a114a967ad677fe053b755e18--