BUG #16370: pgadmin broken

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: advaith(dot)madhukar(at)gmail(dot)com
Subject: BUG #16370: pgadmin broken
Date: 2020-04-17 05:39:21
Message-ID: 16370-162d5d1f0ca29afd@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16370
Logged by: Advaith Madhukar
Email address: advaith(dot)madhukar(at)gmail(dot)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)`

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2020-04-17 06:50:43 Re: [BUG] non archived WAL removed during production crash recovery
Previous Message Jehan-Guillaume de Rorthais 2020-04-16 22:07:39 Re: [BUG] non archived WAL removed during production crash recovery