Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre Companion

Notices

Reply
 
Thread Tools Search this Thread
Old 08-02-2014, 10:43 AM   #1
library addict
Grand Sorcerer
library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.
 
library addict's Avatar
 
Posts: 13,115
Karma: 37197878
Join Date: Nov 2010
Location: USA
Device: Nexus 7 2, Samsung Galaxy Tab A 8" (retired=Sony PRS650, Kobo Mini)
Issue with CC V3.4.1

I updated to the new version of CC today.

I changed the settings to select "Sync only from calibre to CC" and re-added the lookup names for "Sync column for Read" and "Sync column for Date Read" (which I had removed a while back since I did not want the information from CC overwriting the information I had in Calibre).

I synced the main Calibre library with no issues.

Then I disconnected the device, stopped the wireless connection from calibre, switched to my vault library and turned the wireless connection back on and connected the device again.

I thought things seemed fine, but now looking at my device and Calibre all of the books which were on my device (Nexus 7) and in the vault library in Calibre, the "Date first read" and "Read" custom column information has been deleted from Calibre and does not show on the device. The other (non-custom) metadata appears unchanged (i.e. the rating still shows, date added, etc). Also my custom column that is not set as a lookup name in CC (Archive Date) was unaffected. This date shows in the Book Details in CC.


The Date first read and Read column loookup names are the same in both my main Calibre library and my vault library (#dateread and #read)

I have the Date read information backed up and can restore it to Calibre manually. There are around 177 books that had the columns' information erased. But I am not sure at exactly what point the information was erased in Calibre. Also I am unsure what caused this and how to prevent it from happeneing again. I know it was there before the update to CC/sync this morning.

Help!

Last edited by library addict; 08-02-2014 at 10:48 AM.
library addict is offline   Reply With Quote
Old 08-02-2014, 04:16 PM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I think that my implementation of the "only one way" doesn't work in the face of multiple libraries with identical column lookup names. What I did was prevent the user from updating the fields, thus ensuring that CC could not sync new values to calibre. Unfortunately, what you are doing is a different thing, having the "same" custom column in multiple libraries with different values. Connecting to one library and then to another is syncing the first to the second with no user modification of the information. I need to look at how to deal with this.

My recommendation is that because you are using multiple libraries with different content, you do not enter read column information until such time as I find a fix for this use case.
chaley is offline   Reply With Quote
Advert
Old 08-02-2014, 04:35 PM   #3
library addict
Grand Sorcerer
library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.
 
library addict's Avatar
 
Posts: 13,115
Karma: 37197878
Join Date: Nov 2010
Location: USA
Device: Nexus 7 2, Samsung Galaxy Tab A 8" (retired=Sony PRS650, Kobo Mini)
Okay. Thanks. I will manually re-input the dates into Calibre. I also will remove the checkmark to show read information, sync only from calibre to CC, and the lookup values in CC settings and await further instructions.

I appreciate the help.

Last edited by library addict; 08-02-2014 at 07:27 PM.
library addict is offline   Reply With Quote
Old 08-03-2014, 04:16 AM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Am I correct in assuming that the "vault" library contains different books from your "main" library? Specifically, a book on the device will match a book in only one of the two libraries?

If so, I think I know what happened. The first sync after setting the lookup names is special, intended to force a copy of the calibre values to CC's field. Subsequent syncs assume that this process has already happened. In your case, the "first sync" was with the main library. The "vault" library was a second sync, so calibre assumed that you had intentionally changed all matched books to empty when in fact for those books calibre's data had never been copied to CC.

A general fix for this is going to require a great deal of thought. It isn't a problem with the one-way sync option, but is instead a general problem when multiple physical libraries are being used. Each library should separately do the "first sync" processing. Also, it isn't at all clear what should happen if the same book is in more than one library.

The above notwithstanding, there is a workaround that should let you get past this problem. The steps are:
  1. Set the lookup names in CC.
  2. Make a copy of the metadata.db file for the main library (just for safety).
  3. Start calibre and open the main library.
  4. Connect CC as a wireless device and let it sync. Disconnect.
  5. Close calibre. Make a copy of the metadata.db file in the vault library, again just for safety.
  6. In CC, go to settings and "change" one of the lookup keys. Just open the dialog and tap OK. Don't actually change the value.
  7. Start calibre and switch to the vault library.
  8. Connect CC as a wireless device, let it sync, and disconnect.
If you have more libraries then repeat the last 4 steps for each library.

If things go wrong again (I don't think they will but ...), restore the saved metadata.db files to put your library back into the state you want.
chaley is offline   Reply With Quote
Old 08-03-2014, 07:11 AM   #5
library addict
Grand Sorcerer
library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.
 
library addict's Avatar
 
Posts: 13,115
Karma: 37197878
Join Date: Nov 2010
Location: USA
Device: Nexus 7 2, Samsung Galaxy Tab A 8" (retired=Sony PRS650, Kobo Mini)
No, a book is either in the main library or the vault library. I do not have the same book in both.

I will try the work around later this morning. Not at home at the moment.
library addict is offline   Reply With Quote
Advert
Old 08-03-2014, 09:47 AM   #6
library addict
Grand Sorcerer
library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.library addict ought to be getting tired of karma fortunes by now.
 
library addict's Avatar
 
Posts: 13,115
Karma: 37197878
Join Date: Nov 2010
Location: USA
Device: Nexus 7 2, Samsung Galaxy Tab A 8" (retired=Sony PRS650, Kobo Mini)
Okay that worked. Green check marks and date read info is now appearing in CC for the vault titles as well as the main library titles.

Thanks!
library addict is offline   Reply With Quote
Old 08-03-2014, 10:22 AM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by library addict View Post
Okay that worked. Green check marks and date read info is now appearing in CC for the vault titles as well as the main library titles.

Thanks!
Glad to hear it, both because it now works for you and because it corroborates my hypothesis about the base problem.
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil issue or iBooks issue? Tisha4870 Sigil 17 03-07-2014 07:29 PM
stylesheet issue ... plus dumb user issue x2far Sigil 7 03-09-2013 10:09 PM
Nook Simple Touch Glowlight - technological issue or quality-control issue? Dr. Drib Barnes & Noble NOOK 1 12-04-2012 01:32 PM
Hyperlinks Issue in NLT Bible (ebook or software issue)? myet01 Kobo Reader 5 07-29-2011 08:47 AM
Next issue..... DeathtoToasters iRex 5 12-05-2007 02:10 PM


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


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