Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-04-2016, 01:16 PM   #1
Whedon
Junior Member
Whedon began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2016
Device: Kindle Paperwhite
Can I do anything to rectify calibre/dropbox editing error now or is it too late?

I've been doing research this morning on an issue that I started encountering since December. I was doing a big library metadata maintenance and started getting errors such as:

Quote:
calibre, version 2.45.0
ERROR: Permission denied: Could not change the on disk location of this book. Is it open in another program?

Locked file: d:\dropbox\calibre library\george r.r. martin\a dance with dragons (18)\cover.jpg

Traceback (most recent call last):
File "site-packages\calibre\gui2\library\models.py", line 1054, in setData
File "site-packages\calibre\gui2\library\models.py", line 1128, in _set_data
File "site-packages\calibre\db\legacy.py", line 438, in set
File "site-packages\calibre\db\cache.py", line 57, in call_func_with_lock
File "site-packages\calibre\db\cache.py", line 1061, in set_field
File "site-packages\calibre\db\cache.py", line 1075, in update_path
File "site-packages\calibre\db\backend.py", line 1492, in update_path
File "site-packages\calibre\utils\filenames.py", line 374, in __init__
IOError: [Errno 13] File is open in another process: u'd:\\dropbox\\calibre library\\george r.r. martin\\a dance with dragons (18)\\cover.jpg'
I have now found that to prevent this error (I keep my entire calibre library in Dropbox) that I should exit dropbox before making changes to library data, then restart dropbox and let it fully sync once finished editing files.

Well, obviously I didn't do that; I was in a hurry and just kept hitting OK on the error message when I initially couldn't figure out what was wrong after a quick google search. Is there anything I can do now, after the fact, to repair/sync/fix any files that may have popped up the error messages before I knew to turn Dropbox off? Start from scratch, resync it, ignore it because it doesn't really matter?

Thanks for reading!
Whedon is offline   Reply With Quote
Old 01-04-2016, 01:46 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Right-click on the Library icon, and run Library Maintenance ==> Check library

If it reports extra files, particularly Dropbox's "conflicted copies", you will need to resolve those conflicts.
If it reports missing files, you will need to find and restore those files.
eschwartz is offline   Reply With Quote
Advert
Old 01-04-2016, 02:16 PM   #3
Whedon
Junior Member
Whedon began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2016
Device: Kindle Paperwhite
Success. Found no errors in your Calibre library database. The files in your library match the information in the database.

No errors and all files match! I don't know how it reconciled all those pop-up error messages, but I'm so glad it did. Thank you very much for your guidance, I couldn't find that library option before posting because I hadn't ejected my kindle. So now it looks like I'm all sorted out, thank you again. Do I need to close the thread or mark solved or anything?
Whedon is offline   Reply With Quote
Old 01-04-2016, 02:21 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,778
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
The solution is to not use your library in a Sync directory or on Dropbox.

You can keep a copy of the library on Dropbox, but a local copy is what you need for your working copy.
JSWolf is offline   Reply With Quote
Old 01-04-2016, 03:45 PM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Whedon View Post
Success. Found no errors in your Calibre library database. The files in your library match the information in the database.

No errors and all files match! I don't know how it reconciled all those pop-up error messages, but I'm so glad it did. Thank you very much for your guidance, I couldn't find that library option before posting because I hadn't ejected my kindle. So now it looks like I'm all sorted out, thank you again.
Not every incorrect usage of syncing ends up with disaster striking.
Happy to help.

Do remember to be more careful in the future, you might not always be so lucky.

I've kept my main library directly in Dropbox for a long time, and disaster (and scary popups) never struck -- but I was always very careful to pause syncing while calibre is running.

Quote:
Do I need to close the thread or mark solved or anything?
Nothing needs to be done -- you've told us your resolution, anyone else who reads this thread will see that.
(Only moderators can close threads or change the title. MobileRead does not have a stated policy about doing so when questions are answered.)
eschwartz is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Moon+Reader and Dropbox Error RBraverman Android Devices 3 01-14-2014 02:51 PM
Error converting ePubs in Dropbox DMee Related Tools 22 07-26-2012 09:48 AM
Calibre 0.8.7: Error when editing a tag DrChiper Calibre 2 06-30-2011 06:23 PM
calibre and dropbox error modkindle Calibre 6 04-26-2010 10:57 PM


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


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