Embed metadata spawns infinite error popups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The 'Embed Metadata' button spawns infinite error popups if the selected pdf file is open in another app. The error popups only stop when the pdf file is closed in the other app.
This is the error message:
calibre, version 6.29.0
ERROR: Cannot open file or folder as it is in use: <p>Could not open the file: "E:\My Documents\Calibre default library\Will Terry\What They Don't Teach You in Art Sc (693)\What They Don't Teach You in Ar - Will Terry.pdf". It is already opened in the following programs:<div>Foxit Reader 9.7: C:\Program Files (x86)\Foxit Software\Foxit Reader\
calibre 6.29 embedded-python: True
Windows-
('Windows', '10', '10.0.19045')
Python 3.10.1
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 5, 0) && DeDRM (7, 2, 1) && Package KFX (from KFX Input) (2, 5, 0) && Action Chains (1, 18, 15) && Annotations (1, 17, 13) && Count Pages (1, 13, 4) && Embed Comic Metadata (1, 6, 6) && EpubMerge (2, 16, 0) && Extract ISBN (1, 6, 0) && Find Duplicates (1, 10, 8) && Goodreads (1, 7, 9) && ISFDB3 (1, 2, 2) && KFX metadata reader (from KFX Input) (2, 5, 0) && KFX Input (2, 5, 0) && Set KFX metadata (from KFX Output) (2, 3, 1) && KFX Output (2, 3, 1) && KePub Metadata Reader (3, 4, 3) && KePub Metadata Writer (3, 4, 3) && Kindle hi-res covers (0, 5, 0) && KindleUnpack - The Plugin (0, 83, 1) && Kobo Books (1, 9, 2) && Kobo Utilities (2, 16, 10) && KoboTouchExtended (3, 6, 4) && Modify ePub (1, 8, 2) && Obok DeDRM (7, 2, 1) && Quality Check (1, 13, 6) && Reading List (1, 15, 1)
Traceback (most recent call last):
File "calibre\
File "calibre\
File "calibre\
File "calibre\
PermissionError: [Errno 13] Permission denied: "E:\\My Documents\\Calibre default library\\Will Terry\\What They Don't Teach You in Art Sc (693)\\What They Don't Teach You in Ar - Will Terry.pdf"
Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.