Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with PAGER installation #307

Open
giuliasgattoni opened this issue Dec 12, 2022 · 0 comments
Open

Problem with PAGER installation #307

giuliasgattoni opened this issue Dec 12, 2022 · 0 comments

Comments

@giuliasgattoni
Copy link

I tried to install Pager on MacOS Big Sur 11.5.2 and we get this error:
(pager) Giulias-MacBook-Pro:pager_NEW giulia$ pager --help Traceback (most recent call last): File "/Applications/anaconda3/envs/pager/bin/pager", line 7, in <module> exec(compile(f.read(), __file__, 'exec')) File "/Users/giulia/Dropbox/INGV/Aristotle/PAGER/pager_NEW/bin/pager", line 10, in <module> from losspager.run.pager_main import main File "/Users/giulia/Dropbox/INGV/Aristotle/PAGER/pager_NEW/losspager/run/pager_main.py", line 13, in <module> from losspager.utils.admin import PagerAdmin, split_event, transfer File "/Users/giulia/Dropbox/INGV/Aristotle/PAGER/pager_NEW/losspager/utils/admin.py", line 19, in <module> from impactutils.transfer.factory import get_sender_class File "/Applications/anaconda3/envs/pager/lib/python3.8/site-packages/impactutils/transfer/factory.py", line 5, in <module> from .securesender import SecureSender File "/Applications/anaconda3/envs/pager/lib/python3.8/site-packages/impactutils/transfer/securesender.py", line 10, in <module> from paramiko import SSHClient File "/Applications/anaconda3/envs/pager/lib/python3.8/site-packages/paramiko/__init__.py", line 22, in <module> from paramiko.transport import SecurityOptions, Transport File "/Applications/anaconda3/envs/pager/lib/python3.8/site-packages/paramiko/transport.py", line 129, in <module> class Transport(threading.Thread, ClosingContextManager): File "/Applications/anaconda3/envs/pager/lib/python3.8/site-packages/paramiko/transport.py", line 190, in Transport if KexCurve25519.is_available(): File "/Applications/anaconda3/envs/pager/lib/python3.8/site-packages/paramiko/kex_curve25519.py", line 30, in is_available X25519PrivateKey.generate() File "/Applications/anaconda3/envs/pager/lib/python3.8/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py", line 39, in generate from cryptography.hazmat.backends.openssl.backend import backend File "/Applications/anaconda3/envs/pager/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/__init__.py", line 6, in <module> from cryptography.hazmat.backends.openssl.backend import backend File "/Applications/anaconda3/envs/pager/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 63, in <module> from cryptography.hazmat.bindings.openssl import binding File "/Applications/anaconda3/envs/pager/lib/python3.8/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 14, in <module> from cryptography.hazmat.bindings._openssl import ffi, lib ImportError: dlopen(/Applications/anaconda3/envs/pager/lib/python3.8/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so, 2): Library not loaded: @rpath/libssl.1.1.dylib Referenced from: /Applications/anaconda3/envs/pager/lib/python3.8/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so Reason: image not found

Since the error is related to the libssl1.1, we changed the version of openssl set in install.sh from openssl>=1.1.1 to openssl=1.1.1 and now the command pager --help works but when trying to run pager with a shakemap grid we get this error:
(pager) Giulias-MacBook-Pro:northridge giulia$ pager northridge_grid.xml /Applications/anaconda3/envs/pager/lib/python3.8/site-packages/paramiko/transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish, Traceback (most recent call last): File "/Applications/anaconda3/envs/pager/bin/pager", line 7, in <module> exec(compile(f.read(), __file__, 'exec')) File "/Users/giulia/Dropbox/INGV/Aristotle/PAGER/pager_NEW/bin/pager", line 80, in <module> config = read_config() File "/Users/giulia/Dropbox/INGV/Aristotle/PAGER/pager_NEW/losspager/utils/config.py", line 23, in read_config raise PagerException( losspager.utils.exception.PagerException: 'Config file could not be found at None.

Could you help us fix the issue?

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant