Register Guidelines E-Books Today's Posts Search

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 04-23-2011, 06:38 PM   #721
KataiKata
Junior Member
KataiKata began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2011
Location: Hungary
Device: Kindle 3 3G/wifi
Quote:
Originally Posted by meme View Post
See the first post in this thread - under Troubleshooting.
In the attacement is the result of debugging. Does it help you?
Attached Files
File Type: txt tmpdocwpf.txt (21.5 KB, 315 views)
KataiKata is offline  
Old 04-23-2011, 07:04 PM   #722
brooket
Junior Member
brooket began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2011
Device: Kindle 3
Quote:
Originally Posted by meme View Post
@k1951j, @brooket:

One of your collections does not have a last accessed timestamp. This may be caused by migrating collections from K2 to K3, or there may be times when the K3 doesn't add the timestamp. In either case, the new version of the plugin deals with this correct so it should work ok for you.
Thank you....must be my K3 as I have never had a K2. I will eagerly download it now!
brooket is offline  
Advert
Old 04-23-2011, 09:32 PM   #723
dpurrinos
Junior Member
dpurrinos began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2011
Device: Kindle 3 Wi-Fi
Error Message

Quote:
Originally Posted by meme View Post
Sounds like you have an old version of the plugin. You should upgrade to 1.5.5.
Thank you so much for your help. I upgraded to the newer version and it worked.
dpurrinos is offline  
Old 04-24-2011, 03:46 AM   #724
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
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.
meme is offline  
Old 04-24-2011, 05:38 AM   #725
ikar
Member
ikar began at the beginning.
 
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.
ikar is offline  
Advert
Old 04-24-2011, 06:32 AM   #726
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by ikar View Post
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
Can you try this test version. I've removed some of the attempts to encode titles/authors. From your debug output it appears you only have 1 book on your Kindle that is recognized, so I think the encoding is definitely not working right.

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.
meme is offline  
Old 04-24-2011, 06:48 AM   #727
ikar
Member
ikar began at the beginning.
 
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.
ikar is offline  
Old 04-24-2011, 06:59 AM   #728
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by ikar View Post
I've tested this version , but it doesn't work too.
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.
meme is offline  
Old 04-24-2011, 07:20 AM   #729
Iby
Junior Member
Iby began at the beginning.
 
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!!
Iby is offline  
Old 04-24-2011, 08:25 AM   #730
nynaevelan
eBook Junkie
nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.
 
nynaevelan's Avatar
 
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
Quote:
Originally Posted by meme View Post
What confirmation dialog? If its mentioning that files have changed since you last run create. It will disappear once you run create. Its to warn you in case you hand editing collections on the Kindle or via Edit in the plugin.

To tell the plugin to ignore specific collections when checking for hand-editing, just put the collection names in the Never delete/modify box in the Customize window.

If its not that warning, let me know what its saying.
I set my toolbar button to create collections, now when I create collections it will go through the process then give me a popup box asking me if I was sure I wanted to create the collections, but it only did that the first time. Maybe it had to do with the setup of the toolbar button??

Nyn
nynaevelan is offline  
Old 04-24-2011, 09:45 AM   #731
ikar
Member
ikar began at the beginning.
 
Posts: 13
Karma: 34
Join Date: Jul 2010
Device: none
Quote:
Originally Posted by meme View Post
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.
With the last version I don't have any error message but when I tried to create collections in the result I have my collection on kindle but they are empty and books are with no collection. Only two collections are ok
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.
ikar is offline  
Old 04-24-2011, 01:55 PM   #732
ikar
Member
ikar began at the beginning.
 
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.
ikar is offline  
Old 04-24-2011, 03:21 PM   #733
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
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.
meme is offline  
Old 04-24-2011, 03:43 PM   #734
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by julius90 View Post
hi meme,
I just updated calibre to 0.7.57 from 0.7.56 and Kindle Collections to 1.5.3 from 1.4.3. Now it doesn't work right (but 1.4.3 does).
UnicodeDecodeError: 'utf8' codec can't decode byte 0xce in position 10: invalid continuation byte
Can you give version 1.5.7 of the plugin a try.
meme is offline  
Old 04-24-2011, 04:02 PM   #735
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by nynaevelan View Post
I set my toolbar button to create collections, now when I create collections it will go through the process then give me a popup box asking me if I was sure I wanted to create the collections, but it only did that the first time. Maybe it had to do with the setup of the toolbar button??
Nothing to do with the new toolbar option.

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.
meme is offline  
Closed Thread


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 12:43 PM.


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