02-16-2011, 11:00 AM | #196 | |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
Run this to remove the plugin: Code:
calibre-customize -r 'Create Kindle Collections' Run this to add the plugin and post the output: Code:
calibre-customize -a create_kindle_collections_plugin.zip |
|
02-16-2011, 12:31 PM | #197 |
Member
Posts: 12
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
>>> Adding the plugin was without any problem:
c:\Program Files\Calibre2>calibre-customize -a d:\kos\create_kindle_collections_ plugin.zip Plugin added: Create Kindle Collections (1, 3, 3) >>> Then I tried to list plugins and got error: c:\Program Files\Calibre2>calibre-customize -l Type Name Version Disabled Site Customizat ion User Interface ActionCreate Kindle Collections(1, 3, 3) False Create collections on Kindle from Calibre columns Python function terminated unexpectedly not a Zip file (Error Code: 1) Traceback (most recent call last): File "site.py", line 103, in main File "site.py", line 85, in run_entry_point File "site-packages\calibre\customize\ui.py", line 596, in main File "site-packages\calibre\customize\__init__.py", line 237, in is_customizab le File "<string>", line 85, in customization_help File "<string>", line 74, in get_base_plugin File "<string>", line 68, in get_base_module zipimport.ZipImportError: not a Zip file >>> ... to be sure thayt I am using the correct plugin file: create_kindle_collections_plugin.zip , size 18895 bytes I have two Python versions on my comp - V2.6 and 2.7. Could not be the problem there ? Mira |
Advert | |
|
02-16-2011, 12:36 PM | #198 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Go to the calibre config directory, delete the plugins sub directory and then re-add the plugin.
|
02-16-2011, 12:58 PM | #199 |
Member
Posts: 12
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
I deleted the Calibre2\plugins direcory but now the Calibre won't start:
c:\Program Files\Calibre2>calibre-customize -a d:\kos\create_kindle_collections_plugin.zip So I manually added winutil.pyd, icu.pyd and magick.pyd to the plugin directory and tried to add the Create Kindle Collection which passed without error but after running calibre-customize -l, the result was as usual:Python function terminated unexpectedly No module named winutil (Error Code: 1) Traceback (most recent call last): File "site.py", line 103, in main File "site.py", line 84, in run_entry_point File "site-packages\calibre\__init__.py", line 17, in <module> File "site-packages\calibre\constants.py", line 95, in <module> Exception: No module named winutil c:\Program Files\Calibre2>calibre-customize -l Mira
Type Name Version Disabled Site Customizat ion User Interface ActionCreate Kindle Collections(1, 3, 3) False Create collections on Kindle from Calibre columns Python function terminated unexpectedly not a Zip file (Error Code: 1) Traceback (most recent call last): File "site.py", line 103, in main File "site.py", line 85, in run_entry_point File "site-packages\calibre\customize\ui.py", line 596, in main File "site-packages\calibre\customize\__init__.py", line 237, in is_customizab le File "<string>", line 85, in customization_help File "<string>", line 74, in get_base_plugin File "<string>", line 68, in get_base_module zipimport.ZipImportError: not a Zip file |
02-16-2011, 01:02 PM | #200 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You've got a corrupted calibre install. Uninstall, delete c:\program files\calibre2 and the plugins directory, then re-install.
|
Advert | |
|
02-16-2011, 01:06 PM | #201 |
Member
Posts: 12
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
Which files should I backup to keep my library ?
|
02-16-2011, 01:17 PM | #202 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
uninstalling does not affect your library.
|
02-16-2011, 07:27 PM | #203 | |
Member
Posts: 14
Karma: 10
Join Date: Sep 2010
Device: Kindle
|
Quote:
Edited to add: However, now I'm getting an error when I try to run Manage Collections from the toolbar: calibre, version 0.7.45 ERROR: Unhandled exception: <b>AttributeError</b>:'BooksModel' object has no attribute 'get_collections_with_ids' Traceback (most recent call last): File "site-packages\calibre\gui2\actions\edit_collections.py" , line 33, in edit_collections File "site-packages\calibre\gui2\actions\edit_metadata.py", line 395, in edit_device_collections AttributeError: 'BooksModel' object has no attribute 'get_collections_with_ids' I've uninstalled the plugin, restarted Calibre, re-installed the plugin, restarted Calibre again, but no change. Thanks! Last edited by SingleEyePhotos; 02-16-2011 at 08:02 PM. |
|
02-16-2011, 09:50 PM | #204 | |
IOC Chief Archivist
Posts: 3,950
Karma: 53868218
Join Date: Dec 2010
Location: Fruitland Park, FL, USA
Device: Meebook M7, Paperwhite 2021, Fire HD 8+, Fire HD 10+, Lenovo Tab P12
|
Quote:
Remove "manage collections" and replace it with "Create Kindle Collections". I believe "manage collections" is a Sony function. |
|
02-17-2011, 02:24 AM | #205 | |
Member
Posts: 12
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
Quote:
To be sure that I don't do anything wrong way: - Kindle not connected - I open Preferences/Advanced/Plugins - click on the "Add a new plugin" button - select the "create_kindle_collections_plugin.zip" from the place where I downloaded it .. there is a confirmation dialog "are you sure ...." - I choose Yes Calibre displays success dialog - I click on Apply and restart Calibre by Ctrl-R - I open Preferences/Interface/Customize the toolbar and select The main toolbar when a device is connected - There is NO Create Kindle Collection item Running calibre-customize -l from the command line reports "zipimport.ZipImportError: not a Zip file" I am at my loss ... Mira Mira |
|
02-17-2011, 02:54 AM | #206 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Try removing it again, and installing one of the other plugins from the Plugin index page - to see if they behave any differently - e.g. Search the Internet since it uses a toolbar icon (but add it to the menu 'when device is not connected')
|
02-17-2011, 03:21 AM | #207 | |
Member
Posts: 12
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
Quote:
I've tried to install an example plugin from here: http://calibre-ebook.com/user_manual...o-world-plugin Double-clicking on it doesn't report error and reports "does not need customization" . But it does not seem to work either - according to the author it should change Publisher to Hello,world during book conversion which is not the case Mira |
|
02-17-2011, 11:47 AM | #208 |
Junior Member
Posts: 8
Karma: 28
Join Date: Feb 2009
Location: Claremore, OK
Device: Kindle 3
|
Thanks
It works like a dream and saves me a ton of time. Thanks for all of your hard work, and thanks to everyone who answers questions and helps support this.
|
02-17-2011, 12:01 PM | #209 | |
IOC Chief Archivist
Posts: 3,950
Karma: 53868218
Join Date: Dec 2010
Location: Fruitland Park, FL, USA
Device: Meebook M7, Paperwhite 2021, Fire HD 8+, Fire HD 10+, Lenovo Tab P12
|
Quote:
This may be unrelated, but do you still have Kindelabra (and the python components that were packaged with it) installed on your computer? I remember that you had problems getting it to work. I'm wondering if this is somehow connected. Christa |
|
02-17-2011, 02:47 PM | #210 | |
Member
Posts: 12
Karma: 10
Join Date: Jan 2011
Device: Kindle 3
|
Quote:
Anyway, I'll try to install the plugin on a notebook where is only Python 2.6 and will se if it works there and then I'll publish the results here. Mira |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Kindle Collections (Update) | NiLuJe | Plugins | 463 | 02-16-2024 12:43 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 |