Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-10-2010, 06:56 AM   #16
jotran2003
Junior Member
jotran2003 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2008
Device: Sony prs-505
I think there's a problem with the beta version.
Two records of the same book is displayed.
jotran2003 is offline   Reply With Quote
Old 06-10-2010, 07:04 AM   #17
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by jotran2003 View Post
I think there's a problem with the beta version. Two records of the same book is displayed.
That's a little too vague to be of any help.

Are you saying out of 100s or 1000s of books you have that one is displayed twice? Or are you saying every book on your device is displayed twice or are you saying ....?????

Please add some detail to help the developers.
DoctorOhh is offline   Reply With Quote
Advert
Old 06-10-2010, 07:14 AM   #18
grizedale
kindle Convert
grizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toys
 
Posts: 188
Karma: 5628
Join Date: May 2010
Location: UK, County Durham
Device: kindle Oasis
I have installed the beta and thank you the 'Save to disc' function now works.

There is still a very long loading time once I unplug the USB though, in 0.6.55 it is 28 seconds, in this Beta it is 2 minutes:45 seconds.

Re the loading time, I have noticed that 0.7.1 puts a metadata.calibre in the root of my device, what purpose does this serve because I have deleted it to no detriment and the loading time is now back to 28 seconds.

Last edited by grizedale; 06-10-2010 at 09:37 AM. Reason: Loading time addition
grizedale is offline   Reply With Quote
Old 06-10-2010, 07:30 AM   #19
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: 11,738
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by jotran2003 View Post
I think there's a problem with the beta version.
Two records of the same book is displayed.
Do you two formats of the book on the device? For example, mobi and epub?
chaley is offline   Reply With Quote
Old 06-10-2010, 07:46 AM   #20
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: 11,738
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by grizedale View Post
I have installed the beta and thank you the 'Save to disc' function now works.

There is still a very long loading time once I unplug the USB though, in 0.6.55 it is 28 seconds, in this Beta it is 2 minutes:45 seconds.
I assume you have a Sony? The Sony reader decides from time to time to rescan all the books in the library. I know this happens when Sony's book ID changes, but it can happen at other times for mysterious reasons.

Calibre will change the Sony ID if there is a mismatch between Calibre's cache (the .metadata.calibre file you mention below) and the Sony database. A mismatch will always occur on the first insertion into 0.7. It can occur at later times if the metadata for a book changes.
Quote:
Re the loading time, I have noticed that 0.7.2 puts a metadata.calibre in the root of my device, what purpose does this serve because I have deleted it to no detriment and the loading time is now back to 28 seconds.
That file is calibre's metadata cache. If you delete it, calibre will rebuild it on next connect by scanning all the books on the device, considerably slowing down calibre-to-device connection. In addition, calibre will resend metadata for all files on the library that it also finds on the device, which may trigger collection rebuilding on the Sony. Finally, for books not matched, the collection information could be changed back to what they would have been when the book was originally put on the device.

The reason the Sony load time went back to 28 seconds is that during that connection, the Sony DB did not change in ways that forced a rescan. If a collection rebuild occurs, and if it changes anything, the Sony load time will be long on the next disconnect.

All in all, deleting that file is counter-indicated.
chaley is offline   Reply With Quote
Advert
Old 06-10-2010, 07:53 AM   #21
grizedale
kindle Convert
grizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toys
 
Posts: 188
Karma: 5628
Join Date: May 2010
Location: UK, County Durham
Device: kindle Oasis
but it is only 0.7.2 that puts the metadata.calibre file on my device, I have gone back to 0.6.55 and this file does not appear!
grizedale is offline   Reply With Quote
Old 06-10-2010, 07:55 AM   #22
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: 11,738
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by grizedale View Post
but it is only 0.7.2 that puts the metadata.calibre file on my device, I have gone back to 0.6.55 and this file does not appear!
Caching was added in 0.7.0. All versions of calibre from here on will have it.
chaley is offline   Reply With Quote
Old 06-10-2010, 08:01 AM   #23
grizedale
kindle Convert
grizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toys
 
