Re: BUG #16370: pgadmin broken

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: advaith(dot)madhukar(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16370: pgadmin broken
Date: 2020-04-21 16:39:29
Message-ID: 20200421163929.GE19613@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


For PGAdmin support, see:

https://www.pgadmin.org/support/list/

or email
pgadmin-support(at)postgresql(dot)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(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)`
>

--
Bruce Momjian <bruce(at)momjian(dot)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 +

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2020-04-21 18:27:36 Re: BUG #16380: documentation: host[no]gssenc vs. address/IP-address/IP-mask fields
Previous Message Tom Lane 2020-04-21 15:37:08 Re: Backend stuck in tirigger.c:afterTriggerInvokeEvents forever