Open s-moon opened 5 months ago
If you look at the file in the test directory, it doesn't match the name of the containing folder:
There is a file in the cache: cache/epub/test/pg11.rdf. Because of this assumption that the filename will always match it's containing folder, this breaks, causing processing to fail.
I am using a Mac (Macbook Pro, 2023) with Python 3.11. I've installed the package in a virtual environment, with pip.
When trying to populate the cache:
I see this error:
I can ignore that book by editing parse/rdfparser.py with:
In ignoring the problem, the rest of the books are fine.
I believe there's perhaps a bad link in the rdf that it isn't happy about in the cache but I've taken a look at the file, and nothing jumps out. I did find this stackoverflow post, however:
https://stackoverflow.com/a/10457801
which I suspect may be relevant.
Any ideas?
Thanks, Stephen