Package Details: python2-pythonmagick 0.9.17-1

Git Clone URL: (read-only)
Package Base: python2-pythonmagick
Description: Object-oriented Python2 bindings for the ImageMagick library
Upstream URL:
Licenses: custom
Submitter: mschu
Maintainer: mschu
Last Packager: mschu
Votes: 17
Popularity: 0.003202
First Submitted: 2011-06-22 18:18
Last Updated: 2017-06-28 23:31

Latest Comments

chrys87 commented on 2017-05-06 11:28

the checksum seems to be invalid.

cheers chrys

mschu commented on 2017-04-10 15:10

Fixed, thank you.

thatdude commented on 2017-04-09 00:49

This package started getting an ImportError at some point:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/PythonMagick/", line 1, in <module>
from . import _PythonMagick
ImportError: /usr/lib/ undefined symbol: PyUnicode_AsUTF8String

In order to fix it, you just need to add

PYTHON="/usr/bin/python2" \

before line 21.

nullptr_t commented on 2015-04-30 17:23

No, I have no idea, but since your package pythonmagick did not build anymore on 1st April, it cannot be because of boost which is in [extra] for two day.

On the other hand imagemagick itself got updated on "2015-03-23 04:56 UTC", what would make more sense for that unability to build on 1st April.

It would be nice to determine via archives/cache, wether compiling worked with imagemagick< or not to be able to file a proper bug report upstream[0].


mschu commented on 2015-04-29 09:18

I get the same error, but I've got no idea what's causing it.

Please report upstream. If you can figure out how to fix it I'll patch.

nullptr_t commented on 2015-04-29 09:06

Besides from that, I get the following trace when building with boost 1.58
(the current build 0.9.11-2 worked)

CXX libpymagick_la-_Image.lo
_Image.cpp: In function ‘void Export_pyste_src_Image()’:
_Image.cpp:194:71: error: no matches converting function ‘antiAlias’ to type ‘bool (class Magick::Image::*)()’
.def("antiAlias", (bool (Magick::Image::*)() )&Magick::Image::antiAlias)
In file included from _Image.cpp:7:0:
/usr/include/ImageMagick-6/Magick++/Image.h:132:10: note: candidates are: bool Magick::Image::antiAlias() const
bool antiAlias(void) const;
/usr/include/ImageMagick-6/Magick++/Image.h:131:10: note: void Magick::Image::antiAlias(bool)
void antiAlias(const bool flag_);
_Image.cpp:200:95: error: no matches converting function ‘attribute’ to type ‘std::string (class Magick::Image::*)(std::string) {aka class std::basic_string<char> (class Magick::Image::*)(class std::basic_string<char>)}’
.def("attribute", (std::string (Magick::Image::*)(const std::string) )&Magick::Image::attribute)
In file included from _Image.cpp:7:0:
/usr/include/ImageMagick-6/Magick++/Image.h:650:17: note: candidates are: std::string Magick::Image::attribute(std::string) const
std::string attribute(const std::string name_ ) const;
/usr/include/ImageMagick-6/Magick++/Image.h:649:10: note: void Magick::Image::attribute(std::string, std::string)
void attribute(const std::string name_,const std::string value_);
_Image.cpp:231:76: error: no matches converting function ‘colorMapSize’ to type ‘size_t (class Magick::Image::*)() {aka long unsigned int (class Magick::Image::*)()}’
.def("colorMapSize", (size_t (Magick::Image::*)() )&Magick::Image::colorMapSize)
In file included from _Image.cpp:7:0:
/usr/include/ImageMagick-6/Magick++/Image.h:205:12: note: candidates are: size_t Magick::Image::colorMapSize() const
size_t colorMapSize(void) const;
/usr/include/ImageMagick-6/Magick++/Image.h:204:10: note: void Magick::Image::colorMapSize(size_t)
void colorMapSize(const size_t entries_);
_Image.cpp:374:29: error: ‘registerId’ is not a member of ‘Magick::Image’
.def("registerId", &Magick::Image::registerId)
_Image.cpp:375:31: error: ‘unregisterId’ is not a member of ‘Magick::Image’
.def("unregisterId", &Magick::Image::unregisterId)
Makefile:767: recipe for target 'libpymagick_la-_Image.lo' failed
make[1]: *** [libpymagick_la-_Image.lo] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-build/aur-python2-pythonmagick/src/PythonMagick-0.9.11/pythonmagick_src'
Makefile:652: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build python2-pythonmagick.

Any idea or should I report this upstream?

nullptr_t commented on 2015-04-29 08:54

boost 1.58 is out, please bump again.

nullptr_t commented on 2014-11-11 16:06


@mschu: please bump to 0.9.11-2 for rebuild to solve this

blablubb1234 commented on 2014-10-17 07:55

I figured out myself, py++ is not needed for it to run. I had to rebuild python2-pythonmagick though as there was a boost update and pythonmagick was looking for libboost_python.sp.1.55.0 rather than

blablubb1234 commented on 2014-10-17 07:08

Hi, which boost do I need for pythonmagick to work? Is it boost from the official repository or from the AUR?

All comments