04-25-2011, 10:08 PM | #1 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Apr 2011
Device: sony
|
Trouble creating a plugin.
I just started working on a plugin for calibre using version 0.7.57 on linux and I am having trouble adding new plugins. I can add the ones I find in this forum, but that is all. Even the plugins Ive downloaded from the tutorial here do not work. What makes things stranger is that I can take one of the plugins from here that works, extract it, and rezip it, and it no longer works.
When I try to add a plugin in Preferences I get the following error: Quote:
Any ideas? Last edited by A0tmsk; 04-26-2011 at 08:51 PM. |
|
04-25-2011, 11:55 PM | #2 | ||
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Once I extracted the hello world directory and just zipped the __init__.py file up by itself, renamed the zip file helloworld_plugin.zip it added to calibre fine and it worked as advertised. Quote:
See attached image to see what you should see inside your zip file. The __init__.py file is at the top level and it works fine. When you are rezipping it you must be putting it inside a directory. Good Luck. |
||
Advert | |
|
04-26-2011, 12:19 AM | #3 |
creator of calibre
Posts: 43,795
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The example plugins linked to in the tutorial are now fixed.
|
Tags |
calibre plugin, calibre plugins |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |
Trouble creating catlog with new version 0.7.36 | dreamsgate | Library Management | 19 | 01-02-2011 07:25 PM |
Using a plugin | jrmckins | Plugins | 3 | 12-12-2010 11:48 AM |
Metadata downlad plugin trouble | Daermond | Plugins | 7 | 10-28-2010 03:33 PM |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM |