|
|
#1 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Ipad 2
|
ImportError: No module named djvu
Hi all,
I'm new to Caliber and downloaded it to both sort my ebook library more effectively and convert some ebooks to a format readable by my ipad. I started by trying to convert a .djvu to and epub and got the error below. Any thoughts? Thanks, Jay Code:
calibre, version 0.8.41
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (The Day The Universe Changed)
Convert book 1 of 1 (The Day The Universe Changed)
Resolved conversion options
calibre version: 0.8.41
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\Jay\\AppData\\Local\\Temp\\calibre_0.8.41_tmp_aefitc\\bu2ryp.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'enable_heuristics': False,
'epub_flatten': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x04D6C2D0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'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,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.GenericEink object at 0x04D6C4D0>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\Jay\\AppData\\Local\\Temp\\calibre_0.8.41_tmp_aefitc\\kz6klb.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'use_djvutxt': True,
'verbose': 2}
InputFormatPlugin: DJVU Input running
on C:\Users\Jay\AppData\Local\Temp\calibre_0.8.41_tmp_aefitc\jxb2xo.djvu
Python function terminated unexpectedly
No module named djvu (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 191, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 963, in run
File "site-packages\calibre\customize\conversion.py", line 208, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\djvu_input.py", line 49, in convert
ImportError: No module named djvu
|
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,607
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's a bug, fixed in next release. Though note that calibre can only convert DJVU files that contain actual text (files produced from an OCR program).
|
|
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Ipad 2
|
Wow - that's what I call hands-on management =)
Excellent to hear. When do you expect the next release to go live? Sadly I am unsure whether the file contains text, but I believe it does. In any case, we shall see when the new release is launched =) Cheers, and keep up the good work! |
|
|
|
|
|
#4 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,257
Karma: 61916418
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
If you run from source, sooner
|
|
|
|
|
|
|
#5 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Mar 2012
Device: Amazon Kindle Touch
|
I have some problem, and I think already on updated version.
Calibre 0.8.41 OS: Windows 7 x64 Every time when I convert from djvu - I have this error: Code:
calibre, version 0.8.41
ERROR: Ошибка преобразования: (trnsl: Error convert) <b>Failed</b>: Convert book 1 of 1 (Электроника для начинающих и не только) (trnsl: Book name)
Convert book 1 of 1 (Электроника для начинающих и не только) (trnsl: Book name)
Resolved conversion options
calibre version: 0.8.41
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\Blacky\\AppData\\Local\\Temp\\calibre_0.8.41_tmp_uaxggc\\5g4bk7.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'duplicate_links_in_toc': False,
'enable_heuristics': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x0438F4D0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'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,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'mobi_ignore_margins': False,
'mobi_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': True,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindleOutput object at 0x0438F7F0>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\Blacky\\AppData\\Local\\Temp\\calibre_0.8.41_tmp_uaxggc\\qccgoz.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'rescale_images': False,
'series': None,
'series_index': None,
'share_not_sync': False,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'use_djvutxt': True,
'verbose': 2}
InputFormatPlugin: DJVU Input running
on C:\Users\Blacky\AppData\Local\Temp\calibre_0.8.41_tmp_uaxggc\vaeoqc.djvu
Python function terminated unexpectedly
No module named djvu (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 191, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 963, in run
File "site-packages\calibre\customize\conversion.py", line 208, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\djvu_input.py", line 49, in convert
ImportError: No module named djvu
Sorry for bad english! Thanks! |
|
|
|
|
|
#6 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,257
Karma: 61916418
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
@Blacky
There is a new Calibre Babytm in town that is messing up our weekly update schedule Once thing quiet down things may return to normal..
|
|
|
|
|
|
#7 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Ipad 2
|
Hey,
Congrats =) So, just to clarify: The bug fix that addresses the DJVU conversion issue has not been released yet, correct? Thanks, Jay |
|
|
|
|
|
#8 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Ipad 2
|
Hey, just a quick 'bump' to check on the status of djvu to epub conversions =)
Cheers, Jay edit: just downloaded new version - testing =) Last edited by canadianjameson; 04-01-2012 at 01:35 PM. |
|
|
|
|
|
#9 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,257
Karma: 61916418
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Really Large donations to the developers might convince them... and then it might not
|
|
|
|
|
|
|
#10 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,759
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Also, someone has to know enough about the djvu format who can code in Python to go with Calibre.
|
|
|
|
|
|
#11 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Ipad 2
|
Hey,
Okay I just tried it, and while it will output now it just outputs two pages of which one is blank and one is the cover image that I downloaded. I also tried to output to PDF and got the same result. Any thoughts? Am I doing something wrong / should I start a new post? Thanks, Jay |
|
|
|
|
|
#12 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Feb 2012
Device: Ipad 2
|
Hi again - sorry, I wasn't aware that I was being rude. Etiquette varies from forum to forum =\
Apart from donating multiple organs and first born offspring, what is recommended? In a sense I am just asking "Am I doing something wrong or is the functionality not present?" Thanks, and sorry again. Jay |
|
|
|
|
|
#13 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,607
Karma: 28548974
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre can only convert djvu files that contain embedded text, not files that are colelctions of page scans.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calibre 0.8.36 - Linux Compile Error - No module named dateutil.parser | jasn | Calibre | 2 | 01-21-2012 11:36 PM |
| Error on install: No module named PyQt4 | good_man | Calibre | 4 | 02-18-2011 03:10 PM |
| ebook-meta error - "No module named podofo" | jimrothstein | Calibre | 1 | 01-15-2011 09:58 AM |
| ImportError: No module named profiles | ould | Calibre | 11 | 02-28-2009 07:25 PM |
| ImportError: No module named pkg_resources | erik80 | Calibre | 3 | 08-02-2008 09:33 AM |