cannot replace missing PDF
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Version: Calibre 2.12
OS: OS X 10.9.5
hardware: MacBook Pro
Editing a book in ePub format. Two images were lost (don't know how but they were not removed
with an edit command). One of them was the cover, cover.jpg.
A check discovered the missing files. It recommended that I replace the files or remove the links.
I tried clicking on the errors and they showed the links. The links were correct, I wanted to
reload the files but the links didn't bring up a way to find the file.
I tried "import file into book" menu item and selected the correct cover.jpg using the browser.
It would not import the file with the error "cover.jpg already in manifest".
I never tried the other missing image.
I solved the problem by going back to an earlier version and repeating the edits.
I found a way to replace an existing file but NOT a way to replace a missing file.
If you want to import a file into the book and and entry for the file
already exists in the manifest, you have two possible approaches:
1) Open the opf file and manually remove the entry in the meanifest
2) Run the check book tool, it will show you an error that says some
thing like "Item in manifest is missing" along with an action to
auto-remove the manifest entry. Click that action and the manifest entry
will be removed for you.
After doing either of those you will be able to import the file again.
Someday, if I have some spare time, I may look into detecting this error
specifically and adding an easy workaround in the import file process
itself.
status invalid