Total spawn time to start the pgAdmin4 server: 0.005 Sec
Traceback (most recent call last):
File "/usr/pgadmin4/web/pgAdmin4.py", line 93, in <module>
app = create_app()
^^^^^^^^^^^^
File "/usr/pgadmin4/web/pgadmin/__init__.py", line 789, in create_app
app.register_blueprint(module)
File "/usr/pgadmin4/venv/lib/python3.12/site-packages/flask/sansio/scaffold.py", line 47, in wrapper_func
return f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/pgadmin4/venv/lib/python3.12/site-packages/flask/sansio/app.py", line 595, in register_blueprint
blueprint.register(self, options)
File "/usr/pgadmin4/web/pgadmin/misc/__init__.py", line 199, in register
from .cloud import blueprint as module
File "/usr/pgadmin4/web/pgadmin/misc/cloud/__init__.py", line 30, in <module>
from pgadmin.misc.cloud.google import clear_google_session, deploy_on_google
File "/usr/pgadmin4/web/pgadmin/misc/cloud/google/__init__.py", line 28, in <module>
from googleapiclient import discovery
File "/usr/pgadmin4/venv/lib/python3.12/site-packages/googleapiclient/discovery.py", line 64, in <module>
from googleapiclient import _auth, mimeparse
File "/usr/pgadmin4/venv/lib/python3.12/site-packages/googleapiclient/_auth.py", line 34, in <module>
import oauth2client.client
File "/usr/lib/python3/dist-packages/oauth2client/client.py", line 45, in <module>
from oauth2client import crypt
File "/usr/lib/python3/dist-packages/oauth2client/crypt.py", line 45, in <module>
from oauth2client import _openssl_crypt
File "/usr/lib/python3/dist-packages/oauth2client/_openssl_crypt.py", line 16, in <module>
from OpenSSL import crypto
File "/usr/lib/python3/dist-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import SSL, crypto
File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 20, in <module>
from OpenSSL.crypto import (
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 765, in <module>
class X509Extension:
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 846, in X509Extension
_lib.GEN_EMAIL: "email",
^^^^^^^^^^^^^^
AttributeError: module 'lib' has no attribute 'GEN_EMAIL'
Describe the bug
I upgraded pgAdmin4 from 9.15 to 9.16, and it gets stuck on the loading screen, until a few minutes later when I'm presented with an error message (full error message below). I had to downgrade it back to 9.15 for it to work again.
To Reproduce
On Ubuntu 24.04, upgrade pgAdmin to 9.16 via apt-get. Then open pgAdmin desktop
Expected behavior
After upgrade, the application should open normally
Error message
Error message shown by pgAdmin:
Desktop (please complete the following information):