Re: Unified server/desktop config

2017-08-17 Thread Dave Page
Thanks. Out of interest, what changes were required? All, this reinforces to me that this should be a v2.0 change. Other thoughts? On Mon, Aug 14, 2017 at 4:59 AM, Bing Xu wrote: > Hi hackers, > > We've reviewed this patch and it need us changing our own config_local.py > file. It's ok and we'l

Re: Unified server/desktop config

2017-08-13 Thread Bing Xu
Hi hackers, We've reviewed this patch and it need us changing our own config_local.py file. It's ok and we'll do the change in our configuration. Thanks, Bing & Violet On Wed, Aug 9, 2017 at 8:49 PM, Surinder Kumar < surinder.ku...@enterprisedb.com> wrote: > Hi > > This patch includes the fix w

Re: Unified server/desktop config

2017-08-09 Thread Surinder Kumar
Hi This patch includes the fix where this patch breaks when feature tests are run. Set builtins.SERVER_MODE if it is present in globals()['SERVER_MODE'] else set to None. Please find updated patch. Thanks, Surinder ​ On Wed, Aug 9, 2017 at 11:57 AM, Surinder Kumar < surinder.ku...@enterprisedb.

Re: Unified server/desktop config

2017-08-08 Thread Surinder Kumar
Sure, I will update. On Wed, Aug 9, 2017 at 11:17 AM, Dave Page wrote: > Please update the patch :-) > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK:http://www.enterprisedb.com > The Enterprise PostgreSQL Company > > On 9 Aug 2017, at 05:53, Surinde

Re: Unified server/desktop config

2017-08-08 Thread Dave Page
Please update the patch :-) -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK:http://www.enterprisedb.com The Enterprise PostgreSQL Company > On 9 Aug 2017, at 05:53, Surinder Kumar > wrote: > > Hi, > > I noticed that test cases don’t run and I got an error: >

Re: Unified server/desktop config

2017-08-08 Thread Surinder Kumar
Hi, I noticed that test cases don’t run and I got an error: (pgAdmin_27)Laptop195:regression surinder$ python runtests.py --pkg feature_tests Traceback (most recent call last): File "runtests.py", line 45, in import config File "/Users/surinder/Documents/Projects/pgadmin4/web/config.py"

Re: Unified server/desktop config

2017-08-08 Thread Dave Page
On Tue, Aug 8, 2017 at 11:27 AM, Surinder Kumar < surinder.ku...@enterprisedb.com> wrote: > On Tue, Aug 8, 2017 at 1:47 PM, Dave Page wrote: > > >> >> On Tue, Aug 8, 2017 at 7:18 AM, Surinder Kumar < >> surinder.ku...@enterprisedb.com> wrote: >> >>> Hi >>> >>> On Ubuntu-14.04, I got error Applica

Re: Unified server/desktop config

2017-08-08 Thread Surinder Kumar
On Tue, Aug 8, 2017 at 1:47 PM, Dave Page wrote: > > On Tue, Aug 8, 2017 at 7:18 AM, Surinder Kumar < > surinder.ku...@enterprisedb.com> wrote: > >> Hi >> >> On Ubuntu-14.04, I got error Application Server couldn't be contacted: >> >> *Steps performed:* >> >>- I have already installed pgAdmi

Re: Unified server/desktop config

2017-08-08 Thread Dave Page
On Tue, Aug 8, 2017 at 7:18 AM, Surinder Kumar < surinder.ku...@enterprisedb.com> wrote: > Hi > > On Ubuntu-14.04, I got error Application Server couldn't be contacted: > > *Steps performed:* > >- I have already installed pgAdmin4-1.4 which come with PostgreSQL-9.6 >installer. >then I

Re: Unified server/desktop config

2017-08-07 Thread Surinder Kumar
Hi On Ubuntu-14.04, I got error Application Server couldn't be contacted: *Steps performed:* - I have already installed pgAdmin4-1.4 which come with PostgreSQL-9.6 installer. then I run root@ubuntu:/opt/PostgreSQL/9.6/pgAdmin 4/bin# ./pgAdmin4./. - Now took latest git pull from HEAD

Re: Unified server/desktop config

2017-08-07 Thread Dave Page
On Mon, Aug 7, 2017 at 1:43 PM, Surinder Kumar < surinder.ku...@enterprisedb.com> wrote: > Hi, > > The patch seems to work in Runtime mode, but fails in Server mode with > error: > > (pgAdmin_27)Laptop195:pgadmin4 surinder$ python web/pgAdmin4.py > Traceback (most recent call last): > File "web/

Re: Unified server/desktop config

2017-08-07 Thread Surinder Kumar
Hi, The patch seems to work in Runtime mode, but fails in Server mode with error: (pgAdmin_27)Laptop195:pgadmin4 surinder$ python web/pgAdmin4.py Traceback (most recent call last): File "web/pgAdmin4.py", line 55, in exec(open(file_quote(setupfile), 'r').read()) File "", line 35, in F

Re: Unified server/desktop config

2017-08-07 Thread Surinder Kumar
On Mon, Aug 7, 2017 at 4:11 PM, Ashesh Vashi wrote: > On Mon, Aug 7, 2017 at 3:59 PM, Dave Page wrote: > >> Anyone? >> > Surinder - please give this one priority. > Sure ​.​ > > -- > > Thanks & Regards, > > Ashesh Vashi > EnterpriseDB INDIA: Enterprise PostgreSQL Company >

Re: Unified server/desktop config

2017-08-07 Thread Ashesh Vashi
On Mon, Aug 7, 2017 at 3:59 PM, Dave Page wrote: > Anyone? > Surinder - please give this one priority. -- Thanks & Regards, Ashesh Vashi EnterpriseDB INDIA: Enterprise PostgreSQL Company *http://www.linkedin.com/in/asheshvashi*

Re: Unified server/desktop config

2017-08-07 Thread Dave Page
Anyone? On Thu, Jul 20, 2017 at 5:03 PM, Dave Page wrote: > All, > > Attached is a patch that aims to allow us to have a standardised config > that will work out of the box for both web and desktop modes. It does this > by doing two things: > > 1) The runtime sets SERVER_MODE in the Python envir

Re: Unified server/desktop config

2017-07-20 Thread Dave Page
LOL! On Thu, Jul 20, 2017 at 5:53 PM, Murtuza Zabuawala < murtuza.zabuaw...@enterprisedb.com> wrote: > Oops sorry my bad, I did not removed it. > > -- > Regards, > Murtuza Zabuawala > EnterpriseDB: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > > On Thu, Jul 20, 2017 at 10:22 P

Re: Unified server/desktop config

2017-07-20 Thread Murtuza Zabuawala
Oops sorry my bad, I did not removed it. -- Regards, Murtuza Zabuawala EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company On Thu, Jul 20, 2017 at 10:22 PM, Murtuza Zabuawala < murtuza.zabuaw...@enterprisedb.com> wrote: > Hi Dave, > > Partial patch for feature test got in

Re: Unified server/desktop config

2017-07-20 Thread Murtuza Zabuawala
Hi Dave, Partial patch for feature test got included in you patch :) On Thu, Jul 20, 2017 at 9:33 PM, Dave Page wrote: > All, > > Attached is a patch that aims to allow us to have a standardised config > that will work out of the box for both web and desktop modes. It does this > by doing two

Unified server/desktop config

2017-07-20 Thread Dave Page
All, Attached is a patch that aims to allow us to have a standardised config that will work out of the box for both web and desktop modes. It does this by doing two things: 1) The runtime sets SERVER_MODE in the Python environment before starting the app. If this value is set, then it overrides t