View Single Post
Old 03-12-2015, 10:56 PM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,767
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by wladdy View Post
Thanks again to BetterRed, who made me realize that the generation of the opf metadate files continues in the background way after the import has finished. Actually, I think that what cause my problems was quitting Calibre and disconnecting the external drive containing my library before the job had ended. Maybe a future version of Calibre could include a warning to neither quit nor eject while the library is being worked on in the background.

Anyway, problem solved! Onward to fresh ones...
@wladdy - AFAIK the background task will end even if there are opf writes pending, next time calibre is run the task is restarted, I assume its driven via a dirty flag in the metadata.db database.

But if you're pulling a usb then you should probably make sure there are no calibre processes hanging around before you do so. My Mac fu ain't up to telling you how best to do that

BTW the message from Kovid indicates he has fixed the bug you reported in post #3 - it'll be in the next release

BR
BetterRed is offline   Reply With Quote