Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 08-15-2017, 07:08 AM   #1
Googa
Junior Member
Googa began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2017
Device: Teclast
Error when editing metadata - Old file/folder can't get deleted

Hey,

when I edit the metadata of a book, it generates a new folder with the new name, but can't delete the original folder. There is always an error message that the file is already in use and can't be deleted.
I tried everything, checking permissions of the library folder, restarting calibre, restarting windos...
Every time after editing something in the medadata like the name of the book, the old folder stays in the library folder. I can delete in manually then(it's not blocked in Windows) and just keep the new updated folder, but it's a lot of work.

Any idea whats causing this error?



calibre, version 3.6.0
FEHLER: Nicht abgefangener Fehler: <b>error</b>32, 'DeleteFile', 'Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird.')

calibre 3.6 Portable embedded-python: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '7', '6.1.7601')
Python 2.7.12+
Windows: ('7', '6.1.7601', 'SP1', u'Multiprocessor Free')
Interface language: de
Traceback (most recent call last):
File "site-packages\calibre\gui2\metadata\single.py", line 604, in accept
File "site-packages\calibre\gui2\metadata\single.py", line 579, in apply_changes
File "site-packages\calibre\gui2\metadata\basic_widgets.py", line 220, in commit
File "site-packages\calibre\db\legacy.py", line 824, in func
File "site-packages\calibre\db\cache.py", line 62, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 1095, in set_field
File "site-packages\calibre\db\cache.py", line 1109, in update_path
File "site-packages\calibre\db\backend.py", line 1587, in update_path
File "site-packages\calibre\utils\filenames.py", line 461, in delete_originals
error: (32, 'DeleteFile', 'Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird.')
Googa is offline   Reply With Quote
Old 08-15-2017, 08:41 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error means some other process is accessing files in the calibre library at the same time as calibre. Typical culprits are antivirusd programs and file sync programs such as dropbox.
kovidgoyal is offline   Reply With Quote
Old 08-16-2017, 03:09 AM   #3
Googa
Junior Member
Googa began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2017
Device: Teclast
Thanks for the help.

I copied the Calibre and the Library folder to another computer and it works.

Maybe it's the antivirus, as I tested it on a company laptop, which is quite restricted.
Googa is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error importing/editing metadata with files from Feedbooks - Calibre 1.48 Windows x64 goyta Library Management 5 08-10-2014 05:52 AM
Locked File message when editing metadata madelonw Library Management 1 09-29-2013 06:17 PM
Error Messages after editing Metadata mogli@home Calibre 7 03-15-2013 01:28 AM
Asset Folder Reading File Not found Exception Error rajaramanperumal General Discussions 2 06-17-2012 03:13 AM
Deleted the metadata.db file bmwr1200c Calibre 6 08-18-2011 10:45 AM


All times are GMT -4. The time now is 04:34 PM.


MobileRead.com is a privately owned, operated and funded community.