| 
			
			 | 
		#1 | 
| 
			
			
			
			 Book & Bunny Crazy 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,291 
				Karma: 6468095 
				Join Date: Aug 2013 
				Location: USA 
				
				
				Device: K3 (x2), Fire HD 7-inch (x2), Fire HDX 8.9, Acer Android Tablet 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Connection Closed Error
			 
			
			
			When I try and switch to a different library or close Calibre I get the following error.  Suggestions on what is happening and how to fix this would be greatly appreciated.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	calibre, version 2.79.1 ERROR: Unhandled exception: <b>ConnectionClosedError</b>:The connection has been closed calibre 2.79.1 [64bit] embedded-python: True is64bit: True Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE') ('Windows', '8', '6.2.9200') Python 2.7.9 Windows: ('8', '6.2.9200', '', 'Multiprocessor Free') Successfully initialized third party plugins: DeDRM (6, 5, 2) && EpubMerge (2, 1, 0) && Goodreads (1, 1, 12) && MultiColumnSearch (1, 0, 69) && EpubSplit (2, 2, 0) && FictionDB (1, 0, 10) && Goodreads Sync (1, 10, 1) && Count Pages (1, 7, 0) && Amazon.com Multiple Countries (1, 0, 0) && EpubCheck (0, 1, 1) && Consolidate All Library Metadata (2, 0, 28) && KindleUnpack - The Plugin (0, 81, 3) && Find Duplicates (1, 6, 2) && Barnes & Noble (1, 2, 14) Traceback (most recent call last): File "site-packages\calibre\gui2\ui.py", line 998, in closeEvent File "site-packages\calibre\gui2\ui.py", line 860, in write_settings File "site-packages\calibre\gui2\init.py", line 618, in save_layout_state File "site-packages\calibre\gui2\library\views.py", line 538, in save_state File "site-packages\calibre\gui2\library\views.py", line 532, in write_state File "site-packages\calibre\db\cache.py", line 61, in call_func_with_lock File "site-packages\calibre\db\cache.py", line 606, in set_pref File "site-packages\calibre\db\backend.py", line 129, in set File "site-packages\calibre\db\backend.py", line 126, in __setitem__ ConnectionClosedError: The connection has been closed  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			It's likely caused by one the plugins you have installed. STart calibre with --ignore-plugins and see if it fixes it. If it does then disable them one by one to find the culprit.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | |
| 
			
			
			
			 Book & Bunny Crazy 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,291 
				Karma: 6468095 
				Join Date: Aug 2013 
				Location: USA 
				
				
				Device: K3 (x2), Fire HD 7-inch (x2), Fire HDX 8.9, Acer Android Tablet 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 EDIT: Sorry I truly do not understand how to start/restart Calibre with plugin's ignored. I know you tell me to put --ignore-plugins . But I really do not understand how to do it or where I should add this text. Last edited by KyBunnies; 02-18-2017 at 03:17 PM.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Deviser 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265 
				Karma: 2090983 
				Join Date: Aug 2013 
				Location: Texas 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			"C:\Program Files\Calibre2\calibre.exe" --ignore-plugins
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Book & Bunny Crazy 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,291 
				Karma: 6468095 
				Join Date: Aug 2013 
				Location: USA 
				
				
				Device: K3 (x2), Fire HD 7-inch (x2), Fire HDX 8.9, Acer Android Tablet 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Connection Error | sberry | Devices | 4 | 10-09-2012 02:24 AM | 
| An existing connection was forcibly closed | RobFreundlich | Recipes | 2 | 06-08-2012 10:24 AM | 
| "connection unexpectedly closed" when trying to email Kindle 3 | ellentk | Devices | 4 | 02-25-2011 06:47 PM | 
| Sharing by email failure - SMTPServerDisconnected('Connection unexpectedly closed',) | Starko | Calibre | 9 | 02-03-2011 05:12 AM | 
| ERROR: No internet connection | nicois | Calibre | 3 | 09-20-2010 12:07 PM |