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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-14-2010, 09:39 PM   #1
ThomasMcKean
Disabilities Advocate
ThomasMcKean doesn't litterThomasMcKean doesn't litter
 
ThomasMcKean's Avatar
 
Posts: 227
Karma: 162
Join Date: Dec 2008
Location: Blue Ridge Mountains
Device: EZ Reader Pocket Pro
[Old Thread]CBR to PDF isn't working? ACK!

Here is sample error...
----------------------------------------

ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (The Green Arrow (tpb) (2001) (Dc))

Convert book 1 of 1 (The Green Arrow (tpb) (2001) (Dc))
InputFormatPlugin: Comic Input running on /home/thomas/Library/Unknown/The Green Arrow (tpb) (2001) (Dc) (744)/The Green Arrow (tpb) (2001) (Dc) - Unknown.cbr
Traceback (most recent call last):
File "/usr/bin/calibre-parallel", line 16, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 90, in main
result = func(*args, **kwargs)
File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 19, in gui_convert
plumber.run()
File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 717, in run
accelerators, tdir)
File "/usr/lib/calibre/calibre/customize/conversion.py", line 208, in __call__
log, accelerators)
File "/usr/lib/calibre/calibre/ebooks/comic/input.py", line 401, in convert
pages = self.get_pages(fname, cdir)
File "/usr/lib/calibre/calibre/ebooks/comic/input.py", line 350, in get_pages
tdir = extract_comic(comic)
File "/usr/lib/calibre/calibre/ebooks/comic/input.py", line 24, in extract_comic
extract(path_to_comic_file, tdir)
File "/usr/lib/calibre/calibre/__init__.py", line 190, in extract
from calibre.libunrar import extract as rarextract
File "/usr/lib/calibre/calibre/libunrar.py", line 30, in <module>
_libunrar = load_library(_librar_name, cdll)
File "/usr/lib/calibre/calibre/__init__.py", line 174, in load_library
return cdll.LoadLibrary(name+'.so')
File "/usr/lib/python2.6/ctypes/__init__.py", line 431, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python2.6/ctypes/__init__.py", line 353, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libunrar.so: cannot open shared object file: No such file or directory

-----------------------------------------------------
I am unable to convert CBRs to any format?
ThomasMcKean is offline   Reply With Quote
Old 02-14-2010, 10:08 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: 25,638
Karma: 4998489
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Your system is missing libunrar
kovidgoyal is online now   Reply With Quote
 
Enthusiast
Old 02-14-2010, 10:25 PM   #3
ThomasMcKean
Disabilities Advocate
ThomasMcKean doesn't litterThomasMcKean doesn't litter
 
ThomasMcKean's Avatar
 
Posts: 227
Karma: 162
Join Date: Dec 2008
Location: Blue Ridge Mountains
Device: EZ Reader Pocket Pro
Quote:
Originally Posted by kovidgoyal View Post
Your system is missing libunrar
Yes. I have the file. libunrar.so

But the system is not allowing me to add it to the folder. What is the TERMINAL SUDO command to copy the file?
ThomasMcKean is offline   Reply With Quote
Old 02-14-2010, 11:03 PM   #4
ThomasMcKean
Disabilities Advocate
ThomasMcKean doesn't litterThomasMcKean doesn't litter
 
ThomasMcKean's Avatar
 
Posts: 227
Karma: 162
Join Date: Dec 2008
Location: Blue Ridge Mountains
Device: EZ Reader Pocket Pro
I have the libunrar.so file, I got it into the proper folder (that took some work), and now I *still* can't convert because the file is the wrong ELF class! ARGH!

Last edited by ThomasMcKean; 02-14-2010 at 11:30 PM.
ThomasMcKean is offline   Reply With Quote
Old 02-14-2010, 11:43 PM   #5
ThomasMcKean
Disabilities Advocate
ThomasMcKean doesn't litterThomasMcKean doesn't litter
 
ThomasMcKean's Avatar
 
Posts: 227
Karma: 162
Join Date: Dec 2008
Location: Blue Ridge Mountains
Device: EZ Reader Pocket Pro
I was running 0.6.13 and I upgraded to 0.6.40 and I thought that might have solved the problem? The conversion took a very long time and when I went to view the PDF file, it was 29 blank pages.

I guess I am closer. But what am I doing wrong now? *Blink*
ThomasMcKean is offline   Reply With Quote
Old 02-15-2010, 12:00 AM   #6
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,638
Karma: 4998489
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
IIRC, PDF output doesn't support comics, though user_none would have to confirm that
kovidgoyal is online now   Reply With Quote
Old 02-15-2010, 01:42 AM   #7
ThomasMcKean
Disabilities Advocate
ThomasMcKean doesn't litterThomasMcKean doesn't litter
 
ThomasMcKean's Avatar
 
