FWIW, I looked into this error message. It is the result of a runtime error generated by your operating system, not Sigil.
In Sigil we uses a try/catch to catch runtime errors and Sigil does the following:
.//src/MainUI/MainWindow.cpp: Utility::DisplayExceptionErrorDialog(tr("Cannot load file %1: %2")
The %1 is the local tmp file name for the file in question:
/private/var/folders/mv/yh12pg850x565ymz2xwhxlvr0000gn/T/Sigil-SjhZWy/OEBPS/
and the %2 is the runtime error message from your OS:
Macro: int EISDIR
“Is a directory.” You cannot open a directory for writing, or create or remove hard links to it.
So it is telling you you do not have permissions in your own tmp directory to write or create the OEBPS folder. In fact your path to your tmp files looks strange. It should not point into /private/var/folders but instead to /private/tmp/.
Have you created your own tmp directory?
So either your zip is corrupt and it is not properly distinguishing folders from files, or your manifest is incorrect listing a folder as a file, or your permissions are not properly set to create files and folders in your own temp directory.
Sorry but that error message is not under the control of Sigil, it is from your underlying os. All Sigil can do is relay that runtime_error message.
KevinH
Quote:
Originally Posted by BiggusDiggus
Can someone explain this please: i have no glue what this means
Error info: Cannot load file /Users/xyz/Downloads/x.epub: /private/var/folders/mv/yh12pg850x565ymz2xwhxlvr0000gn/T/Sigil-SjhZWy/OEBPS/: Is a directory
Sigil version: 0.9.991
Runtime Qt: 5.12.3
Compiled Qt: 5.12.3
|