View Single Post
Old 06-26-2017, 11:21 PM   #38
SigilBear
Banned
SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.SigilBear ought to be getting tired of karma fortunes by now.
 
Posts: 244
Karma: 2112680
Join Date: Jan 2017
Device: iBooks
Quote:
Originally Posted by kovidgoyal View Post
Just FYI, Apple's crazy policy of deleting "expired" temp files has bitten me in calibre as well. The solution is to not use /tmp as the temporary directory. Instead use the user cache directory as the temporary directory. You can get that by passing _CS_DARWIN_USER_CACHE_DIR to the confstr() function. That is what calibre does on macOS to work around this issue.
Wow, thanks for verifying that. I don't understand what you mean by "passing _CS_DARWIN_USER_CACHE_DIR to the confstr() function," though. I assume that's a fix specific to Calibre? I think I fixed my problem by just creating a custom folder per KevinH's instructions.

I'm going to spend some more time learning about Calibre. If I remember correctly, it allows you to put images in subfolders, which is something Sigil can't do (I think). I have to revisit that thread. It's just a bit of a pain having over 500 images in one "Images" folder.

Hopefully, I'll be past the learning curve when I start working on my third ePub.
SigilBear is offline   Reply With Quote