From: Bruce Momjian <bruce@momjian.us>
To: advaith.madhukar@gmail.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #16370: pgadmin broken
Date: Tue, 21 Apr 2020 12:39:29 -0400
Message-ID: <20200421163929.GE19613@momjian.us> (raw)
In-Reply-To: <16370-162d5d1f0ca29afd@postgresql.org>
References: <16370-162d5d1f0ca29afd@postgresql.org>
For PGAdmin support, see:
https://www.pgadmin.org/support/list/
or email
pgadmin-support@postgresql.org
---------------------------------------------------------------------------
On Fri, Apr 17, 2020 at 05:39:21AM +0000, PG Bug reporting form wrote:
> The following bug has been logged on the website:
>
> Bug reference: 16370
> Logged by: Advaith Madhukar
> Email address: advaith.madhukar@gmail.com
> PostgreSQL version: 12.2
> Operating system: Ubuntu
> Description:
>
> launching pgadmin4 from command line fails. this is due to the restructuring
> of werkzeug
> the following is the output of running pgadmin4
> `Traceback (most recent call last):
> File "/home/advaith/.local/bin/pgadmin4", line 5, in <module>
> from pgadmin4.pgAdmin4.__init__ import main
> File
> "/home/advaith/.local/lib/python3.8/site-packages/pgadmin4/pgAdmin4.py",
> line 40, in <module>
> import config
> File
> "/home/advaith/.local/lib/python3.8/site-packages/pgadmin4/config.py", line
> 30, in <module>
> from pgadmin.utils import env, IS_PY2, IS_WIN, fs_short_path
> File
> "/home/advaith/.local/lib/python3.8/site-packages/pgadmin4/pgadmin/__init__.py",
> line 25, in <module>
> from flask_security import Security, SQLAlchemyUserDatastore,
> current_user
> File
> "/home/advaith/.local/lib/python3.8/site-packages/flask_security/__init__.py",
> line 13, in <module>
> from .core import Security, RoleMixin, UserMixin, AnonymousUser,
> current_user
> File
> "/home/advaith/.local/lib/python3.8/site-packages/flask_security/core.py",
> line 28, in <module>
> from .forms import ChangePasswordForm, ConfirmRegisterForm, \
> File
> "/home/advaith/.local/lib/python3.8/site-packages/flask_security/forms.py",
> line 17, in <module>
> from flask_wtf import FlaskForm as BaseForm
> File
> "/home/advaith/.local/lib/python3.8/site-packages/flask_wtf/__init__.py",
> line 17, in <module>
> from .recaptcha import *
> File
> "/home/advaith/.local/lib/python3.8/site-packages/flask_wtf/recaptcha/__init__.py",
> line 2, in <module>
> from .fields import *
> File
> "/home/advaith/.local/lib/python3.8/site-packages/flask_wtf/recaptcha/fields.py",
> line 3, in <module>
> from . import widgets
> File
> "/home/advaith/.local/lib/python3.8/site-packages/flask_wtf/recaptcha/widgets.py",
> line 5, in <module>
> from werkzeug import url_encode
> ImportError: cannot import name 'url_encode' from 'werkzeug'
> (/home/advaith/.local/lib/python3.8/site-packages/werkzeug/__init__.py)`
>
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, advaith.madhukar@gmail.com
Subject: Re: BUG #16370: pgadmin broken
In-Reply-To: <20200421163929.GE19613@momjian.us>
References: <16370-162d5d1f0ca29afd@postgresql.org> <20200421163929.GE19613@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox