04-19-2010, 01:44 PM | #1 |
Connoisseur
Posts: 81
Karma: 50
Join Date: Jan 2010
Device: Kindle DX
|
error converting from fb2 format
Hello everibody
After latest update (0.6.48) can't send to device fb2 files. I get an error. Different error every time I tried. The previous version was working fine. Traceback (most recent call last): File "/home/kovid/build/calibre/src/calibre/gui2/viewer/main.py", line 227, in <lambda> File "/home/kovid/build/calibre/src/calibre/gui2/viewer/documentview.py", line 662, in next_page File "/home/kovid/build/calibre/src/calibre/gui2/viewer/main.py", line 632, in next_document AttributeError: 'EbookViewer' object has no attribute 'current_index' Last edited by jomaweb; 04-19-2010 at 01:58 PM. |
04-21-2010, 07:41 AM | #2 |
creator of calibre
Posts: 44,356
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The error you posted is for the ebook viewer, not send to device. Post one of the send to device errors. ANd what device is it? ANd can you do a save to disk with fb2 files?
|
Advert | |
|
04-23-2010, 04:05 AM | #3 |
Connoisseur
Posts: 81
Karma: 50
Join Date: Jan 2010
Device: Kindle DX
|
My bad. I got a Kindle DX but my error is saving to disk, sending to device and converting.
This error when it comes to convert: Convertir el libro 1 de 1 (El viaje a la felicidad) 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': '/tmp/calibre_0.6.48_qhUSr7.jpeg', 'debug_pipeline': None, 'disable_font_rescaling': False, 'dont_compress': False, 'dont_justify': False, 'extra_css': None, '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 0x29b7750>, 'insert_blank_line': False, 'insert_metadata': False, 'isbn': None, 'language': None, 'level1_toc': u'//h:h1', 'level2_toc': u'//h:h2', 'level3_toc': u'//h:h3', '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_inline_fb2_toc': False, 'no_inline_navbars': True, 'no_inline_toc': False, 'output_profile': <calibre.customize.profiles.KindleDXOutput object at 0x29b7d50>, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", 'personal_doc': u'[PDOC]', 'prefer_author_sort': False, 'prefer_metadata_cover': False, 'preprocess_html': False, 'pretty_print': False, 'pubdate': None, 'publisher': None, 'rating': None, 'read_metadata_from_opf': '/tmp/calibre_0.6.48_7Qna35.opf', 'remove_first_image': False, 'remove_footer': False, 'remove_header': False, 'remove_paragraph_spacing': False, 'remove_paragraph_spacing_indent_size': 1.5, 'rescale_images': False, 'series': None, 'series_index': None, 'tags': None, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'toc_title': None, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: FB2 Input running on /media/FREECOM/Documentos/Biblioteca de calibre/Eduard Punset/El viaje a la felicidad (16732)/El viaje a la felicidad - Eduard Punset.fb2 Parsing XML... Traceback (most recent call last): File "/tmp/init.py", line 48, in <module> File "/home/kovid/build/calibre/src/calibre/utils/ipc/worker.py", line 99, in main File "/home/kovid/build/calibre/src/calibre/gui2/convert/gui_conversion.py", line 24, in gui_convert File "/home/kovid/build/calibre/src/calibre/ebooks/conversion/plumber.py", line 787, in run File "/home/kovid/build/calibre/src/calibre/customize/conversion.py", line 211, in __call__ File "/home/kovid/build/calibre/src/calibre/ebooks/fb2/input.py", line 50, in convert File "lxml.etree.pyx", line 2538, in lxml.etree.fromstring (src/lxml/lxml.etree.c:48266) File "parser.pxi", line 1536, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:71653) File "parser.pxi", line 1415, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:70514) File "parser.pxi", line 938, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:67438) File "parser.pxi", line 539, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:63820) File "parser.pxi", line 625, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:64741) File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64084) lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: TBODY line 383 and section, line 481, column 11 |
04-23-2010, 05:41 AM | #4 |
creator of calibre
Posts: 44,356
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error means a malformed FB2 file (it is not valid XML)
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting PDF - FB2 issue (0.72) | kgn | Calibre | 3 | 06-16-2010 07:22 AM |
.fb2 format | Clemente | Which one should I buy? | 10 | 02-25-2010 02:56 AM |
[Error] Metadata in FB2 | simonbcn | Calibre | 4 | 08-30-2009 05:01 PM |
TOC not created converting from FB2 | regul8or | Calibre | 1 | 08-03-2009 12:26 PM |
FB2 Output error | stahanovez | Calibre | 2 | 08-02-2009 03:33 PM |