View Single Post
Old 04-01-2011, 04:22 AM   #8
lantolin
Junior Member
lantolin began at the beginning.
 
Posts: 3
Karma: 28
Join Date: Apr 2011
Device: Kindle 3G Wifi
Hi,

I found this thread googling "NoDecodeDelegateForThisImageFormat" because I have the same problem.

Calibre: 0.7.52 installed from binary installer.
Debian: 6.0.1 (squeeze) all packages up to date

calibre server started as:

Code:
/opt/calibre/bin/calibre-server --with-library Calibre\ Library
leads to:

Code:
/opt/calibre/bin/calibre-server: error while loading shared libraries: libcalibre-launcher.so: cannot open shared object file: No such file or directory
So I tried:

Code:
LD_LIBRARY_PATH=/opt/calibre/lib /opt/calibre/bin/calibre-server --with-library Calibre\ Library/ &
With that it gets up but images are not displayed and I see this:

Code:
Traceback (most recent call last):
  File "site-packages/calibre/library/server/content.py", line 160, in get_cover
  File "site-packages/calibre/utils/magick/draw.py", line 112, in thumbnail
  File "site-packages/calibre/utils/magick/__init__.py", line 132, in load
Exception: NoDecodeDelegateForThisImageFormat `' @ error/blob.c/BlobToImage/349

This is the output of your suggested command:

Code:
LD_DEBUG=libs calibre-debug -c "from calibre.utils.magick.draw import identify as i; print i(I('lt.png')); print i(I('devices/nook.jpg'))" 2> log; grep png log; grep jpeg log
(128, 128, u'png')
(77, 120, u'jpeg')
      7589:	find library=libpng14.so.14 [0]; searching
      7589:	  trying file=/opt/calibre/lib/libpng14.so.14
      7589:	calling init: /opt/calibre/lib/libpng14.so.14
      7589:	calling init: /opt/calibre/lib/ImageMagick-6.6.7/modules-Q16/coders/png.so
      7589:	/opt/calibre/lib/ImageMagick-6.6.7/modules-Q16/coders/png.so: error: symbol lookup error: undefined symbol: png_LTX_RegisterPNGImage (fatal)
      7589:	/opt/calibre/lib/ImageMagick-6.6.7/modules-Q16/coders/png.so: error: symbol lookup error: undefined symbol: png_LTX_UnregisterPNGImage (fatal)
      7589:	calling fini: /opt/calibre/lib/ImageMagick-6.6.7/modules-Q16/coders/png.so [0]
      7589:	calling fini: /opt/calibre/lib/libpng14.so.14 [0]
      7589:	find library=libjpeg.so.8 [0]; searching
      7589:	  trying file=/opt/calibre/lib/libjpeg.so.8
      7589:	calling init: /opt/calibre/lib/libjpeg.so.8
      7589:	calling init: /opt/calibre/lib/ImageMagick-6.6.7/modules-Q16/coders/jpeg.so
      7589:	/opt/calibre/lib/ImageMagick-6.6.7/modules-Q16/coders/jpeg.so: error: symbol lookup error: undefined symbol: jpeg_LTX_RegisterJPEGImage (fatal)
      7589:	/opt/calibre/lib/ImageMagick-6.6.7/modules-Q16/coders/jpeg.so: error: symbol lookup error: undefined symbol: jpeg_LTX_UnregisterJPEGImage (fatal)
      7589:	calling fini: /opt/calibre/lib/ImageMagick-6.6.7/modules-Q16/coders/jpeg.so [0]
      7589:	calling fini: /opt/calibre/lib/libjpeg.so.8 [0]

But unfortunately I don't know what to do with that info.

Thanks in advance for your assistance.

/Luis
lantolin is offline   Reply With Quote