ripe-book-35925
08/09/2024, 3:36 PMFile "/root/services/ui_backend_service/data/cache/get_log_file_action.py", line 150, in execute
total_lines = count_total_lines(local_paths)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/services/ui_backend_service/data/cache/get_log_file_action.py", line 293, in count_total_lines
for path in paths:
TypeError: 'NoneType' object is not iterable
I was having a hard time understanding what this error meant so I took a look at the logs for the container in Batch and found the following:
File "/usr/local/lib/python3.10/site-packages/metaflow/mflog/save_logs.py", line 20, in save_logs
pathspec = os.environ["MF_PATHSPEC"]
File "/usr/local/lib/python3.10/os.py", line 680, in __getitem__
raise KeyError(key) from None
KeyError: 'MF_PATHSPEC'
AFAIK this isn't an environment variable I am meant to set? Anyone have any ideas what might be going wrong?ripe-book-35925
08/09/2024, 3:43 PMmkdir: cannot create directory '/metaflow': Permission denied
and
tar: job.tar: Cannot open: Permission denied
crooked-jordan-29960
08/09/2024, 4:39 PM@batch(image="python:3.10", ...)
ripe-book-35925
08/09/2024, 4:49 PMpypi
or conda
decoratorscrooked-jordan-29960
08/09/2024, 4:54 PM