|  03-02-2011, 03:36 PM | #271 | 
| Sigil developer            Posts: 1,274 Karma: 1101600 Join Date: Jan 2011 Location: UK Device: Kindle PW, K4 NT, K3, Kobo Touch | 
			
			I don't know if the K2 and K3 use the same sort order or not, or what the differences are.  The plugin will use the new sort order for any Kindle attached since it can't tell what type of Kindle it is.  Since its unlikely the plugin currently sorts the same as the K2 it may not matter.
		 | 
|   | 
|  03-03-2011, 01:11 AM | #272 | 
| Junior Member  Posts: 3 Karma: 44 Join Date: Mar 2011 Device: Kindle | 
				
				Error
			 
			
			I've tried using the plug-in but when I run it I keep getting this error: calibre, version 0.7.47 ERROR: Unhandled exception: <b>error</b>:unpack_from requires a buffer of at least 8 bytes Traceback (most recent call last): File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Cr eate Kindle Collections.zip\create_kindle_collections_code.py" , line 1470, in preview_activated File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Cr eate Kindle Collections.zip\create_kindle_collections_code.py" , line 1211, in create_kindle_collections_gui_preview File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Cr eate Kindle Collections.zip\create_kindle_collections_code.py" , line 666, in create_kindle_collections_main File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Cr eate Kindle Collections.zip\create_kindle_collections_code.py" , line 319, in process_book File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Cr eate Kindle Collections.zip\create_kindle_collections_code.py" , line 697, in __init__ File "C:\Users\Owner\AppData\Roaming\calibre\plugins\Cr eate Kindle Collections.zip\create_kindle_collections_code.py" , line 788, in __init__ error: unpack_from requires a buffer of at least 8 bytes ... and I have no idea what any of that means. help? | 
|   | 
| Advert | |
|  | 
|  03-03-2011, 03:34 AM | #273 | 
| Sigil developer            Posts: 1,274 Karma: 1101600 Join Date: Jan 2011 Location: UK Device: Kindle PW, K4 NT, K3, Kobo Touch | 
			
			It means that there is a problem with the format of one of your books.  Are you using version 1.3.3 from the first post in this thread?  That version should catch this error.  If not, then you either need to determine which book has an error and fix it/reconvert it, or wait until I release a new version and test again.
		 | 
|   | 
|  03-03-2011, 10:13 AM | #274 | 
| Junior Member  Posts: 3 Karma: 44 Join Date: Mar 2011 Device: Kindle | 
				
				fixed it!
			 
			
			Running in debug and checking the summary let me know which book was corrupted.  Got it fixed (well, deleted anyway)
		 Last edited by mizubyte; 03-03-2011 at 03:10 PM. Reason: I should learn to backread... | 
|   | 
|  03-03-2011, 10:55 AM | #275 | |
| Addict            Posts: 385 Karma: 6514 Join Date: Aug 2010 Location: Denmark Device: Kindle 3 3G+Wifi, Oasis | 
				
				Great!
			 Quote: 
 Sounds great. Aparently a lot of things with K3 are "strange"  However, I LOVE MY K3 - never read so much in my life, and before my K3 I always logged several pbooks along, just in case. Will get back to you once new version is out. Keep it up   | |
|   | 
| Advert | |
|  | 
|  03-03-2011, 08:46 PM | #276 | 
| I devour books!            Posts: 789 Karma: 1285226 Join Date: Mar 2009 Device: iPad Air, Kindle 3/Kobo Aura HD, iPhone 6 | 
			
			So I am back.  Not to drag a long story out but I started my Kindle out from scratch and this actually turned out to be a good thing because now I can really play with this plug-in.  Couple of things: I would like my Collections to order the books in the series order. Right now, I have the most current book showing up first and the first book showing up last. This is what I have: COLLECTION TITLE Book 19 Book 18, etc What I want is: COLLECTION TITLE Book 1 Book 2, etc.. I am using the following when i SEND TO DEVICE: {author[0]}/{authors}/{series}/{series_index:0>2s}. {title} The books are not appearing in series order within the Collection - What am I missing? Last edited by chilady1; 03-03-2011 at 10:57 PM. | 
