![]() |
#721 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Apr 2011
Location: Hungary
Device: Kindle 3 3G/wifi
|
In the attacement is the result of debugging. Does it help you?
|
![]() |
![]() |
#722 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2011
Device: Kindle 3
|
Quote:
![]() |
|
![]() |
Advert | |
|
![]() |
#723 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2011
Device: Kindle 3 Wi-Fi
|
Error Message
|
![]() |
![]() |
#724 |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Version 1.5.6 released
This release fixes an issue introduced in the last version with reading the title and author from mobi book contents.
It also tries to handle non-utf-8 characters in pathnames better by at least not crashing. @KataiKata - can you test this version and let me know if the error is gone. Also, can you tell me if your titles/pathnames are showing up ok in the Edit window and the View report. Testing non-ascii or non-utf-8 characters on a non-utf-8 system is tricky and they've always given me problems. |
![]() |
![]() |
#725 |
Member
![]() Posts: 13
Karma: 34
Join Date: Jul 2010
Device: none
|
I have calibre 0.7.57 and plugin ver. 1.5.6.
In my case plugin crashes with following errors: calibre, version 0.7.57 ERROR: Nieznany wyjątek: <b>UnicodeDecodeError</b>:'utf8' codec can't decode byte 0xb3 in position 28: invalid start byte Traceback (most recent call last): File "calibre_plugins.kindle_collections.ui", line 140, in preview_kindle_collections File "calibre_plugins.kindle_collections.create_preview ", line 35, in preview File "calibre_plugins.kindle_collections.create_preview ", line 57, in create_kindle_collections_main File "calibre_plugins.kindle_collections.kindle_boo ks", line 34, in init File "calibre_plugins.kindle_collections.kindle_boo ks", line 57, in __init__ File "calibre_plugins.kindle_collections.kindle_boo ks", line 257, in load_kindle_books UnicodeDecodeError: 'utf8' codec can't decode byte 0xb3 in position 28: invalid start byte I use calibre in polish language version with utf8 characters in collection names. In attachement is my calibre debug file. Could you help me ? Last edited by ikar; 04-24-2011 at 02:42 PM. |
![]() |
Advert | |
|
![]() |
#726 | |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
This may take a few tries to get right. Fixing one setup tends to break another... I appreciate you testing this as I'd like to make sure it works properly in all countries, etc. Edit: file removed Last edited by meme; 04-24-2011 at 06:56 AM. |
|
![]() |
![]() |
#727 |
Member
![]() Posts: 13
Karma: 34
Join Date: Jul 2010
Device: none
|
I've tested this version , but it doesn't work too.
My logs: calibre, version 0.7.57 ERROR: Nieznany wyjątek: <b>UnicodeDecodeError</b>:'utf8' codec can't decode byte 0xb3 in position 28: invalid start byte Traceback (most recent call last): File "calibre_plugins.kindle_collections.ui", line 136, in create_kindle_collections File "calibre_plugins.kindle_collections.create_preview ", line 32, in create File "calibre_plugins.kindle_collections.create_preview ", line 57, in create_kindle_collections_main File "calibre_plugins.kindle_collections.kindle_boo ks", line 34, in init File "calibre_plugins.kindle_collections.kindle_boo ks", line 57, in __init__ File "calibre_plugins.kindle_collections.kindle_boo ks", line 249, in load_kindle_books UnicodeDecodeError: 'utf8' codec can't decode byte 0xb3 in position 28: invalid start byte All my books are recognized , but I cut in log listing of my books. But encoding is not working properly. For example in log in this line is 2011/04/24 10:42:53: Including Calibre column label "title", name "TytuĹ‚" but should be .. name "Tytuł" Last edited by ikar; 04-24-2011 at 02:42 PM. |
![]() |
![]() |
#728 |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
No issue with removing your books from the logs - a good idea on forum posts.
Ok, try this one. This isn't exactly the best way to try to debug this, but for now it'll have to do until I can get some more information. I've tried to convert all titles to utf-8 since the code seems to fail inside a sort routine of titles. Last edited by meme; 04-24-2011 at 04:40 PM. |
![]() |
![]() |
#729 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2011
Device: Amazon Kindle 3
|
I updated to 1.5.5 and now it is working right. Thank you meme great work!!
|
![]() |
![]() |
#730 | |
eBook Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Quote:
Nyn |
|
![]() |
![]() |
#731 | |
Member
![]() Posts: 13
Karma: 34
Join Date: Jul 2010
Device: none
|
Quote:
This is collection preview calibre, version 0.7.57 Kindle Collections: <P>Preview report generated 11 collections.<P> === Kindle Collections 1.5.6 PREVIEW Report Preview only - no collections have actually been modified on the Kindle. Collections saved to the Kindle: Collection Managed By Books Change ---------- ---------- ----- ------ angielski Calibre 0 Replaced (from column "Kolekcja") audio Kindle 28 None (preserve Kindle-only is True) bajki Calibre 0 Replaced (from column "Kolekcja") beletrystyka Calibre 0 Replaced (from column "Kolekcja") czytanki Calibre 0 Replaced (from column "Kolekcja") horror_sf Calibre 0 Replaced (from column "Kolekcja") it Calibre 0 Replaced (from column "Kolekcja") newsy Calibre 0 Replaced (from column "Kolekcja") podcasts Calibre 0 Replaced (from column "Kolekcja") różne Calibre 0 Replaced (from column "Kolekcja") słowniki Kindle 26 None (preserve Kindle-only is True) No collections selected to delete from the Kindle. === Settings: Kolekcja Action: Create Prefix: "" Suffix: "" Minimum: 1 Ignore: "" Include: "" Rename from: "" Rename to: "" Split on: "" Never delete/modify these Kindle collections: Action when toolbar icon is clicked: Show menu (default) Preserve existing Kindle-only collections: True Ignore prefix/suffix when comparing Calibre names: True Ignore case when pattern matching: True Fast reboot using hacks: True Fast reboot trigger file: H:\linkss\reboot Calibre Personal doc tag: Newsy Kindle collections file: H:\system\collections.json Plugin customization file: C:\Users\venom\AppData\Roaming\calibre\plugins\Kin dle Collections.json Run View Report to see collection and book details. Last edited by ikar; 04-24-2011 at 09:48 AM. |
|
![]() |
![]() |
#732 |
Member
![]() Posts: 13
Karma: 34
Join Date: Jul 2010
Device: none
|
I've just checked your last version and everything seems to be ok.
Thanks meme !!! Last edited by ikar; 04-24-2011 at 02:43 PM. |
![]() |
![]() |
#733 |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Version 1.5.7 released
This update appears to fix the issues with dealing with non-ascii characters in pathnames, collections, and reports. Let's hope - its been a long-standing issue - so if anyone finds any discrepancies let me know. The main change was to make sure the pathnames were read in as unicode since they were defaulting to being read in as ascii strings.
Many thanks to ikar for testing various versions! I've also modified the sort order of book details in the reports to sort by title instead of pathname since it was bugging me that it was difficult to find a specific book. |
![]() |
![]() |
#734 |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Can you give version 1.5.7 of the plugin a try.
|
![]() |
![]() |
#735 | |
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
At some point since you last ran Create Collections you manually edited a collection - either on the Kindle or via Edit collections. The plugin keeps track of the collections on the Kindle each time you run Create Collections, and if they changed between runs it lets you know with an information dialog - and details of what changed. You might see the warning a few times if you just run Preview without running Create, until you next run Create. If you have collections you always edit manually, then put their names in the Never Delete box on the Customization page and the plugin will ignore them when checking for changes. Because of the possibility of confusion between automatic creation and manual editing I wanted a way to warn people so they wouldn't loose changes without at least being told. |
|
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Kindle Collections (Update) | NiLuJe | Plugins | 475 | 05-23-2025 08:22 AM |
Kindle Collections plugin | JosephWebber | Plugins | 1 | 08-21-2017 11:44 AM |
[GUI Plugin] WebOS Kindle-Import | CranstD | Plugins | 0 | 01-24-2012 03:36 PM |
Finding and using Kindle Collections Plugin | djchapple | Plugins | 2 | 08-03-2011 10:06 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |