Closed lucacozzuto closed 6 months ago
After researching online, I found that the issue stems from Python versions 3.9 and 3.10 generating less random default socket addresses for multiprocessing.Manager()
on Unix machines. https://stackoverflow.com/questions/74058016/how-do-you-run-multiple-aws-batch-jobs-with-multiprocessing-mp-manager-witho. As a workaround, you could try downgrading to Python 3.8 using conda in your environment.
Thank you @dawnmy ! I was using that version of python because it is the one that is embedded in biocontainers that is automatically generated from bioconda (https://github.com/bioconda/bioconda-recipes/blob/11dfefa5468e9425df9b3aed5c4c4765f57bb689/recipes/ribodetector/meta.yaml) I'll try to point them to this issue. Best,
Luca
I made a pull request: https://github.com/bioconda/bioconda-recipes/pull/45133
I will fix this issue in the next release with a workaround mentioned here:
https://github.com/python/cpython/issues/97514
by adding this line
multiprocessing.util.abstract_sockets_supported = False
For now, you can install ribodetector using pip
in a env with Python3.8
now it should be fixed with version 0.3.1. This version is already available in pip but may need few days to be available in coonda. Let me know if this new version works.
Dear developer, I'm having the following error when executing this tool on a HPC.
I tried also to reduce the number of jobs to 1 to avoid parallelization but not luck. Can you help me with this, please?
Luca