So I'm trying to populate my local metadata cache with the Project Gutenberg corpus with the code supplied in their github [https://github.com/c-w/gutenberg#looking-up-meta-data]
from gutenberg.acquire import set_metadata_cache
from gutenberg.acquire.metadata import SqliteMetadataCache
cache = SqliteMetadataCache('/my/custom/location/cache.sqlite')
cache.populate()
set_metadata_cache(cache)
It appeared to be working okay (I was getting some errors, but it kept running). Then, like 10 hours in the page where I was running the Jupiter notebook that was running the code crashed:
This was the error the popped up on terminal:
However, this keeps popping up and then going away in my finder, even now:
And it appears the notebook with this code is still running according to Anaconda/Jupiter notebook:
Every time I try to open the notebook, though, it doesn't work. It just crashes.
I'm aware that this process of populating the cache can take a long time, upwards of 20 hours. I'm just unsure what's exactly happening at this point. Is the code actually still running and still populating the cache even though I can't see it? Should I restart my computer and run the code again? Would it start all over or restart from where it left off?