Posts: 188
Karma: 5628
Join Date: May 2010
Location: UK, County Durham
Device: kindle Oasis
Quote:
Originally Posted by chaley View Post
Caching was added in 0.7.0. All versions of calibre from here on will have it.
Can there not be an option not to have this file installed? if not I will not be upgrading anytime soon, this is not a problem as 0.6.55 does everything I require.

I have also noticed that each time I open a new book on the device it formats for a short while and, again, this does not occur in 0.6.55
grizedale is offline   Reply With Quote
Old 06-10-2010, 08:26 AM   #24
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: 11,738
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
No. That file is critical to calibre's function. You are of course welcome to stay with the 0.6 series. Note, however, that there will be no further maintenance of it.

I don't understand your objection to the file's presence. On my PRS-300, I ran the following experiments (100 books on my device):
1. File present. Connect to the computer w/o calibre running. Disconnect. Sony time: 9 seconds.
2. Connect to the computer w/o calibre running. Delete the file. Disconnect. Sony time: 9 seconds.
3. Connect to the computer. Start Calibre. Calibre rebuilds the file. Disconnect. Sony time: 40 seconds. (This is expected because the file was rebuilt.)
4. Connect to the computer. Start Calibre. Disconnect. Sony time: 9 seconds.
5. Connect. Start Calibre. Add a book. Disconnect. Sony time: 41 seconds (it did a rescan).
6. Connect, calibre, disconnect. Sony time: 10 seconds
7. Connect, calibre, delete a book, disconnect. Sony time: 43 seconds (another rescan)
8. Connect, calibre, disconnect. Sony time: 9 seconds
9. Connect, delete the file, disconnect (no calibre): 10 seconds

As you can see, the presence or absence of the file makes no difference at all in the sony disconnect time. Running calibre also makes no difference. What makes a difference is changing something on the device.
chaley is offline   Reply With Quote
Old 06-10-2010, 08:38 AM   #25
grizedale
kindle Convert
grizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toysgrizedale shares his or her toys
 
Posts: 188
Karma: 5628
Join Date: May 2010
Location: UK, County Durham
Device: kindle Oasis
Chaley, thank you for your time and comments.

Looking at your results I could only assume it was something on my device causing this problem so, I backed up all my books, formatted my device, and, using version .7.1 reintroduced all my books and, I am happy to say, I am now getting the same reults as you.

Thanks again

Last edited by grizedale; 06-10-2010 at 09:46 AM.
grizedale is offline   Reply With Quote
Old 06-10-2010, 02:57 PM   #26
tafweb
Junior Member
tafweb began at the beginning.
 
tafweb's Avatar
 
Posts: 3
Karma: 10
Join Date: Dec 2009
Device: Sony PRS-505
Double records for same file

Quote:
Originally Posted by jotran2003 View Post
I think there's a problem with the beta version.
Two records of the same book is displayed.
I am getting the same. When I upload a revised version of a book Calibre seems both to update the existing record and also create a new record for the book, hence the book appears twice in Calibre even though there is only one copy on my Sony PRS-505. If I delete one of the records, both disappear! This is not a real problem as long as I remember to delete the original entry before uploading the revised one.
tafweb is offline   Reply With Quote
Old 06-10-2010, 03:07 PM   #27
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: 11,738
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by tafweb View Post
I am getting the same. When I upload a revised version of a book Calibre seems both to update the existing record and also create a new record for the book, hence the book appears twice in Calibre even though there is only one copy on my Sony PRS-505. If I delete one of the records, both disappear! This is not a real problem as long as I remember to delete the original entry before uploading the revised one.
Are you saying that it always creates two lines when you send an updated book to the device?

If so, have you changed the send-to-device template? Or used some other software to load the books? What I am really wondering is whether the book is in fact on the device twice, but in two different places. If this is true, things will get confused. Calibre's author and title matching will match both to the same book, probably creating two lines that could end up pointing at the same file. The Sony software will find both and create two records, but its collections will likely get messed up.

If you delete one in calibre then disconnect, the other should come back on the next connection.

