public inbox for [email protected]help / color / mirror / Atom feed
Runtime broken on Mac 5+ messages / 2 participants [nested] [flat]
* Runtime broken on Mac @ 2016-09-01 16:22 Dave Page <[email protected]> 0 siblings, 1 reply; 5+ messages in thread From: Dave Page @ 2016-09-01 16:22 UTC (permalink / raw) To: Ashesh Vashi <[email protected]>; Neel Patel <[email protected]>; +Cc: pgadmin-hackers Neel, Ashesh, re: https://git.postgresql.org/gitweb/?p=pgadmin4.git;a=commitdiff;h=a3e8ba93ae6968f13b331d9218d51b8e2d3... 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 -- Sent via pgadmin-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers ^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Runtime broken on Mac @ 2016-09-01 16:40 Ashesh Vashi <[email protected]> parent: Dave Page <[email protected]> 0 siblings, 1 reply; 5+ messages in thread From: Ashesh Vashi @ 2016-09-01 16:40 UTC (permalink / raw) To: Dave Page <[email protected]>; +Cc: neel patel <[email protected]>; pgadmin-hackers This might explain. https://redmine.postgresql.org/issues/1392 On Sep 1, 2016 21:52, "Dave Page" <[email protected]> wrote: > Neel, Ashesh, > > re: https://git.postgresql.org/gitweb/?p=pgadmin4.git;a=commitdiff;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 > ^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Runtime broken on Mac @ 2016-09-01 16:42 Ashesh Vashi <[email protected]> parent: Ashesh Vashi <[email protected]> 0 siblings, 1 reply; 5+ messages in thread From: Ashesh Vashi @ 2016-09-01 16:42 UTC (permalink / raw) To: Dave Page <[email protected]>; +Cc: neel patel <[email protected]>; pgadmin-hackers Also - during beta 4 release the runtime issue was fixed only by setting PYTHON_HOME. On Sep 1, 2016 22:10, "Ashesh Vashi" <[email protected]> wrote: > This might explain. > https://redmine.postgresql.org/issues/1392 > > On Sep 1, 2016 21:52, "Dave Page" <[email protected]> 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 >> > ^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Runtime broken on Mac @ 2016-09-01 17:05 Dave Page <[email protected]> parent: Ashesh Vashi <[email protected]> 0 siblings, 1 reply; 5+ messages in thread From: Dave Page @ 2016-09-01 17:05 UTC (permalink / raw) To: Ashesh Vashi <[email protected]>; +Cc: neel patel <[email protected]>; pgadmin-hackers 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 <[email protected]> wrote: > > Also - during beta 4 release the runtime issue was fixed only by setting PYTHON_HOME. > > >> On Sep 1, 2016 22:10, "Ashesh Vashi" <[email protected]> wrote: >> This might explain. >> https://redmine.postgresql.org/issues/1392 >> >> >>> On Sep 1, 2016 21:52, "Dave Page" <[email protected]> wrote: >>> Neel, Ashesh, >>> >>> re: https://git.postgresql.org/gitweb/?p=pgadmin4.git;a=commitdiff;h=a3e8ba93ae6968f13b331d9218d51b8e2d3... >>> >>> 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 ^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Runtime broken on Mac @ 2016-09-01 17:15 Ashesh Vashi <[email protected]> parent: Dave Page <[email protected]> 0 siblings, 0 replies; 5+ messages in thread From: Ashesh Vashi @ 2016-09-01 17:15 UTC (permalink / raw) To: Dave Page <[email protected]>; +Cc: neel patel <[email protected]>; pgadmin-hackers 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.enterprisedb.com; *http://www.linkedin.com/in/asheshvashi* <http://www.linkedin.com/in/asheshvashi; On Thu, Sep 1, 2016 at 10:35 PM, Dave Page <[email protected]> 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 <[email protected]> > wrote: > > Also - during beta 4 release the runtime issue was fixed only by setting > PYTHON_HOME. > > On Sep 1, 2016 22:10, "Ashesh Vashi" <[email protected]> > wrote: > >> This might explain. >> https://redmine.postgresql.org/issues/1392 >> >> On Sep 1, 2016 21:52, "Dave Page" <[email protected]> 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 >>> >> ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2016-09-01 17:15 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-09-01 16:22 Runtime broken on Mac Dave Page <[email protected]> 2016-09-01 16:40 ` Ashesh Vashi <[email protected]> 2016-09-01 16:42 ` Ashesh Vashi <[email protected]> 2016-09-01 17:05 ` Dave Page <[email protected]> 2016-09-01 17:15 ` Ashesh Vashi <[email protected]>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox