Re: KeyError: 'browser.forgot_password'

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: KeyError: 'browser.forgot_password'
Дата
Msg-id CA+OCxoxgZa8C3ZMHktzdOHxjH1H5+tdzK+_OD0WQ_pBjYG30Lw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: KeyError: 'browser.forgot_password'  (François Valenduc <francoisvalenduc@gmail.com>)
Список pgadmin-support
On Sun, Jan 20, 2019 at 8:35 PM François Valenduc
<francoisvalenduc@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]     <div class="col-7"><span
class="help-block">{{_('<a href="%(url)s" class="text-white">Forgotten your password</a>?',
url=url_for('browser.forgot_password'))}}</span></div> 
> [Sun Jan 20 21:18:11.325001 2019] [wsgi:error] [pid 10108] [remote 127.0.0.1:56030]   File
"/usr/local/pgadmin4/lib/python3.6/site-packages/flask/helpers.py",line 308, in url_for 
> [Sun Jan 20 21:18:11.325020 2019] [wsgi:error] [pid 10108] [remote 127.0.0.1:56030]
appctx.app.inject_url_defaults(endpoint,values) 
> [Sun Jan 20 21:18:11.325052 2019] [wsgi:error] [pid 10108] [remote 127.0.0.1:56030]   File
"/usr/local/pgadmin4/lib/python3.6/site-packages/flask/app.py",line 1786, in inject_url_defaults 
> [Sun Jan 20 21:18:11.325064 2019] [wsgi:error] [pid 10108] [remote 127.0.0.1:56030]     func(endpoint, values)
> [Sun Jan 20 21:18:11.325082 2019] [wsgi:error] [pid 10108] [remote 127.0.0.1:56030]   File
"/usr/local/pgadmin4/lib/python3.6/site-packages/pgadmin4/pgadmin/__init__.py",line 637, in add_internal_version 
> [Sun Jan 20 21:18:11.325094 2019] [wsgi:error] [pid 10108] [remote 127.0.0.1:56030]     urls = [url for url in
app.url_map.iter_rules(endpoint)]
> [Sun Jan 20 21:18:11.325112 2019] [wsgi:error] [pid 10108] [remote 127.0.0.1:56030]   File
"/usr/local/pgadmin4/lib/python3.6/site-packages/werkzeug/routing.py",line 1205, in iter_rules 
> [Sun Jan 20 21:18:11.325124 2019] [wsgi:error] [pid 10108] [remote 127.0.0.1:56030]     return
iter(self._rules_by_endpoint[endpoint])
> [Sun Jan 20 21:18:11.325172 2019] [wsgi:error] [pid 10108] [remote 127.0.0.1:56030] KeyError:
'browser.forgot_password'
>
> So, it uses the Flask version of the virtual environment, and still it doesn't work. I don't understand anything.

Can you please share config.py, and if they exist, config_local.py and
config_distro.py from your installation? I'd expect them to be found
in /usr/local/pgadmin4/lib/python3.6/site-packages/pgadmin4

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgadmin-support по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: error restoring backup in version 4.4.1
Следующее
От: Igor Neyman
Дата:
Сообщение: Checking for newer versions online in pgAdmin4 3.3