| 
			
			 | 
		#1 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56 
				Karma: 15570 
				Join Date: Jul 2017 
				
				
				
				Device: iPad 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Is interface_demo_plugin broken?
			 
			
			
			I've written a plugin by looking at other plugins and it works well on my MacBook.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	I've tried to install it on my desktop. It says it's successful, but the icon never shows. Starting calibre-debug -g shows it loading successfully, but no icon. So, I removed Calibre and did a find and delete of anything with calibre in the name in /Library and ~/Library and tried to install https://calibre-ebook.com/downloads/...emo_plugin.zip but that doesn't work either. Help! :-( PS I've tried 3.40.1 and even downgrading to 3.34.  | 
| 
		 | 
	
	
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Deviser 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265 
				Karma: 2090983 
				Join Date: Aug 2013 
				Location: Texas 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Assuming it is a GUI Plug-in, add its icon to your toolbar in Preferences > Toolbar & Menus.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56 
				Karma: 15570 
				Join Date: Jul 2017 
				
				
				
				Device: iPad 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks, I've tried that, but can't see the Plugin's icon there to add it. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I've now managed to get the interface demo to show, but not my own plugin.  | 
| 
		 | 
	
	
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56 
				Karma: 15570 
				Join Date: Jul 2017 
				
				
				
				Device: iPad 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I've deleted everything and reinstalled Calibre 3.34, then calibre-customize -b . my plugin. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Opened calibre. Closed calibre. Opened calibre and Preferences | Plugins | customise plugin and I get this message: calibre, version 3.34.0 ERROR: Must restart: You must restart calibre before you can configure the <b>KyBook3 Sync</b> plug-in Does that help any? It seems the plugin is not getting registered properly. How can I debug this? Thanks.  | 
| 
		 | 
	
	
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56 
				Karma: 15570 
				Join Date: Jul 2017 
				
				
				
				Device: iPad 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			OK, now it doesn't work on the MacBook either. I guess I must have changed something, but I remember it working before putting the MacBook to sleep. :-(
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56 
				Karma: 15570 
				Join Date: Jul 2017 
				
				
				
				Device: iPad 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			On the MacBook, I went through the code commenting out until the plugin loaded properly. I then uncommented it all and it still loads and works properly! 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I did the same on the desktop, but it stops when the code is uncommented again. Any thoughts?  | 
| 
		 | 
	
	
| 
			
			 | 
		#7 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			It would help if you posted your plugin
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Connoisseur 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 56 
				Karma: 15570 
				Join Date: Jul 2017 
				
				
				
				Device: iPad 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks @kovidgoyal It seems this isn't a problem with the Demo plugin and is with mine, so I've moved to the Development forum as that seemed more appropriate. There is a copy of the plugin there. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	https://www.mobileread.com/forums/sh...d.php?t=316184  | 
| 
		 | 
	
	
![]()  | 
            
        
    
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Kindle PW3 5.9.6.1 ssh broken pipe leaves broken ssh | xception | Kindle Developer's Corner | 8 | 01-27-2019 11:23 AM | 
| Broken PRS-505; any place to buy chrome bottom piece? Or anyone with broken 505? | erikk | Sony Reader | 1 | 12-09-2009 07:51 PM | 
| Broken DR | Grimulkan | iRex | 27 | 09-18-2009 12:23 AM | 
| Broken Ipod works Fine! except that its broken | Andybaby | Lounge | 1 | 06-04-2009 03:03 AM | 
| is it broken ? | markiehill | Sony Reader | 5 | 02-15-2007 09:53 AM |