Posts: 227
Karma: 162
Join Date: Dec 2008
Location: Blue Ridge Mountains
Device: EZ Reader Pocket Pro
Quote:
Originally Posted by kovidgoyal View Post
IIRC, PDF output doesn't support comics, though user_none would have to confirm that
*I* can confirm it. I tried converting to epub and it worked fine. Thanks for a great program.
ThomasMcKean is offline   Reply With Quote
Old 02-15-2010, 07:40 AM   #8
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,433
Karma: 950001
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by kovidgoyal View Post
IIRC, PDF output doesn't support comics, though user_none would have to confirm that
PDF output is supposed to have full support for comics. If it's not working then it is a bug and must have broken somewhere along the way.

@ThomasMcKean, open a ticket and attach a CBR that you know does not work correctly so I can see why and fix it.
user_none is offline   Reply With Quote
Old 02-21-2011, 03:49 PM   #9
clauderouges
Junior Member
clauderouges began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: Kindle DX Graphite
I've got the same problem. Calibre can't convert CBR books, neither using PDF as an output format, nor with EPUB or MOBI. I downloaded libunrar.so and placed it in usr/lib/. Any ideas?
clauderouges is offline   Reply With Quote
Old 02-21-2011, 03:51 PM   #10
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,433
Karma: 950001
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by clauderouges View Post
Any ideas?
Can't help without the error message. If you're getting a popup dialog click the copy button. If it's just failing open the Job window (bottom right click Jobs), Select the job and click show details.
user_none is offline   Reply With Quote
Old 02-23-2011, 09:12 AM   #11
clauderouges
Junior Member
clauderouges began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: Kindle DX Graphite
Oops... sorry. Here's the mesage:

Quote:
Convert book 1 of 1 (The Fountain)
Resolved conversion options
calibre version: 0.7.46
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': 'left',
'chapter': None,
'chapter_mark': u'pagebreak',
'colors': 256,
'comic_image_size': None,
'comments': None,
'cover': '/tmp/calibre_0.7.46_tmp_oVSJEK/calibre_0.7.46_Lven0c.jpeg',
'custom_size': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'despeckle': False,
'disable_font_rescaling': True,
'disable_trim': False,
'dont_grayscale': False,
'dont_normalize': False,
'dont_sharpen': False,
'enable_heuristics': False,
'extra_css': None,
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.40000000000000002,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0xafb640c>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_aspect_ratio': False,
'keep_ligatures': False,
'landscape': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 0,
'margin_left': 0,
'margin_right': 0,
'margin_top': 0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_process': False,
'no_sort': False,
'orientation': u'portrait',
'output_format': u'png',
'output_profile': <calibre.customize.profiles.KindleDXOutput object at 0xafb6f4c>,
'page_breaks_before': None,
'paper_size': u'letter',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': '/tmp/calibre_0.7.46_tmp_oVSJEK/calibre_0.7.46_W3o2j9.opf',
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'right2left': False,
'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,
'unit': 'inch',
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2,
'wide': False}
InputFormatPlugin: Comic Input running
on /home/claude/Documenti/Letture/eBook/Darren Aronofsky/The Fountain (17)/The Fountain - Darren Aronofsky.cbr
Traceback (most recent call last):
File "/usr/bin/calibre-parallel", line 19, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 110, in main
result = func(*args, **kwargs)
File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 31, in gui_convert_override
override_input_metadata=True)
File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert
plumber.run()
File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 904, in run
accelerators, tdir)
File "/usr/lib/calibre/calibre/customize/conversion.py", line 204, in __call__
log, accelerators)
File "/usr/lib/calibre/calibre/ebooks/comic/input.py", line 410, in convert
pages = self.get_pages(fname, cdir)
File "/usr/lib/calibre/calibre/ebooks/comic/input.py", line 359, in get_pages
tdir = extract_comic(comic)
File "/usr/lib/calibre/calibre/ebooks/comic/input.py", line 24, in extract_comic
extract(path_to_comic_file, tdir)
File "/usr/lib/calibre/calibre/__init__.py", line 187, in extract
from calibre.libunrar import extract as rarextract
File "/usr/lib/calibre/calibre/libunrar.py", line 34, in <module>
_libunrar = load_library(_librar_name, cdll)
File "/usr/lib/calibre/calibre/__init__.py", line 171, in load_library
return cdll.LoadLibrary(name+'.so')
File "/usr/lib/python2.6/ctypes/__init__.py", line 431, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python2.6/ctypes/__init__.py", line 353, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libunrar.so: classe ELF errata: ELFCLASS64
Thanks
clauderouges is offline   Reply With Quote
Old 02-23-2011, 09:16 AM   #12
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,638
Karma: 4998489
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You're using a 64bit version of libunrar.so on a 32 bit system
kovidgoyal is online now   Reply With Quote
Old 02-24-2011, 03:49 PM   #13
clauderouges
Junior Member
clauderouges began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: Kindle DX Graphite
Grazie. Sei un genio!
clauderouges 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
Comic Converter for PDF, CBZ, CBR, ZIP, RAR, PPT, PPTX jontylovell Deals, Freebies, and Resources (No Self-Promotion) 8 09-19-2009 06:18 AM
Convert cbr 2 pdf jæd iRex 1 02-13-2009 01:40 AM
Manga (cbr/cbz) to pdf? paxku Workshop 3 07-31-2008 07:02 AM


All times are GMT -4. The time now is 12:04 PM.


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