View Single Post
Old 02-26-2010, 11:36 AM   #1
chatainsim
Junior Member
chatainsim began at the beginning.
 
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
Thanks a lot
chatainsim is offline   Reply With Quote