askap-craco / CELEBI

The CRAFT Effortless Localisation and Enhanced Burst Inspection Pipeline
MIT License
4 stars 2 forks source link

Misplaced 'requests' module #441

Closed marcinglowacki closed 1 year ago

marcinglowacki commented 1 year ago

A run of the pipeline failed with the 'requests' Python module not found, affecting the offset calculation. The origianl error log showed:

_[mglowack@farnarkle2 processing]$ tail -f frb210912.out raise IOError("%s not found." % path) OSError: offset0.dat not found.

Work dir: /fred/oz002/askap/craft/craco/processing/work/210912/72/06bba3c56a0191b3157995f6d5d61c

Tip: view the complete command output by changing to the process work dir and entering the command cat .command.out_

The .command.log suggests the issue starts with a "ModuleNotFoundError: No module named 'requests'" issue.

The fix was to adjust the setup_proc script to add requests to the PYTHONPATH, alongside correctly sourcing setup_parseltongue for loadfits.