|   | 
|  03-04-2011, 04:13 AM | #277 | 
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | 
			
			I believe that was your "save template" you posted? That is not relevant to the sorting that gets applied on the Kindle, as the Kindle does not care about the directory structure of your books. Instead what is important is the metadata for the book, so you need to setup a metadata plugboard for your kindle so that the title field gets adjusted when sent to the Kindle to prefix the title with the series. | 
|   | 
|  03-04-2011, 09:02 AM | #278 | |
| I devour books!            Posts: 789 Karma: 1285226 Join Date: Mar 2009 Device: iPad Air, Kindle 3/Kobo Aura HD, iPhone 6 | Quote: 
 | |
|   | 
|  03-04-2011, 09:46 AM | #279 | |
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | Quote: 
  You won't be able to use the exact same value you put in the save template, they have different syntax/purposes. The save template is just about file directory paths, that is why having / characters representing subfolders makes sense. However for a metadata plugboard it is about substituting the value in a field of the book metadata. In this case the Kindle uses the title metadata field for its display/sorting. So you want to setup a plugboard to modify the title field, so that series (where available) is prefixed before the actual title of the book. Your book will appear unchanged in Calibre, but the internal metadata for the book that is loaded onto the Kindle will have been changed which will impact both the title it displays and hence the way it sorts your books when you choose to sort by title. For how to setup your metadata plugboard, see this thread. | |
|   | 
|  03-04-2011, 10:38 AM | #280 | 
| eBook Junkie            Posts: 1,526 Karma: 1464018 Join Date: May 2010 Location: USA Device: Kindle Fire 2020, Kindle PW2 | 
			
			If it helps, mine uses title - series - series number Code: {title} - {series} - {series_index:0>2s| - | - } | 
|   | 
|  03-04-2011, 10:41 AM | #281 | |
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | Quote: 
 This is mine, but there are others on that thread I linked to above. This will display titles with a series like "SeriesName [1] - SomeTitle" and those without a series as "SomeTitle". {series:|| }{series_index:0>2s|[|] - }{title} | |
|   | 
|  03-04-2011, 11:04 AM | #282 | |
| I devour books!            Posts: 789 Karma: 1285226 Join Date: Mar 2009 Device: iPad Air, Kindle 3/Kobo Aura HD, iPhone 6 | Quote: 
 Anita Blake (1) - Guilty Pleasures Anita Blake (2) - Title (can't remember it now) So I will try your template because it appears that is what will produce the above. I have tested my Collections and that works just fine, the issue was the books were not appearing in order so if the above template can do that - then all will be good. I wish I could understand the syntax a little better then I wouldn't have to bug people about it, so I appreciate your help. | |
|   | 
|  03-04-2011, 06:08 PM | #283 | 
| I devour books!            Posts: 789 Karma: 1285226 Join Date: Mar 2009 Device: iPad Air, Kindle 3/Kobo Aura HD, iPhone 6 | 
			
			So I added the metaboard plugin as instructed, close but not quite there.  The below screen shot is what I am getting, this is good, but I would really like the order within my Collection to be reversed with in this example Book #11 appearing first.   This is what I have in the metaboard plugin: {series}{series_index:0>2s| - | - }{title} Thoughts! Last edited by chilady1; 03-04-2011 at 06:20 PM. | 
|   | 
|  03-04-2011, 06:20 PM | #284 | 
| Grand Sorcerer            Posts: 12,525 Karma: 8065948 Join Date: Jan 2010 Location: Notts, England Device: Kobo Libra 2 | 
			
			@chilady: if you want the it ordered by series index (11 before 12 etc) instead of series, then try Code: {series_index:0>2s}{series| - | - }{title} | 
|   | 
|  03-04-2011, 06:21 PM | #285 | 
| I devour books!            Posts: 789 Karma: 1285226 Join Date: Mar 2009 Device: iPad Air, Kindle 3/Kobo Aura HD, iPhone 6 | 
			
			So I added the metaboard plugin as instructed, close but not quite there.  The below screen shot is what I am getting, this is good, but I would really like the order within my Collection to be reversed with in this example Book #11 appearing first.   This is what I have in the metaboard plugin: {series}{series_index:0>2s| - | - }{title} Thoughts! SORRY FOR POSTING TWICE! Last edited by chilady1; 03-04-2011 at 06:28 PM. | 
|   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [GUI Plugin] Kindle Collections (Update) | NiLuJe | Plugins | 477 | 09-22-2025 01:50 PM | 
| 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 |