|04-25-2011, 10:08 PM||#1|
Join Date: Apr 2011
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:
Last edited by A0tmsk; 04-26-2011 at 08:51 PM.
|04-25-2011, 11:55 PM||#2|
US Navy, Retired
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
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.
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.
|calibre plugin, calibre plugins|
|Thread Tools||Search this Thread|
|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|