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
I haven't been able to run the app on macOS 10.15. Running docker-compose build would result in following errors:
#75 86.97 c++: internal compiler error: Killed (program cc1plus)
#75 86.97 Please submit a full bug report,
#75 86.97 with preprocessed source if appropriate.
#75 86.97 See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
#75 87.26 libwccl/CMakeFiles/wccl.dir/build.make:2070: recipe for target 'libwccl/CMakeFiles/wccl.dir/variables.cpp.o' failed
#75 87.26 make[2]: *** [libwccl/CMakeFiles/wccl.dir/variables.cpp.o] Error 4
This was probably caused by running out of memory (Docker on Mac also runs a Linux VM). Assigning 16 GB of RAM to Docker wouldn't solve the problem; I have managed to build the app after changing make -j to make -j1 in the Dockerfile.
There was another problem - running python3 stuff/python/liner2rmq.py -t "Pani Ala Nowak mieszkw w Zielonej Górze" would result in:
liner2_1 | INFO [pool-1-thread-4] (RabbitMqWorker.java:105) - Received path: '/var/folders/dz/7xrvhr2s43j71_k_f2zch2fw0000gn/T/c5tl6vhc'
liner2_1 | ERROR [pool-1-thread-4] (RabbitMqWorker.java:81) - An exception occured
liner2_1 | java.io.FileNotFoundException: /var/folders/dz/7xrvhr2s43j71_k_f2zch2fw0000gn/T/c5tl6vhc (No such file or directory)
stuff/python/liner2rmq.py uses the OS default temp dir, which in case of macOS is not /tmp. In my case running echo $TMPDIR yields /var/folders/dz/7xrvhr2s43j71_k_f2zch2fw0000gn/T/.
I have changed tempfile._get_default_tempdir() in liner2rmq.py (line 37) to '\tmp', which solved the problem.
Mounting the default temp directory to a volume also worked.
The text was updated successfully, but these errors were encountered:
I haven't been able to run the app on macOS 10.15. Running
docker-compose build
would result in following errors:This was probably caused by running out of memory (Docker on Mac also runs a Linux VM). Assigning 16 GB of RAM to Docker wouldn't solve the problem; I have managed to build the app after changing
make -j
tomake -j1
in the Dockerfile.There was another problem - running
python3 stuff/python/liner2rmq.py -t "Pani Ala Nowak mieszkw w Zielonej Górze"
would result in:Logs on the server side:
stuff/python/liner2rmq.py uses the OS default temp dir, which in case of macOS is not /tmp. In my case running
echo $TMPDIR
yields/var/folders/dz/7xrvhr2s43j71_k_f2zch2fw0000gn/T/
.I have changed
tempfile._get_default_tempdir()
in liner2rmq.py (line 37) to'\tmp'
, which solved the problem.Mounting the default temp directory to a volume also worked.
The text was updated successfully, but these errors were encountered: