| 
			
			 | 
		#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 09:51 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | ||
| 
			
			
			
			 US Navy, Retired 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897 
				Karma: 13806776 
				Join Date: Feb 2009 
				Location: North Carolina 
				
				
				Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen 
				
				
				 | 
	
	
	
		
		
		
		
		 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 | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				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 | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Metadata downlad plugin trouble | Daermond | Plugins | 9 | 05-01-2025 03:25 AM | 
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM | 
| Trouble creating catlog with new version 0.7.36 | dreamsgate | Library Management | 19 | 01-02-2011 08:25 PM | 
| Using a plugin | jrmckins | Plugins | 3 | 12-12-2010 12:48 PM | 
| New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 01:11 PM |