| 
			
			 | 
		#1 | 
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 34 
				Karma: 10 
				Join Date: Oct 2002 
				Location: AK 
				
				
				
				
				
				 | 
	
	
	
		
		
			
			 
				
				Generate command line equivalent?
			 
			
			
			When I convert a particular .mobi file to .epub using the Calibre GUI on my main computer, it works fine. When I try to convert the same file using the command line on a VPS server, it fails near the end saying "killed." 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Can I generate a command-line from the calibre GUI so I can figure out what option(s) are causing the failure on my remote computer? Or do I need to use the verbose output and compare all the options one-by-one?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 34 
				Karma: 10 
				Join Date: Oct 2002 
				Location: AK 
				
				
				
				
				
				 | 
	
	
	
		
		
			
			 
				
				Conversion "killed" -- why?
			 
			
			
			I have a .mobi file that converts fine using Calibre GUI on my main computer (OS X) but fails on the command line on a Linux (CentOS) VPS. Here's what I get (as you can see, I've been testing some options...without specifying options the conversion stalls, forever, at removing "fake margins"): 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Spoiler: 
 I posted a different thread about how I might figure out the difference in the options that the GUI version is using vs the command line, but trying to compare one by one is painful...so, any ideas what to try?  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Copy paste the debug output from the GUI and command line into two separate files and use a diff program to see the differences. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Although if I had to guess, I'd guess your VPS is killing the process because it runs out of memory.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Equivalent in command line to convert to azw3 in gui? | dawood | Conversion | 7 | 10-22-2013 02:08 AM | 
| Command line - HOW? | bookfanmd | Calibre | 19 | 01-12-2013 10:17 AM | 
| Help with command line | shotsky | Conversion | 6 | 07-23-2012 10:40 AM | 
| Need help using command line | tsger | Recipes | 2 | 07-16-2011 04:23 AM | 
| Why use the command line? | slantybard | Calibre | 6 | 07-22-2009 01:17 PM |