metaspace2020 / Lithops-METASPACE

Lithops-based Serverless implementation of the METASPACE spatial metabolomics annotation pipeline
12 stars 4 forks source link

daemonic processes are not allowed to have children #80

Closed gilv closed 4 years ago

gilv commented 4 years ago

The following exception occurs while executing build_database_local within Docker container based on ibmfunctions/pywren-metabolomics-3.7.5-1.7.0:1.0.0

raceback (most recent call last):
  File "/tmp/pywren-docker/pywren_ibm_cloud/function/jobrunner.py", line 270, in run
  File "/tmp/pywren.modules/3376a4/1/M000/00000/annotation_pipeline/molecular_db_local.py", line 20, in build_database_local
  File "/tmp/pywren.modules/3376a4/1/M000/00000/annotation_pipeline/molecular_db_local.py", line 66, in get_formulas_df
  File "/usr/local/lib/python3.7/concurrent/futures/process.py", line 671, in map
  File "/usr/local/lib/python3.7/concurrent/futures/_base.py", line 587, in map
  File "/usr/local/lib/python3.7/concurrent/futures/_base.py", line 587, in <listcomp>
  File "/usr/local/lib/python3.7/concurrent/futures/process.py", line 641, in submit
  File "/usr/local/lib/python3.7/concurrent/futures/process.py", line 583, in _start_queue_management_thread
  File "/usr/local/lib/python3.7/concurrent/futures/process.py", line 607, in _adjust_process_count
  File "/usr/local/lib/python3.7/multiprocessing/process.py", line 110, in start
AssertionError: daemonic processes are not allowed to have children

This might be relevant @LachlanStuart we need your magic touch to resolve it :)