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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-13-2010, 10:58 AM   #1
sonyreaderuser
Junior Member
sonyreaderuser began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2010
Device: prs-600
xkcd recipe error

Hi all,

first thanks Kovid for your awesome tool! I really appreciate it!

I have a problem at the moment with the xkcd recipe: Calibre stops converting and I get an error message:

Quote:
Fetch news from xkcd
Resolved conversion options
calibre version: 0.7.18
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0,
'book_producer': None,
'change_justification': 'original',
'chapter': None,
'chapter_mark': 'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_download_recipe': False,
'dont_split_on_page_breaks': True,
'extra_css': None,
'extract_to': None,
'flow_size': 260,
'font_size_mapping': None,
'footer_regex': '(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'header_regex': '(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x03ACF850>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0,
'linearize_tables': False,
'lrf': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'max_toc_links': 50,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.SonyReaderOutput object at 0x03ACFBD0>,
'page_breaks_before': None,
'password': None,
'prefer_metadata_cover': False,
'preprocess_html': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': None,
'remove_first_image': False,
'remove_footer': False,
'remove_header': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'series': None,
'series_index': None,
'tags': None,
'test': False,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'use_auto_toc': False,
'username': None,
'verbose': 2}
InputFormatPlugin: Recipe Input running
Skipping article Green Flash (Mi, 14 Jul, 2010 00:00) from feed xkcd as it is too old.
Skipping article Dilution (Mo, 12 Jul, 2010 00:00) from feed xkcd as it is too old.
Skipping article One Two (Fr, 09 Jul, 2010 00:00) from feed xkcd as it is too old.
Skipping article Workaround (Mi, 07 Jul, 2010 00:00) from feed xkcd as it is too old.
Skipping article Analogies (Mo, 05 Jul, 2010 00:00) from feed xkcd as it is too old.
Skipping article DFS (Fr, 02 Jul, 2010 00:00) from feed xkcd as it is too old.
Skipping article Moria (Mi, 30 Jun, 2010 00:00) from feed xkcd as it is too old.
Skipping article 3x9 (Mo, 28 Jun, 2010 00:00) from feed xkcd as it is too old.
Skipping article Raptor Fences (Fr, 25 Jun, 2010 00:00) from feed xkcd as it is too old.
Skipping article Toot (Mi, 23 Jun, 2010 00:00) from feed xkcd as it is too old.
Skipping article Public Opinion (Mo, 21 Jun, 2010 00:00) from feed xkcd as it is too old.
Skipping article Interdisciplinary (Fr, 18 Jun, 2010 00:00) from feed xkcd as it is too old.
Skipping article Dependencies (Mi, 16 Jun, 2010 00:00) from feed xkcd as it is too old.
Skipping article Southern Half (Mo, 14 Jun, 2010 00:00) from feed xkcd as it is too old.
Skipping article Phobia (Fr, 11 Jun, 2010 00:00) from feed xkcd as it is too old.
Skipping article Swimsuit Issue (Mi, 09 Jun, 2010 00:00) from feed xkcd as it is too old.
Skipping article Book Burning (Mo, 07 Jun, 2010 00:00) from feed xkcd as it is too old.
Skipping article Study (Fr, 04 Jun, 2010 00:00) from feed xkcd as it is too old.
Skipping article Worst-Case Scenario (Mi, 02 Jun, 2010 00:00) from feed xkcd as it is too old.
Skipping article Geeks and Nerds (Mo, 31 Mai, 2010 00:00) from feed xkcd as it is too old.
Skipping article Birth (Fr, 28 Mai, 2010 00:00) from feed xkcd as it is too old.
Skipping article Dyslexics (Mi, 26 Mai, 2010 00:00) from feed xkcd as it is too old.
Skipping article Walkthrough (Mo, 24 Mai, 2010 00:00) from feed xkcd as it is too old.
Skipping article Infrastructures (Fr, 21 Mai, 2010 00:00) from feed xkcd as it is too old.
Skipping article Campfire (Mi, 19 Mai, 2010 00:00) from feed xkcd as it is too old.
Skipping article Blogging (Mo, 17 Mai, 2010 00:00) from feed xkcd as it is too old.
Skipping article The Tell-Tale Beat (Fr, 14 Mai, 2010 00:00) from feed xkcd as it is too old.
Skipping article Malamanteau (Mi, 12 Mai, 2010 00:00) from feed xkcd as it is too old.
Skipping article Incision (Mo, 10 Mai, 2010 00:00) from feed xkcd as it is too old.
Skipping article Yogurt (Fr, 07 Mai, 2010 00:00) from feed xkcd as it is too old.
Skipping article Cemetery (Mi, 05 Mai, 2010 00:00) from feed xkcd as it is too old.
Skipping article Floor (Mo, 03 Mai, 2010 00:00) from feed xkcd as it is too old.
Skipping article Outbreak (Fr, 30 Apr, 2010 00:00) from feed xkcd as it is too old.
Skipping article Eagle (Mi, 28 Apr, 2010 00:00) from feed xkcd as it is too old.
Skipping article HDTV (Mo, 26 Apr, 2010 00:00) from feed xkcd as it is too old.
Skipping article Desert Island (Fr, 23 Apr, 2010 00:00) from feed xkcd as it is too old.
Skipping article Circuit Diagram (Mi, 21 Apr, 2010 00:00) from feed xkcd as it is too old.
Skipping article Laser Pointer (Mo, 19 Apr, 2010 00:00) from feed xkcd as it is too old.
Skipping article iPad (Fr, 16 Apr, 2010 00:00) from feed xkcd as it is too old.
Skipping article Trade Expert (Mi, 14 Apr, 2010 00:00) from feed xkcd as it is too old.
Skipping article Seat Selection (Mo, 12 Apr, 2010 00:00) from feed xkcd as it is too old.
Skipping article Literally (Fr, 09 Apr, 2010 00:00) from feed xkcd as it is too old.
Skipping article Hell (Mi, 07 Apr, 2010 00:00) from feed xkcd as it is too old.
Skipping article Seismic Waves (Mo, 05 Apr, 2010 00:00) from feed xkcd as it is too old.
Skipping article Computer Problems (Fr, 02 Apr, 2010 00:00) from feed xkcd as it is too old.
Python function terminated unexpectedly
('utf8', 'Skipping article Flatland (Mi, 31 M\xe4r, 2010 00:00) from feed ', 35, 38, 'invalid data') (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 103, in main
File "site.py", line 85, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 99, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 24, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 815, in run
File "site-packages\calibre\customize\conversion.py", line 211, in __call__
File "site-packages\calibre\web\feeds\input.py", line 104, in convert
File "site-packages\calibre\web\feeds\news.py", line 707, in download
File "site-packages\calibre\web\feeds\news.py", line 834, in build_index
File "site-packages\calibre\web\feeds\__init__.py", line 334, in feeds_from_index
File "site-packages\calibre\web\feeds\__init__.py", line 168, in populate_from_preparsed_feed
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 35-37: invalid data
I tried to solve this myself, but I am no programmer...

But I found out that if I make a custom recipe by modifying xkcd.recipe and deleting the part that is responsible for "turn image bubblehelp into a paragraph" it somehow works but misses as expected the mouse over text of the comics.

Does anyone have any solution for that?
sonyreaderuser is offline   Reply With Quote
Old 09-13-2010, 01:00 PM   #2
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: 26,434
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
will be fixed in next release
kovidgoyal is offline   Reply With Quote
 
Advertisement
Old 09-13-2010, 04:39 PM   #3
sonyreaderuser
Junior Member
sonyreaderuser began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2010
Device: prs-600
Thank you!
sonyreaderuser is offline   Reply With Quote
Old 09-18-2010, 06:00 PM   #4
sonyreaderuser
Junior Member
sonyreaderuser began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2010
Device: prs-600
Thanks!

Thank you Kovid, I tested version 0.7.19 and it works like a charm!
sonyreaderuser is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
XKCD and the Kindle Strip PhishStyx News 7 06-07-2010 01:31 PM
Error with adding font to EPUB news recipe megabadd Calibre 2 01-11-2010 11:16 AM
6.10 Recipe Customizer Error estral Calibre 1 08-28-2009 04:33 PM
xkcd Commentary Arapito News 11 08-24-2009 11:28 AM
xkcd on why to buy a Kindle Robotech_Master News 0 02-25-2009 02:32 AM


All times are GMT -4. The time now is 07:58 AM.


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