Sunday, November 1, 2009

Calibre cbr cbz convert error FIX [Ubuntu Linux]

This should work on other linux as well.

Too solve this error you'll need to grab libunrar.so

1) go here: http://sourceforge.net/projects/calibre/files/ and download calibre-0.6.17-x86_64.tar.bz2
2) Or skip step 1 and download the single shit i uploaded http://www.megaupload.com/?d=MFCG0RL8
3) extract it theres a file inside called libunrar.so
4) copy libunrar.so into "/usr/lib" folder ull need to be root
5) done

Note: Not sure why this didnt came with the default karmic koala package, even if u install the unrar and rar package it doesnt come with the libunrar.so



*************************
This is the error msg
*************************

ERROR: Conversion Error:cbr
Failed: Convert book 1 of 1 (The Walking Dead 001)

Convert book 1 of 1 (The Walking Dead 001)
InputFormatPlugin: Comic Input running on /home/heoyea/Public/calibre/Unknown/The Walking Dead 001 (8)/The Walking Dead 001 - Unknown.cbr
Traceback (most recent call last):
File "/usr/bin/calibre-parallel", line 16, in
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
_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

1 comment:

  1. This worked for me! Thanks. My comics do not look any good on my nook but magnas look great!

    Nice IM too. :)

    ReplyDelete