Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 12-07-2010, 11:26 AM   #1
elementz
Member
elementz began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Dec 2010
Device: kindle
Exclamation xkcd recipe broken

Hi all,

I don't know wether I should rather file a bug report in calibre's bug-tracker.
I guess I'll do it here first.

When trying to retrieve the xkcd comic via the provided repice, I get the following error, both in the gui version and when running it from the command-line.

Here's the output from the command-line:

Code:
/usr/share/calibre/recipes$ ebook-convert xkcd.recipe ~.mobi
1% Eingabe zu HTML konvertieren ...
InputFormatPlugin: Recipe Input running
1% Rufe Feeds ab...
Traceback (most recent call last):
  File "/usr/bin/ebook-convert", line 19, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/ebooks/conversion/cli.py", line 254, in main
    plumber.run()
  File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 815, in run
    accelerators, tdir)
  File "/usr/lib/calibre/calibre/customize/conversion.py", line 211, in __call__
    log, accelerators)
  File "/usr/lib/calibre/calibre/web/feeds/input.py", line 104, in convert
    ro.download()
  File "/usr/lib/calibre/calibre/web/feeds/news.py", line 707, in download
    res = self.build_index()
  File "/usr/lib/calibre/calibre/web/feeds/news.py", line 834, in build_index
    log=self.log)
  File "/usr/lib/calibre/calibre/web/feeds/__init__.py", line 334, in feeds_from_index
    max_articles_per_feed=max_articles_per_feed)
  File "/usr/lib/calibre/calibre/web/feeds/__init__.py", line 168, in populate_from_preparsed_feed
    self.logger.debug('Skipping article %s (%s) from feed %s as it is too old.'%(title, article.localtime.strftime('%a, %d %b, %Y %H:%M'), self.title))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 35: ordinal not in range(128)
Maybe somebody has an idea how this can be fixed?
thx in advance

elementz
elementz is offline   Reply With Quote
Old 12-07-2010, 02:03 PM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by elementz View Post
Hi all,

I don't know wether I should rather file a bug report in calibre's bug-tracker.
I guess I'll do it here first.

When trying to retrieve the xkcd comic via the provided repice, I get the following error, both in the gui version and when running it from the command-line.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 35: ordinal not in range(128)
I just tested it and it works for me. It could be related to a bug on the site that has scrolled past, or the fact that I'm using English, and you're not ?
" Eingabe zu HTML konvertieren .."
Also, perhaps it's related to conversion to a particular format - I produce EPUB, what format are you producing?
Starson17 is offline   Reply With Quote
Old 12-07-2010, 03:13 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,990
Karma: 5036765
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use the calibre binary installer instead of your distro's package.
kovidgoyal is online now   Reply With Quote
Old 12-16-2010, 06:27 PM   #4
elementz
Member
elementz began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Dec 2010
Device: kindle
Thank you. Works now.
elementz is offline   Reply With Quote
Reply

Tags
calibre recipe, error, xkcd

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
volkskrant.recipe broken m.tarenskeen Recipes 9 01-01-2011 11:18 AM
xkcd recipe error sonyreaderuser Calibre 3 09-18-2010 05:00 PM
Recipe for The Week broken? gianfri Calibre 3 03-19-2010 08:05 PM
Engadget Recipe Broken pars_andy Calibre 1 12-01-2009 10:39 PM
Economist Recipe - broken? dieterpops Calibre 1 02-20-2009 09:14 PM


All times are GMT -4. The time now is 06:49 AM.


MobileRead.com is a privately owned, operated and funded community.