![]() |
#1 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Many Series are Out of Sequence in the Drawer
I don't know when this happened, could have been yesterday with the update or it could have been months ago, but I went to manually look up a series and it was not in the series list where I expected to find it. As it turns out many are out of order.
Here is the example, I was looking up Sisters of the Moon and it wasn't under S. Under the S I have the following that are out of place: Asian Saga Vorkosigan Saga Tales of the Sazi Island in the Sea of Time Golden Age of the Solar Clipper Black Company: Book of the South Bio of a Space Tyrant Emily the Strange Anna Strong Based on these out of place Series under S I guessed that Sisters of the Moon was under M and sure enough I found it there. I searched and found others out of place: Sabina Kane under K Confessions of Georgia Nicolson under N Aurora Teagarden under T Star Wars: The Thrawn Trilogy under T Once Upon a Time under T Sisterhood of the Traveling Pants under T Witch World: The Turning under T Sembia: Gateway to the Realms under R Quest of the Riddle Master under R Riftwar: Legacy under R where it should be Inspector Ian Rutledge Mysteries under R Nathan "Hollywood Nate" Weiss under " America 2040 under 2 Area 51 under 5 Brothers of the Absinthe Club under A Ophelia and Abby under A Kissed by an Angel under A Shadows of the Apt under A I could go on for pages. Is mine a unique corruption? Is there anything you might want me to try? I did run clean database after I discovered the problem. Now my database is clean and out of order. Titles and Authors seem fine. It just seems to be Series. Last edited by DoctorOhh; 02-23-2014 at 04:24 AM. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Doesn't happen for me, but then I might not have the right data.
CC uses the series sort value that comes from calibre, controlled by the tweak save_template_title_series_sorting. If the tweak is not 'strictly_alphabetic' then calibre uses the title_sort rules for the series. My guess is that you have changed the title sort rules so that "the" and "and" are significant no matter where they appear in the series (or title). Could you check that? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Ok so most likely it is unique to me. All I usually use in CC is my To Be Read tag so this could have been this way for a long time.
I checked it and it looked normal, however it was bold. I reset the tweak and now it is not bold. Still looks the same to me. When I get home I'll connect and see if the metadata changes. Thanks for the feedback. |
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Difficult-to-see single character changes in regexps can have a huge effect. I hope the reset fixes it. |
|
![]() |
![]() |
![]() |
#5 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
If things were so askew shouldn't that have shown (which it didn't) in calibre's library? |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
The fact that CC doesn't download metadata when one changes the tweak might be significant. It could be that the books in question were updated in CC while you were experimenting and weren't subsequently updated. Yea, I know I am reaching. ![]() |
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Some more info. Having seen Doc's post, I've just looked at my Series groupings.
Step1. Of 106 books, 2 appeared under the wrong Series first letter. Both had Series value Inspector Alan Grant, but appeared under 'G' instead of 'I'. This is very odd as I also have books with Series values Inspector Banks and Inspector Vaara which are both correctly grouped under 'I'. In the calibre library Tag Browser panel, all these books are correctly grouped under Series 'I'. My Tweaks, from day 1 of them being available, have been set as: title_series_sorting = 'strictly_alphabetic' save_template_title_series_sorting = 'strictly_alphabetic' and have never changed since. Step 2. In calibre I opened Edit Metadata and saved (with no changes) so that the metadata.opf file has today's date. After reconnecting CC, both books are still incorrectly grouped under 'G'. Step 3. In calibre I changed one of the two books to have Series value Inspector Grant. After reconnecting CC this changed book is now correctly grouped under 'I'. Then I changed the 2nd book in the same way. Both books now correctly grouped in CC. Step 4. In calibre change both books back to their original Series value of Inspector Alan Grant. Reconnect CC, both books still correctly grouped under 'I' with their original value of Inspector Alan Grant. Conclusion, I've no idea ![]() Edit: I've now looked through all my other first letter groups (Title, Authors, Tags, pubdate, #awards) and have not found any similar problems. Last edited by jackie_w; 02-23-2014 at 11:07 AM. Reason: update |
![]() |
![]() |
![]() |
#8 | ||||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Quote:
Quote:
![]() I have a theory. Going through both calibre and CC, I find that if a book was added to CC (and thus to calibre) via CC's "scan for new books", CC used an incorrect regexp to guess at the series sort. It did not anchor the pattern, so the (A|An|The) could appear anywhere, as described above for "Inspector Alan Grant". This incorrect metadata would be stored in CC when it sent the book to calibre. If that metadata was never changed in calibre then the error would remain in CC. Is there any significant chance that this scenario fits the two books? The only other thing I can think of is that there could have been a short time when calibre "incorrectly" computed the series sort. Any books sent to CC during that time would have the wrong value. When the problem was corrected (if ever there was a problem), calibre would immediately start to use the right values but CC would be stuck with the wrong ones. I know I am grasping at straws, but that is about all I have left. Other than the one case described above, CC gets that value from calibre, and I can't see any way that calibre would generate the wrong value. |
||||
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
At one time - up until sometime in Oct 2013 - I was using calibre Save-to-Disk to transfer books to Dropbox (I won't bore you with the whys and wherefores) then synching them to android. So CC would have been finding new books by scanning rather than by direct transfer. Edit: For clarification, I don't think there have ever been any books in CC or on Dropbox which didn't originate from the calibre library.
Looking at the 2 books in question before today's metadata changes: Dropbox: Tey, Josephine - Inspector Alan Grant 03 - The Franchise Affair.epub created on 25/04/2013 Calibre: metadata.opf 10/10/2013 The Franchise Affair - Josephine Tey.epub 26/02/2013 Dropbox: Tey, Josephine - Inspector Alan Grant 05 - The Daughter of Time.epub created on 30/10/2012 Calibre: metadata.opf 10/10/2013 The Daughter of Time - Josephine Tey 26/02/2013 Does any of this help/hinder your theory? Last edited by jackie_w; 02-23-2014 at 12:09 PM. Reason: extra info in blue |
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
It supports it. The two books in question *could* have been added to CC via "scan" and never had their metadata updated from calibre. In this case they would have the wrong series sort.
FWIW: I have fixed the regexp problem in CC. |
![]() |
![]() |
![]() |
#11 | ||
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Spoiler:
and I have never experimented with this tweak. Turns out the default tweak has had international language specific articles added, that is why it was slightly different, but my calibre library sorts perfectly. Quote:
Would clean database have used this regex? Last edited by DoctorOhh; 02-23-2014 at 06:25 PM. |
||
![]() |
![]() |
![]() |
#12 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
I reset the tweak, restarted calibre (v1.25) and sent a new book to CC in the Sisters of the Moon series and it was under M and not S. Fortunately my To Be Read tag works great. In case your curious I emailed you the log file after I sent the last book.
Last edited by DoctorOhh; 02-23-2014 at 06:53 PM. |
![]() |
![]() |
![]() |
#13 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
The current logs won't help much because they don't display the series sort values. I have changed both CC and calibre to log the series sort values. My guess is that we will need to wait until you have both of these changes before we can make any progress on this. |
|
![]() |
![]() |
![]() |
#14 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#15 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
![]() Of course, if it works then we are left with the question about how the error got there in the first place. Still working on that. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using Calibre / CC to sequence series correctly. | dizzy274 | Calibre Companion | 4 | 01-30-2013 01:43 AM |
Malformed byte sequence: Invalid byte 2 of 3-byte UTF-8 sequence. Check encoding | digireads | ePub | 3 | 04-26-2011 03:07 AM |
Accessories Kindle DX Graphite Desk Drawer Stand | jk2 | Amazon Kindle | 3 | 04-22-2011 05:13 PM |
Series sequence? | Toxaris | Sony Reader | 9 | 04-09-2010 07:36 PM |
Series sequence? | Toxaris | Calibre | 5 | 04-09-2010 07:04 PM |