Thread: Re: [pgadmin-support] Mac OS X error for pgAdmin 4.1.2
Can't start up pgAdmin on Mac OS X 10.10.5
The screen is flicking few times finally ending with:
Failed to connect to the pgAdmin application server. Click here to try again.
When I try from command line I can see there's some problem with libssl.1.0.0.dylib (see below).
Any ideas, can you help please?
>Does the signature on the appbundle verify?
codesign --verbose --verify /Applications/pgAdmin\ 4.app
/Applications/pgAdmin 4.app: valid on disk
/Applications/pgAdmin 4.app: satisfies its Designated Requirement
Fails when launching:
maciek in /Applications/pgAdmin 4.app/Contents/MacOS
○ → ./pgAdmin4
Python path: "/Applications/pgAdmin 4.app/Contents/Resources/venv/ lib/python/site-packages:/Syst em/Library/Frameworks/Python.f ramework/Versions/2.7/lib/pyth on2.7/lib-dynload:/Application s/pgAdmin 4.app/Contents/Resources/venv/ lib/python"
Python Home: "/Applications/pgAdmin 4.app/Contents/Resources/venv"
Webapp path: "/Applications/pgAdmin 4.app/Contents/Resources/web/p gAdmin4.py"
Traceback (most recent call last):
File "/Applications/pgAdmin 4.app/Contents/Resources/web/p gAdmin4.py", line 46, in <module>
app = create_app()
File "/Applications/pgAdmin 4.app/Contents/Resources/web/p gadmin/__init__.py", line 266, in create_app
driver.init_app(app)
File "/Applications/pgAdmin 4.app/Contents/Resources/web/p gadmin/utils/driver/__init__.p y", line 40, in init_app
DriverRegistry.load_drivers()
File "/Applications/pgAdmin 4.app/Contents/Resources/web/p gadmin/utils/driver/registry.p y", line 88, in load_drivers
module = import_module(module_name)
File "/Applications/pgAdmin 4.app/Contents/Resources/venv/ lib/python/importlib/__init__. py", line 37, in import_module
__import__(name)
File "/Applications/pgAdmin 4.app/Contents/Resources/web/p gadmin/utils/driver/psycopg2/_ _init__.py", line 23, in <module>
import psycopg2
File "/Applications/pgAdmin 4.app/Contents/Resources/venv/ lib/python/site-packages/psyco pg2/__init__.py", line 50, in <module>
from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: dlopen(/Applications/pgAdmin 4.app/Contents/Resources/venv/ lib/python/site-packages/psyco pg2/_psycopg.so, 2): Library not loaded: @loader_path/../../../../../.. /../Contents/Frameworks/libssl .1.0.0.dylib
Referenced from: /Applications/pgAdmin 4.app/Contents/Resources/venv/ lib/python/site-packages/psyco pg2/_psycopg.so
Reason: no suitable image found. Did find:
/Applications/pgAdmin 4.app/Contents/Resources/venv/ lib/python/site-packages/psyco pg2/../../../../../../../Conte nts/Frameworks/libssl.1.0.0.dy lib: code signature invalid for '/Applications/pgAdmin 4.app/Contents/Resources/venv/ lib/python/site-packages/psyco pg2/../../../../../../../Conte nts/Frameworks/libssl.1.0.0.dy lib'
/Applications/pgAdmin 4.app/Contents/Resources/venv/ lib/python/site-packages/psyco pg2/../../../../../../../Conte nts/Frameworks/libssl.1.0.0.dy lib: code signature invalid for '/Applications/pgAdmin 4.app/Contents/Resources/venv/ lib/python/site-packages/psyco pg2/../../../../../../../Conte nts/Frameworks/libssl.1.0.0.dy lib'
/usr/lib/libssl.1.0.0.dylib: code signature invalid for '/usr/lib/libssl.1.0.0.dylib'
Initial connection failed. Retrying in 2 seconds.
Initial connection failed. Retrying in 3 seconds.
Initial connection failed. Retrying in 4 seconds.
Initial connection failed after multiple attempts. Aborting.
Thank you,
Kind Regards
~Maciek
On 17 February 2017 at 10:11, Dave Page <dpage@postgresql.org> wrote:
The screen is flicking few times finally ending with:
Failed to connect to the pgAdmin application server. Click here to try again.
When I try from command line I can see there's some problem with libssl.1.0.0.dylib (see below).
Any ideas, can you help please?
>Does the signature on the appbundle verify?
codesign --verbose --verify /Applications/pgAdmin\ 4.app
/Applications/pgAdmin 4.app: valid on disk
/Applications/pgAdmin 4.app: satisfies its Designated Requirement
Fails when launching:
maciek in /Applications/pgAdmin 4.app/Contents/MacOS
○ → ./pgAdmin4
Python path: "/Applications/pgAdmin 4.app/Contents/Resources/venv/
Python Home: "/Applications/pgAdmin 4.app/Contents/Resources/venv"
Webapp path: "/Applications/pgAdmin 4.app/Contents/Resources/web/p
Traceback (most recent call last):
File "/Applications/pgAdmin 4.app/Contents/Resources/web/p
app = create_app()
File "/Applications/pgAdmin 4.app/Contents/Resources/web/p
driver.init_app(app)
File "/Applications/pgAdmin 4.app/Contents/Resources/web/p
DriverRegistry.load_drivers()
File "/Applications/pgAdmin 4.app/Contents/Resources/web/p
module = import_module(module_name)
File "/Applications/pgAdmin 4.app/Contents/Resources/venv/
__import__(name)
File "/Applications/pgAdmin 4.app/Contents/Resources/web/p
import psycopg2
File "/Applications/pgAdmin 4.app/Contents/Resources/venv/
from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: dlopen(/Applications/pgAdmin 4.app/Contents/Resources/venv/
Referenced from: /Applications/pgAdmin 4.app/Contents/Resources/venv/
Reason: no suitable image found. Did find:
/Applications/pgAdmin 4.app/Contents/Resources/venv/
/Applications/pgAdmin 4.app/Contents/Resources/venv/
/usr/lib/libssl.1.0.0.dylib: code signature invalid for '/usr/lib/libssl.1.0.0.dylib'
Initial connection failed. Retrying in 2 seconds.
Initial connection failed. Retrying in 3 seconds.
Initial connection failed. Retrying in 4 seconds.
Initial connection failed after multiple attempts. Aborting.
Thank you,
Kind Regards
~Maciek
On 17 February 2017 at 10:11, Dave Page <dpage@postgresql.org> wrote:
Please use the pgsql-support@postgresql.org mailing list for support.
Does the signature on the appbundle verify?codesign --verbose --verify /Applications/pgAdmin\ 4.app