riga / law

Build large-scale task workflows: luigi + job submission + remote targets + environment sandboxing using Docker/Singularity
http://law.readthedocs.io
BSD 3-Clause "New" or "Revised" License
98 stars 41 forks source link

Failure if cache for remote FS is not configured #105

Closed mschnepf closed 3 years ago

mschnepf commented 4 years ago

If no cache is configured for wlcg_fs in law.cfg, law crashed with

UnboundLocalError: local variable 'lpath' referenced before assignment

https://github.com/riga/law/blob/1c846e171bad0d3c76dd990d4b260d2e91eae57e/law/target/remote.py#L1098-L1111

riga commented 3 years ago

Hi @mschnepf ,

sorry, this issue slipped through completely, but thanks for reporting!