| 
			
			 | 
		#1 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,190 
				Karma: 32370 
				Join Date: Jan 2007 
				Location: Anchorage, AK 
				
				
				Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Error on import
			 
			
			
			This is the error message I'm getting.  
		
	
		
		
		
		
		
		
		
		
		
		
	
	"ERROR: Adding failed: The add books process seems to have hung. Try restarting calibre and adding the books in smaller increments, until you find the problem book." I'm trying to add one book that is about 4MB in HTML. No images. I tried re-starting Calibre and importing but that didn't work. I'm not sure how much memory is needed to import long ebooks? Any advice would be appreciated. In the past I used to be able to import large ebooks without problem so I'm not sure if this is a problem due to upgrading to the newest Calibre 6.45.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#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: 
	
 Can you currently add other books?  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,190 
				Karma: 32370 
				Join Date: Jan 2007 
				Location: Anchorage, AK 
				
				
				Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 It's as plain as it's going to get. The story is however about 800k words long. I also noticed with other files that get about that length Calibre sometimes takes them and sometimes doesn't. I can check the HTML again to see if I find any unenclosed tags? I'm not sure what kind of code would produce this error message.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | ||
| 
			
			
			
			 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: 
	
 If you were using Word I would say to save it as Filtered HTML but it sounds like that is what you're doing. You can try saving it as some other format and converting that or ... if you can save it in one of the following formats Quote: 
	
 Good Luck.  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | |
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Note. I have had Calibre baulk at odd characters (odd dashes).  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,190 
				Karma: 32370 
				Join Date: Jan 2007 
				Location: Anchorage, AK 
				
				
				Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Thanks  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,190 
				Karma: 32370 
				Join Date: Jan 2007 
				Location: Anchorage, AK 
				
				
				Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 The main problem is that I'm still stuck on LRF as my perferred format. Though it's tempting to get Atlantis and output to epub and then import that to Calibre and convert to LRF... Thanks for trying to help.  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			@amalthia. Sometimes HTML has bugs in it that can cause parsing to hang. Can you keep an eye on the memory/cpu usage of your computer when you are importing the html to see if it is indeed one of these problems. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Another was to get more detailed debug output is to run the import from the command line as calibredb.exe add "C:\path to the\html\file.html" Or you could just opena ticket and attach the html file in question  
		 | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,190 
				Karma: 32370 
				Join Date: Jan 2007 
				Location: Anchorage, AK 
				
				
				Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 It also converted to LRF without problems. However, I am curious to see why I had to zip the file first in order for Calibre to import it so I'll do as you suggested with the debugging.  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| error message: ERROR ITMS-4099: "Invalid ISBN: [#] at Book (MZItmspBookPac | NewDay | ePub | 3 | 10-07-2010 02:47 PM | 
| ERROR: Error: Error communicating with device | JWood | Calibre | 10 | 04-20-2010 08:28 PM | 
| 0.6.14 - error on import | JohnDoe | Calibre | 7 | 10-01-2009 07:59 AM | 
| Unable to import large db keep getting an error | Student1 | Calibre | 20 | 02-27-2009 12:02 AM | 
| 04.95 crashes with import-error (OS X 10.5.5) | embe71 | Calibre | 0 | 10-11-2008 10:51 AM |