KeyError after deleting unreferenced file
Bug #1632897 reported by
Matthew Kidd
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I can reliably generate a KeyError in the following scenario.
Run check in the book editor returns two related errors of this form:
The file foo is not referenced
The file foo is not listed in the manifest
At this point if I remove the foo file by right clicking on it in the Files Browser and deleting it, clicking on the second error will generate the KeyError. See attached screenshot. Though the exception is unhandled, it doesn't bring down the e-book editor, so it seems like a benign bug, mostly just confusing to users who don't think like programmers.
To post a comment you must log in.
I cannot reproduce this with the steps you described. Click the Show
details button on the error message and post the full traceback.
status incomplete