I run the auto-archiver from source, using docker for the wacz_enricher.
I've found that if I have 2 consecutive items to archive, then the second one with throw an exception when any filesystem call is made from Python after running the first wacz_enricher
eg when a Telethon archiver is called (as it reads a .session file).
# on the second item any filesystem call will throw an exception eg this throw with can't find file !
os.getcwd()
My solution is to have a directory volume for docker to write to outside of the directory where the python script is being called from.
I run the auto-archiver from source, using docker for the wacz_enricher.
I've found that if I have 2 consecutive items to archive, then the second one with throw an exception when any filesystem call is made from Python after running the first wacz_enricher
eg when a Telethon archiver is called (as it reads a .session file).
My solution is to have a directory volume for docker to write to outside of the directory where the python script is being called from.
https://github.com/djhmateer/auto-archiver/blob/836fbd7733d46ea14fa9615fbda691ad6234f1f6/src/auto_archiver/enrichers/wacz_enricher.py#L105
so it runs
This is allowing me to run the wacz_enricher on all links archived.