Bug 2128264 - pgadmin4-qt stopped launch
Summary: pgadmin4-qt stopped launch
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pgadmin4
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sandro Mani
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-20 12:44 UTC by Philippe Makowski
Modified: 2022-10-01 01:13 UTC (History)
1 user (show)

Fixed In Version: pgadmin4-6.12-6.fc36
Clone Of:
Environment:
Last Closed: 2022-10-01 01:13:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Philippe Makowski 2022-09-20 12:44:51 UTC
Description of problem:
Unable to launch

Version-Release number of selected component (if applicable):
pgadmin4-6.12-5.fc36.src.rpm

Steps to Reproduce:
1.pgadmin4-qt

Actual results:

Traceback (most recent call last):
  File "/usr/lib/pgadmin4/pgAdmin4.py", line 235, in <module>
    main()
  File "/usr/lib/pgadmin4/pgAdmin4.py", line 217, in main
    socketio.run(
  File "/usr/lib/python3.10/site-packages/flask_socketio/__init__.py", line 596, in run
    app.run(host=host, port=port, threaded=True,
  File "/usr/lib/python3.10/site-packages/flask/app.py", line 920, in run
    run_simple(t.cast(str, host), port, self, **options)
TypeError: run_simple() got an unexpected keyword argument 'allow_unsafe_werkzeug'

Comment 1 Sandro Mani 2022-09-20 13:41:54 UTC
What python-socketio version are you using?

Comment 2 Philippe Makowski 2022-09-20 14:59:49 UTC
I have python-socketio-5.7.1-1.fc36

Comment 3 Sandro Mani 2022-09-20 16:35:58 UTC
I take removing allow_unsafe_werkzeug=True from socketio.run in /usr/lib/pgadmin4/pgAdmin4.py, line 217 solves the issue?

Comment 4 Philippe Makowski 2022-09-22 09:50:17 UTC
yes removing it solves the issue.

Comment 5 Fedora Update System 2022-09-22 11:25:18 UTC
FEDORA-2022-da51c253f9 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-da51c253f9

Comment 6 Fedora Update System 2022-09-23 01:57:25 UTC
FEDORA-2022-da51c253f9 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-da51c253f9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-da51c253f9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-10-01 01:13:16 UTC
FEDORA-2022-da51c253f9 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.