08-12-2009, 09:01 PM | #1 |
Enthusiast
Posts: 42
Karma: 14
Join Date: Jul 2009
Device: dr800sg
|
Comic conversion error
Hi,
I just instal calibre 0.6.6 with the binary installer in ubuntu jaunty 32bits. I try to convert a comic (.cbz) to lrf. The convert failed with this error: Traceback (most recent call last): File "/tmp/init.py", line 45, in <module> File "/home/kovid/work/calibre/src/calibre/utils/ipc/worker.py", line 90, in main File "/home/kovid/work/calibre/src/calibre/gui2/convert/gui_conversion.py", line 17, in gui_convert File "/home/kovid/work/calibre/src/calibre/ebooks/conversion/plumber.py", line 656, in run File "/home/kovid/work/calibre/src/calibre/customize/conversion.py", line 217, in __call__ File "/home/kovid/work/calibre/src/calibre/ebooks/comic/input.py", line 394, in convert File "/home/kovid/work/calibre/src/calibre/ebooks/comic/input.py", line 359, in get_pages File "/home/kovid/work/calibre/src/calibre/ebooks/comic/input.py", line 257, in process_pages Exception: Failed to process comic: Traceback (most recent call last): File "/tmp/init.py", line 45, in <module> File "/home/kovid/work/calibre/src/calibre/utils/ipc/worker.py", line 90, in main File "/home/kovid/work/calibre/src/calibre/ebooks/comic/input.py", line 192, in render_pages File "/home/kovid/work/calibre/src/calibre/utils/PythonMagickWand.py", line 110, in __enter__ File "/home/kovid/work/calibre/src/calibre/utils/PythonMagickWand.py", line 99, in initialize RuntimeError: Failed to load ImageMagick: None I install in the default folder (/opt/calibre). The package imagemagick is installed on my system. Thanks |
08-13-2009, 12:26 AM | #2 |
creator of calibre
Posts: 44,351
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Do you have a 64bit system?
|
Advert | |
|
08-13-2009, 12:04 PM | #3 |
Enthusiast
Posts: 42
Karma: 14
Join Date: Jul 2009
Device: dr800sg
|
|
08-13-2009, 12:24 PM | #4 |
creator of calibre
Posts: 44,351
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre-debug -c "from calibre.utils.PythonMagickWand import _lib, _magick, _magick_error; print _lib, _magick, _magick_error"
|
08-13-2009, 12:27 PM | #5 |
Enthusiast
Posts: 42
Karma: 14
Join Date: Jul 2009
Device: dr800sg
|
|
Advert | |
|
08-13-2009, 12:43 PM | #6 |
creator of calibre
Posts: 44,351
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You used the binary installer to install calibre?
|
08-13-2009, 12:56 PM | #7 |
Enthusiast
Posts: 42
Karma: 14
Join Date: Jul 2009
Device: dr800sg
|
Yes, I use:
sudo python -c "import urllib2; exec urllib2.urlopen('http://calibre.kovidgoyal.net/download_linux_binary_installer').read(); main()" from the website. And I installed it in the default directory (/opt/calibre). P.S. I was having 0.5.14 installed with the package manager (apt) before. I uninstall it before using the binary installer though. (if memory serve well) |
08-13-2009, 12:58 PM | #8 |
creator of calibre
Posts: 44,351
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre-debug -c "from ctypes import CDLL; CDLL('libMagickWand.so.1')"
|
08-13-2009, 01:02 PM | #9 | |
Enthusiast
Posts: 42
Karma: 14
Join Date: Jul 2009
Device: dr800sg
|
Quote:
File "/tmp/init.py", line 45, in <module> File "/home/kovid/work/calibre/src/calibre/debug.py", line 178, in main File "<string>", line 1, in <module> File "/usr/lib/python2.6/ctypes/__init__.py", line 353, in __init__ self._handle = _dlopen(self._name, mode) OSError: /usr/lib/libMagickCore.so.1: undefined symbol: gzopen64 |
|
08-13-2009, 01:13 PM | #10 |
creator of calibre
Posts: 44,351
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Looks like a problem with a library on your system need by imagemagick. Try googling "undefined symbol: gzopen64"
|
08-13-2009, 01:28 PM | #11 |
Enthusiast
Posts: 42
Karma: 14
Join Date: Jul 2009
Device: dr800sg
|
OK found the problem. The binary installer put a file libz.so.1 in /opt/calibre. By renaming that file (so calibre use the one I have in /lib) corrected the problem.
Thanks! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Comic Conversion - Grey Background | \Fantasy | Calibre | 2 | 10-13-2010 04:31 PM |
Comic Conversion | RussMeyer | Kobo Reader | 0 | 05-02-2010 04:21 PM |
Help Comic Conversion: Unable to write | Lemurion | Calibre | 0 | 06-23-2009 11:08 AM |
Comic Conversion | grzy7316 | Calibre | 2 | 04-08-2009 06:55 PM |
Comic conversion error | grzy7316 | Calibre | 7 | 01-15-2009 03:17 PM |