Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-12-2009, 09:01 PM   #1
Landrovan
Enthusiast
Landrovan began at the beginning.
 
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
Landrovan is offline   Reply With Quote
Old 08-13-2009, 12:26 AM   #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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Do you have a 64bit system?
kovidgoyal is offline   Reply With Quote
Advert
Old 08-13-2009, 12:04 PM   #3
Landrovan
Enthusiast
Landrovan began at the beginning.
 
Posts: 42
Karma: 14
Join Date: Jul 2009
Device: dr800sg
Quote:
Originally Posted by kovidgoyal View Post
Do you have a 64bit system?
Nope, just a 32bits system
Landrovan is offline   Reply With Quote
Old 08-13-2009, 12:24 PM   #4
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: 43,858
Karma: 22666666
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"
kovidgoyal is offline   Reply With Quote
Old 08-13-2009, 12:27 PM   #5
Landrovan
Enthusiast
Landrovan began at the beginning.
 
Posts: 42
Karma: 14
Join Date: Jul 2009
Device: dr800sg
Quote:
Originally Posted by kovidgoyal View Post
calibre-debug -c "from calibre.utils.PythonMagickWand import _lib, _magick, _magick_error; print _lib, _magick, _magick_error"
libMagickWand.so.1 None None
Landrovan is offline   Reply With Quote
Advert
Old 08-13-2009, 12:43 PM   #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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You used the binary installer to install calibre?
kovidgoyal is offline   Reply With Quote
Old 08-13-2009, 12:56 PM   #7
Landrovan
Enthusiast
Landrovan began at the beginning.
 
Posts: 42
Karma: 14
Join Date: Jul 2009
Device: dr800sg
Quote:
Originally Posted by kovidgoyal View Post
You used the binary installer to install calibre?
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)
Landrovan is offline   Reply With Quote
Old 08-13-2009, 12:58 PM   #8
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre-debug -c "from ctypes import CDLL; CDLL('libMagickWand.so.1')"
kovidgoyal is offline   Reply With Quote
Old 08-13-2009, 01:02 PM   #9
Landrovan
Enthusiast
Landrovan began at the beginning.
 
Posts: 42
Karma: 14
Join Date: Jul 2009
Device: dr800sg
Quote:
Originally Posted by kovidgoyal View Post
calibre-debug -c "from ctypes import CDLL; CDLL('libMagickWand.so.1')"
Traceback (most recent call last):
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
Landrovan is offline   Reply With Quote
Old 08-13-2009, 01:13 PM   #10
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: 43,858
Karma: 22666666
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"
kovidgoyal is offline   Reply With Quote
Old 08-13-2009, 01:28 PM   #11
Landrovan
Enthusiast
Landrovan began at the beginning.
 
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!
Landrovan is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 07:30 PM.


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