Re: KeyError: 'browser.forgot_password'

2019-01-21 Thread Khushboo Vashi
Hi, In config_local.py file, *SERVER_MODE='True'* should be *SERVER_MODE = True *without single quotes as this configuration expects boolean value not the string value. Thanks, Khushboo On Tue, Jan 22, 2019 at 12:58 AM François Valenduc < francoisvalen...@gmail.com> wrote: > Running pgAdmin4 w

Re: KeyError: 'browser.forgot_password'

2019-01-21 Thread Dave Page
On Sun, Jan 20, 2019 at 8:35 PM François Valenduc wrote: > > One more thing, the error message contains this: > > [Sun Jan 20 21:18:11.324947 2019] [wsgi:error] [pid 10108] [remote > 127.0.0.1:56030] {{ _(' href="%(url)s" class="text-white">Forgotten your password?', > url=url_for('browser.f

Re: KeyError: 'browser.forgot_password'

2019-01-21 Thread Khushboo Vashi
On Mon, Jan 21, 2019 at 2:04 AM François Valenduc < francoisvalen...@gmail.com> wrote: > One more thing, the error message contains this: > > [Sun Jan 20 21:18:11.324947 2019] [wsgi:error] [pid 10108] [remote > 127.0.0.1:56030] {{ _(' href="%(url)s" class="text-white">Forgotten your password?'

Re: KeyError: 'browser.forgot_password'

2019-01-20 Thread François Valenduc
One more thing, the error message contains this: [Sun Jan 20 21:18:11.324947 2019] [wsgi:error] [pid 10108] [remote 127.0.0.1:56030] {{ _('Forgotten your password?', url=url_for('browser.forgot_password')) }} [Sun Jan 20 21:18:11.325001 2019] [wsgi:error] [pid 10108] [remote 127.0.0.1:56030]  

Re: KeyError: 'browser.forgot_password'

2019-01-20 Thread François Valenduc
Reading the doc of mod_wgsi (https://modwsgi.readthedocs.io/en/develop/user-guides/virtual-environments.html), I also added this at the beginning of the pgAdmin4.wsgi file: python_home = '/usr/local/pgadmin4' activate_this = python_home + '/bin/activate_this.py' exec(open(activate_this).read())

Re: KeyError: 'browser.forgot_password'

2019-01-17 Thread Khushboo Vashi
On Thu, Jan 17, 2019 at 5:21 PM François Valenduc < francoisvalen...@gmail.com> wrote: > I have installed pdadmin 3.6 and Flask 1.0.2 with the packaging management > of gentoo and it works. > > I have also installed a virtual environment for pgadmin 4.1 (which I > installed from the wheel file wit

Re: KeyError: 'browser.forgot_password'

2019-01-17 Thread François Valenduc
I have installed pdadmin 3.6 and Flask 1.0.2 with the packaging management of gentoo and it works. I have also installed a virtual environment for pgadmin 4.1 (which I installed from the wheel file with pip). So the result of pip freeze | grep Flask in this environment is this: Flask==0.12.4 Flas

Re: KeyError: 'browser.forgot_password'

2019-01-17 Thread Khushboo Vashi
On Wed, Jan 16, 2019 at 5:37 PM François Valenduc < francoisvalen...@gmail.com> wrote: > I updated flask in the virtual environnement as you can see. Is is now. > But when I install pgadmib, I get this: > pgadmin4 4.1 has requirement Flask==0.12.4, but you'll have flask 1.0.2 > which is incompatib

Re: KeyError: 'browser.forgot_password'

2019-01-14 Thread Khushboo Vashi
Can you set up your virtual environment once again as I see your Flask version is 1.0.2 and we have 0.12.4 in pgAdmin 4. On Tue, Jan 15, 2019 at 2:16 AM François Valenduc < francoisvalen...@gmail.com> wrote: > Good evening, > > I am using pgadmin 3.6 on gentoo as a wsgi application (with apache)

Re: KeyError: 'browser.forgot_password'

2019-01-14 Thread Khushboo Vashi
Hi, Can you please share your Apache configuration file? On Tue, Jan 15, 2019 at 2:16 AM François Valenduc < francoisvalen...@gmail.com> wrote: > Good evening, > > I am using pgadmin 3.6 on gentoo as a wsgi application (with apache) and > I get an error 500. I find this in the logs: > > [Mon Jan