Can not open the file containing the next chapter of a book (epub, macOS)
heikkil opened this issue · comments
When I use org-noter to open an epub file, I can navigate the various chapters of a book through the table of contents with ease. When I start reading and spend a longish time (half a day or longer) going through a chapter and try to move on to the next one (n), I get an error like this:
nov-slurp: Opening input file: No such file or directory, /var/folders/_q/mpt1jyp542l9v1fpcxvw89nnz00b0n/T/nov-RmmA9X.epub/OEBPS/xhtml/Auth_9898989898998_epub3_c11_r1.xhtml
At this point, only directory structure remains under nov-nnnnnn.epub ,all data files have gone.
It clearly caused by the epub file being uncompressed to a temporary location that gets garbage collected at some point. The question is how to prevent that?
To continue, I reactivate org-noter.
I am running macOS Monteray (but the problem has persisted over two major upgrades, the same applies to Emacs and Org mode versions)
GNU Emacs 28.0.90 (build 1, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.7 (Build 19H1519)) of 2021-12-05
Org mode version 9.5.1 (release_9.5.1-11-g96d91b @ /Applications/Emacs.app/Contents/Resources/lisp/org/)