Library backup: Avoid infinite retries if converting metadata to backup OPF for a book fails. Simply fail to backup the metadata for that book. Fixes #1291142 [Memory Error/ Failed to convert to opf for id:](https://bugs.launchpad.net/calibre/+bug/1291142)

This commit is contained in:
Kovid Goyal 2014-03-12 09:10:40 +05:30
parent 737fde279d
commit 0e3362fd4b

View File

@ -93,6 +93,7 @@ class MetadataBackup(Thread):
except: except:
prints('Failed to convert to opf for id:', book_id) prints('Failed to convert to opf for id:', book_id)
traceback.print_exc() traceback.print_exc()
self.db.clear_dirtied(book_id, sequence)
return return
self.wait(self.scheduling_interval) self.wait(self.scheduling_interval)