Bottom line: if you change naming conventions, it is best to clean all books off the device and reload. If you use more than one piece of software to manage the device, ensure that the same book is not added by both of them.
chaley is offline   Reply With Quote
Old 06-11-2010, 09:02 AM   #28
tafweb
Junior Member
tafweb began at the beginning.
 
tafweb's Avatar
 
Posts: 3
Karma: 10
Join Date: Dec 2009
Device: Sony PRS-505
Re: Double records for same file

Quote:
Originally Posted by chaley View Post
Are you saying that it always creates two lines when you send an updated book to the device?

If so, have you changed the send-to-device template? Or used some other software to load the books? What I am really wondering is whether the book is in fact on the device twice, but in two different places. If this is true, things will get confused. Calibre's author and title matching will match both to the same book, probably creating two lines that could end up pointing at the same file. The Sony software will find both and create two records, but its collections will likely get messed up.

If you delete one in calibre then disconnect, the other should come back on the next connection.

Bottom line: if you change naming conventions, it is best to clean all books off the device and reload. If you use more than one piece of software to manage the device, ensure that the same book is not added by both of them.
Here is an example:
  1. Send new book to device - result: one entry on the list in Calibre for Card B.
  2. Send the same book to device again - result: two entries on the list in Calibre for Card B - both showing the book to be in the same location on the device. Confirmed only one book present on the actual device.
  3. Disconnect device
  4. Reconnect device - result: the book is still listed twice in Calibre.
  5. Delete one of the entries in Calibre - result: error message as follows:
    Code:
    =====================================
    ERROR: Error: Error communicating with device
    (3, 'The system cannot find the path specified')
    
    Traceback (most recent call last):
      File "site-packages\calibre\gui2\device.py", line 62, in run
      File "site-packages\calibre\gui2\device.py", line 288, in _sync_booklists
      File "site-packages\calibre\devices\prs505\driver.py", line 151, in sync_booklists
      File "site-packages\calibre\devices\prs505\sony_cache.py", line 343, in update
      File "site-packages\calibre\devices\prs505\sony_cache.py", line 426, in update_text_record
      File "genericpath.py", line 64, in getctime
    WindowsError: [Error 3] The system cannot find the path specified: u'S:\\Bairnsfather, Bruce\\Bullets and Billets\\Bullets and Billets - Bairnsfather, Bruce_2010.lrf'
    ==========================================
    The book is no longer present on the device but there is still one entry in Calibre's list for Card B.
  6. Delete remaining entry from Calibre's list - result: everything now back to normal.
tafweb is offline   Reply With Quote
Old 06-11-2010, 10:04 AM   #29
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: 11,738
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Thank you for the details!

It seems that while fixing a problem with metadata updating, I broke the test for identical books, with the result that two entries were put into the cache. This regression appeared in the 0.7.2 beta, and will disappear in the official 0.7.2 release.

If you find yourself in the situation where you have two lines for the same book, you can fix it by deleting the .metadata.cache file. You will, of course, pay the scan time penalty on your next connect to calibre, but you won't have doubled books.
chaley is offline   Reply With Quote
Old 06-11-2010, 03:46 PM   #30
slantybard
my parent's oops...
slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.
 
Posts: 464
Karma: 1477570
Join Date: Feb 2009
Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura ->iOS/L2
chaley - I was curious if you can comment on the philosophy behind changing how calibre handles metadata and the devices? Ie, why change from 0.6 series method and the new 0.7 series method. Thanks for any info.
slantybard is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Book covers not sending to device tdavis74 Calibre 5 07-25-2010 11:38 PM
PRS-505 sending PDF to device too much slow danizzz Sony Reader 3 07-07-2010 01:26 AM
PDF metadata not written sending to device joselitux Calibre 8 05-25-2010 12:03 AM
Sending E-Books to Device Lady Fitzgerald Calibre 3 05-16-2010 03:43 PM
default format when sending to device richreads Calibre 5 04-05-2010 04:20 PM


All times are GMT -4. The time now is 07:37 AM.


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