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 02-23-2010, 02:50 PM   #1
Sannepan
Junior Member
Sannepan began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2010
Device: BeBook Mini
unpack requires a string argument of length 2

Hi,
I love my BeBook and Calibre makes me enjoy it even more.
Just got a problem with converting and viewing this lrf to epub. Who can help me with this?

Converteer boek 1 van 1 (The Chase)
Resolved conversion options
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_justify': False,
'dont_split_on_page_breaks': False,
'extra_css': None,
'extract_to': None,
'flow_size': 260,
'font_size_mapping': None,
'footer_regex': u'(?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': u'(?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 0x62f8850>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': 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,
'output_profile': <calibre.customize.profiles.HanlinV5Output object at 0x62f8af0>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preprocess_html': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': '/tmp/calibre_0.6.42_alJJ9R.opf',
'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,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'use_auto_toc': False,
'verbose': 2}
Python function terminated unexpectedly: unpack requires a string argument of length 2
InputFormatPlugin: LRF Input running
on /Users/grasland/ebook library/Clive Cussler/The Chase (1210)/The Chase - Clive Cussler.lrf
Generating XML
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
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 778, in run
File "site-packages/calibre/customize/conversion.py", line 211, in __call__
File "site-packages/calibre/ebooks/lrf/input.py", line 366, in convert
File "site-packages/calibre/ebooks/lrf/lrfparser.py", line 28, in parse
File "site-packages/calibre/ebooks/lrf/lrfparser.py", line 51, in _parse_objects
File "site-packages/calibre/ebooks/lrf/lrfparser.py", line 59, in _parse_object
File "site-packages/calibre/ebooks/lrf/objects.py", line 1257, in get_object
File "site-packages/calibre/ebooks/lrf/tags.py", line 188, in __init__
struct.error: unpack requires a string argument of length 2


TNX!
Attached Files
File Type: lrf The Chase - Clive Cussler.lrf (394.9 KB, 101 views)
Sannepan is offline   Reply With Quote
Old 02-23-2010, 03:04 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,463
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a malformed LRF file.
kovidgoyal is online now   Reply With Quote
 
Advertisement
Old 02-23-2010, 03:05 PM   #3
Sannepan
Junior Member
Sannepan began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2010
Device: BeBook Mini
TNX for the quick reply!
I'll delete it then...
Sannepan 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
IOError: [Errno 22] Invalid argument jkcoder Calibre 5 09-25-2010 10:28 AM
for the sake of argument... Opus Amazon Kindle 9 06-21-2010 11:55 PM
8 Ways To Handle An Argument moon light Lounge 11 08-26-2009 10:16 PM
An argument we are having at work... ficbot News 125 08-05-2009 09:09 AM
Does epub on 505 requires formatting? lovemov Sony Reader 11 04-02-2009 11:44 AM


All times are GMT -4. The time now is 02:42 AM.


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