Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bfV4x-0001x7-9T for pgadmin-hackers@arkaria.postgresql.org; Thu, 01 Sep 2016 16:43:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bfV4w-0004C2-Sp for pgadmin-hackers@arkaria.postgresql.org; Thu, 01 Sep 2016 16:43:02 +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 1bfV4j-0003xQ-Jd for pgadmin-hackers@postgresql.org; Thu, 01 Sep 2016 16:42:49 +0000 Received: from mail-it0-x233.google.com ([2607:f8b0:4001:c0b::233]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bfV4g-0001sb-Lp for pgadmin-hackers@postgresql.org; Thu, 01 Sep 2016 16:42:48 +0000 Received: by mail-it0-x233.google.com with SMTP id e124so77872579ith.0 for ; Thu, 01 Sep 2016 09:42:46 -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=KVJmhsb5BRz1sKd3P16NoRJfbeQCSu8nhy+F3ywlQsE=; b=tWiuz+tc9byJJppBW+hKTsuzXh+MLDwikaKHv6ciU9uYfu5GpT0S/ISu3qUOANRdFz FFkhkSaQDluRUUfPWzkWxnnn3TWyjJAnHQmmUjgfegkpMN+BC32awsgKngFWvd7lF21c C2VLMzJ+iu7t9r6AG54zo78nb81dskercgKA2A+P0uYgxN8UAzH6G57ki2bZ43nWAFhJ QXuibyY033GxLkui3FbrPBXRii/1LTTFSt/45MUZ4RHS/lMhNIabOcfpg4gyT4k3OhAg lCbSI7kgK4GzloYVy9kgpmnferk9Vt7AaS3rADLO+8uvioS3RmPL88ItAI5Amztglc6F klDw== 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=KVJmhsb5BRz1sKd3P16NoRJfbeQCSu8nhy+F3ywlQsE=; b=KzdKt9XPu/he2Vd25TvYA98tLnIjt7HnlVzgH0d5lRsm/HBl3EhY0Ir4e/ZkQfLF+g ZN+pHwP/XIKDXqHG8UDVC02esL3ptWw2qNalKVapjI/br4/SZiCqtUHvbtbQ3RvzrEcL rwuy/H5zPCdZtC2/DclegmiuDuL63mpdFBmUHUfHnDTL/yY+Z0OKePlMlxN55vl77QRP p9fx0naq2uKck6bnie38zWzdgJgNBd2M3jlwXlGOPfQJ4QHFsIlhcEa6lGaHJUtqr1+N I96h0A4QOcz3BQ9HqtNDiOXsFyPQelU8neiCHTXlJOHs2APYVu2GGhzjTOJzYSeZQqG/ 1ncA== X-Gm-Message-State: AE9vXwPBQKnQpQIl4HQDwAX9A0ZImtHOpLqRXVFao+9PsIGEFxEyIuafWAyITEc7W5x+jT7BAwMPz5SJCO6Z+086 X-Received: by 10.36.124.141 with SMTP id a135mr21179054itd.25.1472748165583; Thu, 01 Sep 2016 09:42:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.50.212 with HTTP; Thu, 1 Sep 2016 09:42:44 -0700 (PDT) Received: by 10.107.50.212 with HTTP; Thu, 1 Sep 2016 09:42:44 -0700 (PDT) In-Reply-To: References: From: Ashesh Vashi Date: Thu, 1 Sep 2016 22:12:44 +0530 Message-ID: Subject: Re: Runtime broken on Mac To: Dave Page Cc: neel patel , pgadmin-hackers Content-Type: multipart/alternative; boundary=001a114a967a4100a8053b74e702 X-Pg-Spam-Score: -2.3 (--) 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 --001a114a967a4100a8053b74e702 Content-Type: text/plain; charset=UTF-8 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 >> > --001a114a967a4100a8053b74e702 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Also - during beta 4 release the runtime issue was fixed onl= y 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
--001a114a967a4100a8053b74e702--