Page 1 of 1

Failed Tests

Posted: 2017-05-08T16:10:34-07:00
by Dan_Goodrick
I am on Ubuntu 16.04 LTS
Based on this stackoverflow post: http://stackoverflow.com/questions/3701 ... recognized
I installed a previous of ImageMagick because the current release doesn't work with wand.image, one of the dependencies for Pyocr (an OCR library for Python).
I got the .tar.gz from here: https://launchpad.net/imagemagick/+milestone/6.9.3-9
This is the output of convert -version

Code: Select all

Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-03-14 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
I ran the following commands in terminal:

Code: Select all

./configure
make
make install
make check
I failed two of the tests:

Code: Select all

FAIL: Magick++/demo/demos.tap 6
FAIL: tests/wandtest.tap 1
When I try (in python)

Code: Select all

import wand.image
I get:

Code: Select all

ImportError: MagickWand shared library not found.
You probably had not installed ImageMagick library.
Try to install:
  apt-get install libmagickwand-dev
Any help passing these tests of importing wand into python is appreciated.

Re: Failed Tests

Posted: 2017-05-08T16:16:31-07:00
by fmw42
You said you downloaded https://launchpad.net/imagemagick/+milestone/6.9.3-9, but your actual installed version is 6.8.9-9. So something is obviously wrong with what you did or you mis-reported it. Both versions are outdated, as IM is at 6.9.8.4 for IM 6 and 7.0.5.5 for IM 7. Apart from these observations, I cannot help further since I am not a Linux user.