You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. First, thanks for making HiCAL available and so easy to spin up with Docker containers! It's made it much more convenient to test out.
The Problem
I recently ran into an error when trying to start HiCAL. I followed all of the instructions here and ran into the error on the last step (DOC_BIN=/data/athome4_sample.bin PARA_BIN=/data/athome4_para_sample.bin docker-compose -f HiCAL.yml up -d). I got the following error in the Django image, which prevented it from finishing bringing up the web server (i.e. you get a 502 Bad Gateway error when you navigate to http://localhost:9000/).
django_1 | Traceback (most recent call last):
django_1 | File "<stdin>", line 2, in<module>
django_1 | File "/usr/local/lib/python3.5/site-packages/psycopg2/__init__.py", line 50, in<module>
django_1 | from psycopg2._psycopg import ( # noqa
django_1 | ImportError: /usr/local/lib/python3.5/site-packages/psycopg2/.libs/libresolv-2-c4c53def.5.so: symbol __res_maybe_init version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
django_1 | Postgres is unavailable - sleeping
I did some searching and came across this thread that seems to indicate some issue with the psycopg2 binary.
The Fix
This issue seems to be solved by upgrading pyscopg2 to a newer version. I bumped the version to 2.8.0, which solved the issue for me.
I don't know enough about all of the interdependencies of this project or the new psycopg2 release to know if this affects anything else, but it at least fixed the issue for me.
System Setup
This was tested in Terminal on a Macbook running the Mojave OS 10.14.6 and Docker version 18.03.0-ce-mac60 (23751).
Let me know if you have any more questions about my setup or anything. Thanks!
The text was updated successfully, but these errors were encountered:
Hello. First, thanks for making HiCAL available and so easy to spin up with Docker containers! It's made it much more convenient to test out.
The Problem
I recently ran into an error when trying to start HiCAL. I followed all of the instructions here and ran into the error on the last step (
DOC_BIN=/data/athome4_sample.bin PARA_BIN=/data/athome4_para_sample.bin docker-compose -f HiCAL.yml up -d
). I got the following error in the Django image, which prevented it from finishing bringing up the web server (i.e. you get a502 Bad Gateway
error when you navigate to http://localhost:9000/).I did some searching and came across this thread that seems to indicate some issue with the
psycopg2
binary.The Fix
This issue seems to be solved by upgrading
pyscopg2
to a newer version. I bumped the version to2.8.0
, which solved the issue for me.I don't know enough about all of the interdependencies of this project or the new
psycopg2
release to know if this affects anything else, but it at least fixed the issue for me.System Setup
This was tested in Terminal on a Macbook running the Mojave OS 10.14.6 and Docker version 18.03.0-ce-mac60 (23751).
Let me know if you have any more questions about my setup or anything. Thanks!
The text was updated successfully, but these errors were encountered: