Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can not open the file containing the next chapter of a book (epub, macOS) #158

Open
heikkil opened this issue Dec 24, 2021 · 0 comments
Open

Comments

@heikkil
Copy link

heikkil commented Dec 24, 2021

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/)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant