| 
			
			 | 
		#1 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 2 
				Karma: 10 
				Join Date: Feb 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Grab news error with PDF output
			 
			
			
			Hi, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I've got a problem with calibre. I try to grab some newpaper with include recipe, but the PDF is empty. The log on zdnet for example : Code: 
	Récupérer des News de zdnet
InputFormatPlugin: Recipe Input running Downloading
Fetching http://feedproxy.google.com/~r/zdnet/security/~3/TU2n9OZR3io/
Downloading
Fetching http://feedproxy.google.com/~r/zdnet/security/~3/We8Jy_HtUM8/
Downloading
Fetching http://feedproxy.google.com/~r/zdnet/security/~3/H5zGG5AlrIo/
Processing images...
Fetching http://adlog.com.com/adlog/i/r=7005&s=501815&o=6037%253a12691%253a&h=cn&p=2&b=2&l=en_US&site=24&pt=2100&nd=12691&pid=&cid=&pp=100&e=&rqid=01c17-ad-e8:4B4E521EA653F28&orh=&ort=&oepartner=&epartner=&ppartner=&pdom=&cpnmodule=&count=&ra=82%2e216%2e250%2e126&dvar=&ucat_rsi=%2526&pg=&t=2010.02.26.15.53.19/http://i.i.com.com/cnwk.1d/Ads/common/dotclear.gif
Processing images...
Fetching http://adlog.com.com/adlog/i/r=7005&s=501815&o=6037%253a12691%253a&h=cn&p=2&b=2&l=en_US&site=24&pt=2100&nd=12691&pid=&cid=&pp=100&e=&rqid=00c17-ad-e7:4B4E566D9EB444A&orh=&ort=&oepartner=&epartner=&ppartner=&pdom=&cpnmodule=&count=&ra=82%2e216%2e250%2e126&dvar=&ucat_rsi=%2526&pg=&t=2010.02.26.15.53.22/http://i.i.com.com/cnwk.1d/Ads/common/dotclear.gif
Fetching http://i.i.com.com/cnwk.1d/Ads/7074/26/HumanCapital_Collapsed.jpg
Processing images...
Fetching http://adlog.com.com/adlog/i/r=7005&s=501815&o=6037%253a12691%253a&h=cn&p=2&b=2&l=en_US&site=24&pt=2100&nd=12691&pid=&cid=&pp=100&e=&rqid=00c13-ad-e20:4B4CC39F297670C3&orh=&ort=&oepartner=&epartner=&ppartner=&pdom=&cpnmodule=&count=&ra=82%2e216%2e250%2e126&dvar=&ucat_rsi=%2526&pg=&t=2010.02.26.15.53.24/http://i.i.com.com/cnwk.1d/Ads/common/dotclear.gif
Fetching http://adlog.com.com/adlog/i/r=16001&s=900842&o=6037%253a12691%253a&h=cn&p=2&b=2&l=en_US&site=24&pt=2100&nd=12691&pid=&cid=&pp=100&e=&rqid=01c17-ad-e4:4B4CDF742B274209&orh=&ort=&oepartner=&epartner=&ppartner=&pdom=&cpnmodule=&count=&ra=82%2e216%2e250%2e126&dvar=&ucat_rsi=%2526&pg=&t=2010.02.26.15.53.19/http://i.i.com.com/cnwk.1d/Ads/common/dotclear.gif
Fetching http://i.zdnet.com/blogs/2007/06/botnet.gif
Fetching http://i.zdnet.com/blogs/waledac_world_map.jpg
Fetching http://i.i.com.com/cnwk.1d/Ads/7074/26/BigPicture_Collapsed.jpg
Fetching http://adlog.com.com/adlog/i/r=16001&s=900844&o=6037%253a12691%253a&h=cn&p=2&b=2&l=en_US&site=24&pt=2100&nd=12691&pid=&cid=&pp=100&e=&rqid=00c13-ad-e19:4B4CC24229556434&orh=&ort=&oepartner=&epartner=&ppartner=&pdom=&cpnmodule=&count=&ra=82%2e216%2e250%2e126&dvar=&ucat_rsi=%2526&pg=&t=2010.02.26.15.53.22/http://i.i.com.com/cnwk.1d/Ads/common/dotclear.gif
Fetching http://i.zdnet.com/blogs/adobe_logo_sm.png
Fetching http://i.zdnet.com/images/ms/ms_rnaraine_65x70.gif
Recursion limit reached. Skipping links in http://feedproxy.google.com/~r/zdnet/security/~3/We8Jy_HtUM8/
http://feedproxy.google.com/~r/zdnet/security/~3/We8Jy_HtUM8/ saved to /tmp/calibre_0.6.13_1Mew64_plumber/feed_0/article_1/index.xhtml
Downloaded article: Adobe plugs critical hole in Download Manager from http://feedproxy.google.com/~r/zdnet/security/~3/We8Jy_HtUM8/
Fetching http://adlog.com.com/adlog/i/r=16001&s=900844&o=6037%253a12691%253a&h=cn&p=2&b=2&l=en_US&site=24&pt=2100&nd=12691&pid=&cid=&pp=100&e=&rqid=01c13-ad-e23:4B4CC0D82965B659&orh=&ort=&oepartner=&epartner=&ppartner=&pdom=&cpnmodule=&count=&ra=82%2e216%2e250%2e126&dvar=&ucat_rsi=%2526&pg=&t=2010.02.26.15.53.24/http://i.i.com.com/cnwk.1d/Ads/common/dotclear.gif
Fetching http://i.zdnet.com/blogs/sponge_bob_koobface.png
Recursion limit reached. Skipping links in http://feedproxy.google.com/~r/zdnet/security/~3/TU2n9OZR3io/
http://feedproxy.google.com/~r/zdnet/security/~3/TU2n9OZR3io/ saved to /tmp/calibre_0.6.13_1Mew64_plumber/feed_0/article_0/index.xhtml
Downloaded article: Microsoft's 'Operation b49' chokes Waledac botnet from http://feedproxy.google.com/~r/zdnet/security/~3/TU2n9OZR3io/
Fetching http://i.zdnet.com/blogs/dns_hijack_bahama_botnet_google_ad_revenue_1.png
Fetching http://i.zdnet.com/blogs/352601.png
Fetching http://i.zdnet.com/blogs/follow__me__on__twitter.png
Fetching http://i.zdnet.com/blogs/koobface_botnet_exploits_scareware_november_2009.jpg
Fetching http://i.zdnet.com/blogs/november_scareware_koobface_2_2009.jpg
Fetching http://i.zdnet.com/images/auth/ddanchev_53x53.jpg
Recursion limit reached. Skipping links in http://feedproxy.google.com/~r/zdnet/security/~3/H5zGG5AlrIo/
http://feedproxy.google.com/~r/zdnet/security/~3/H5zGG5AlrIo/ saved to /tmp/calibre_0.6.13_1Mew64_plumber/feed_0/article_2/index.xhtml
Downloaded article: 10 things you didn't know about the Koobface gang from http://feedproxy.google.com/~r/zdnet/security/~3/H5zGG5AlrIo/
Parsing all content...
Parsing feed_0/article_2/index.html ...
Parsing index.html ...
Parsing feed_0/article_1/index.html ...
Parsing feed_0/article_0/index.html ...
Parsing feed_0/index.html ...
Referenced file 'feed_0/article_2/%3fp%3d5452%26page%3d2' not found
Referenced file 'feed_1/index.html' not found
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Parsing stylesheet.css ...
Trimming 'feed_0/article_0/images/img2.jpg.jpg' from manifest
Trimming 'feed_0/article_1/images/img2.jpg.jpg' from manifest
Creating PDF Output...
Converting input as a text based book...
Serializing oeb input to disk for processing...
Rendering pages to PDF...
Processing /tmp/calibre_0.6.13_2aXZyy_pdf_out/index.html...
	Rendering item index.html as 1
Processing /tmp/calibre_0.6.13_2aXZyy_pdf_out/feed_0/index.html...
	Rendering item index.html as 2
Processing /tmp/calibre_0.6.13_2aXZyy_pdf_out/feed_0/article_0/index.html...
	Rendering item index.html as 3
Processing /tmp/calibre_0.6.13_2aXZyy_pdf_out/feed_0/article_1/index.html...
	Rendering item index.html as 4
Processing /tmp/calibre_0.6.13_2aXZyy_pdf_out/feed_0/article_2/index.html...
	Rendering item index.html as 5
Combining individual PDF parts...
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/ebooks/pdf/writer.py", line 130, in _render_html
    self._render_book()
  File "/usr/lib/calibre/calibre/ebooks/pdf/writer.py", line 105, in _render_book
    self._write()
  File "/usr/lib/calibre/calibre/ebooks/pdf/writer.py", line 141, in _write
    outPDF = PdfFileWriter(title=self.metadata.title, author=self.metadata.author)
TypeError: __init__() got an unexpected keyword argument 'title'
PDF output written to /tmp/calibre_0.6.13_iBivRd_recipe_out.pdf
 
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You are using an unpatched version of PyPDF instead of the version that is bundled with calibre
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 2 
				Karma: 10 
				Join Date: Feb 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Hello, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Thanks for the infos ![]() And how can i use the PyPDF of Calibre ? I install Calibre from the Ubuntu repository. Thanks  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Use the binary installer instead of the ubuntu version
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| PDB output conversion error | silinthar | Calibre | 6 | 10-01-2010 03:18 AM | 
| Input/Output error | tulsa | Calibre | 9 | 04-11-2010 11:51 AM | 
| Output Directory on Device For News RSS etc | Portababa | Calibre | 3 | 02-10-2010 12:31 PM | 
| Automatically grab news at windows startup ? | phkoech | Calibre | 3 | 08-25-2009 03:14 AM | 
| FB2 Output error | stahanovez | Calibre | 2 | 08-02-2009 04:33 PM |