Closed djhmateer closed 9 months ago
So I believe the issue with the release was in the assignment of self.docker_commands
here which would propagate to the following iteration the previous tmp_folder.
I'm not sure if you still see some other error (?)
fix to come shortly.
Thank you - this did fix 1 issue.. .have opened another issue for the getcwd issue.
In the latest ie todays release
wacz_enricher.py
https://github.com/bellingcat/auto-archiver/blob/main/src/auto_archiver/enrichers/wacz_enricher.py#L50The second time through ie mutiple lines in the spreadsheet, the os.path.abspath call fails even though the directory exists on the filesystem. I've tried a sleep command. It's like the underlying handle to the filesystem hasn't been updated or flushed. I'm on WSL2, so it could be that. Have hardcoded for now, and will report back if I learn more. Just thought I'd put this here in case any suggestions.
Here is the error
File "/mnt/c/dev/v6-auto-archiver/src/auto_archiver/core/orchestrator.py", line 88, in archive result.merge(a.download(result)) File "/mnt/c/dev/v6-auto-archiver/src/auto_archiver/enrichers/wacz_enricher.py", line 40, in download if self.enrich(result): File "/mnt/c/dev/v6-auto-archiver/src/auto_archiver/enrichers/wacz_enricher.py", line 58, in enrich bar = os.path.abspath(foo) File "/usr/lib/python3.10/posixpath.py", line 384, in abspath cwd = os.getcwd() FileNotFoundError: [Errno 2] No such file or directory