Re: [pgAdmin4][Patch]: Properly handle builtins.SERVER_MODE variable when SERVER_MODE is not set

2017-09-18 Thread Surinder Kumar
Hi On Mon, Sep 18, 2017 at 3:05 PM, Dave Page wrote: > Hi > > I'd already sent a suggested fix for this to Ashesh. I've just pushed that > (it updates the WSGI file, not the config file). > ​Yes, It's a proper fix.​ ​I have tested with latest git pull and it works.​ > > On

Re: [pgAdmin4][Patch]: Properly handle builtins.SERVER_MODE variable when SERVER_MODE is not set

2017-09-18 Thread Dave Page
On Mon, Sep 18, 2017 at 7:18 AM, Harshal Dhumal wrote: > I think this is similar issue.. > https://redmine.postgresql.org/issues/2134 > > I don't think that's relevant any more - it's certainly working for me. Can you check please? -- Dave Page Blog:

Re: [pgAdmin4][Patch]: Properly handle builtins.SERVER_MODE variable when SERVER_MODE is not set

2017-09-18 Thread Dave Page
Hi I'd already sent a suggested fix for this to Ashesh. I've just pushed that (it updates the WSGI file, not the config file). On Mon, Sep 18, 2017 at 6:46 AM, Surinder Kumar < surinder.ku...@enterprisedb.com> wrote: > Hi > > While configuring pgAdmin4 with Apache mod_wsgi, it fails to run

Re: [pgAdmin4][Patch]: Properly handle builtins.SERVER_MODE variable when SERVER_MODE is not set

2017-09-18 Thread Harshal Dhumal
I think this is similar issue.. https://redmine.postgresql.org/issues/2134 On Mon, Sep 18, 2017 at 11:16 AM, Surinder Kumar < surinder.ku...@enterprisedb.com> wrote: > Hi > > While configuring pgAdmin4 with Apache mod_wsgi, it fails to run apache > server due to python error. > > [mod_wsgi

[pgAdmin4][Patch]: Properly handle builtins.SERVER_MODE variable when SERVER_MODE is not set

2017-09-17 Thread Surinder Kumar
Hi While configuring pgAdmin4 with Apache mod_wsgi, it fails to run apache server due to python error. [mod_wsgi (pid=12596): Target WSGI script '/opt/pgadmin4_2/virtualenv/lib/python2.7/site-packages/pgadmin4/pgAdmin4.wsgi' cannot be loaded as Python module. mod_wsgi (pid=12596): Exception