steep-traffic-55869
08/22/2023, 8:43 AMTypeError: rename: src should be string, bytes or os.PathLike, not NoneType is error that happens during bootstrapping conda environment.
Deleting local folder .metaflow and deploying manually the flow again resolves the issue for a couple of days. But afterwards, the execution throws the same error again.
Any ideas what can cause this behaviour?faint-rocket-4408
08/22/2023, 9:01 AMS3 , but didn't delete the local store .metaflow directory. Did you also delete the remote S3 store?steep-traffic-55869
08/22/2023, 9:03 AMMETAFLOW_DATASTORE_SYSROOT_S3?steep-traffic-55869
08/22/2023, 9:04 AMfaint-rocket-4408
08/22/2023, 9:07 AMMETAFLOW_DATASTORE_SYSROOT_S3 , it contains the flows and info about them, the artifacts.steep-traffic-55869
08/22/2023, 9:40 AMfaint-rocket-4408
08/22/2023, 12:30 PMpython flow.py --environment conda --datastore s3 run --with batch
• Delete S3 metaflow folder.
• Run again: python flow.py --environment conda --datastore s3 run --with batch - this throws the error you mentioned. The error is solved by deleting .metaflow folder.
I hope someone more knowledgeable has a better insight.
Can you replicate it deterministically?steep-traffic-55869
08/22/2023, 1:59 PM.metaflow, you haven’t got this error anymore?faint-rocket-4408
08/22/2023, 8:58 PM.metaflow/conda.dependencies does not correspond to the conda packages cached on S3 anymore because they were deleted.