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)`