Issue #46 new

failures in test_pgmagick_api.py in latest release

idella5
created an issue
.....E...............E.......................EE......
======================================================================
ERROR: test_composite (__main__.DrawTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_pgmagick_api.py", line 121, in test_composite
    self.d.composite(10, 10, 0, 0, img1)
  File "/mnt/gen2/TmpDir/portage/dev-python/pgmagick-0.5.8/work/pgmagick-0.5.8-python2_7/lib/pgmagick/api.py", line 788, in composite
    composite = pgmagick.DrawableCompositeImage(x, y, image)
ArgumentError: Python argument types in
    DrawableCompositeImage.__init__(DrawableCompositeImage, int, int, Image)
did not match C++ signature:
    __init__(_object*, double, double, double, double, Magick::Image, MagickLib::CompositeOperator)
    __init__(_object*, double, double, double, double, std::string, MagickLib::CompositeOperator)
    __init__(_object*, double, double, double, double, Magick::Image)
    __init__(_object*, double, double, double, double, std::string)
    __init__(_object*, double, double, Magick::Image)
    __init__(_object*, double, double, std::string)
    __init__(_object*, Magick::DrawableCompositeImage)

======================================================================
ERROR: test_path (__main__.DrawTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_pgmagick_api.py", line 233, in test_path
    self.d.path(paths)
  File "/mnt/gen2/TmpDir/portage/dev-python/pgmagick-0.5.8/work/pgmagick-0.5.8-python2_7/lib/pgmagick/api.py", line 878, in path
    vpath = _convert_vpathlist(vpath)
  File "/mnt/gen2/TmpDir/portage/dev-python/pgmagick-0.5.8/work/pgmagick-0.5.8-python2_7/lib/pgmagick/api.py", line 509, in _convert_vpathlist
    vpl.append(obj)
ArgumentError: Python argument types in
    VPathList.append(VPathList, PathMovetoAbs)
did not match C++ signature:
    append(std::list<Magick::VPath, std::allocator<Magick::VPath> > {lvalue}, Magick::VPath)

======================================================================
ERROR: test_composite_arg_gravity (__main__.ImageTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_pgmagick_api.py", line 62, in test_composite_arg_gravity
    base.composite(layer, 'center', 'over')
  File "/mnt/gen2/TmpDir/portage/dev-python/pgmagick-0.5.8/work/pgmagick-0.5.8-python2_7/lib/pgmagick/api.py", line 643, in composite
    self.img.composite(composite_img, offset, compose)
ArgumentError: Python argument types in
    Image.composite(Image, Image, GravityType, CompositeOperator)
did not match C++ signature:
    composite(Magick::Image {lvalue}, Magick::Image, MagickLib::GravityType)
    composite(Magick::Image {lvalue}, Magick::Image, MagickLib::GravityType, MagickLib::CompositeOperator)
    composite(Magick::Image {lvalue}, Magick::Image, Magick::Geometry)
    composite(Magick::Image {lvalue}, Magick::Image, Magick::Geometry, MagickLib::CompositeOperator)
    composite(Magick::Image {lvalue}, Magick::Image, int, int)
    composite(Magick::Image {lvalue}, Magick::Image, int, int, MagickLib::CompositeOperator)

======================================================================
ERROR: test_composite_arg_list (__main__.ImageTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_pgmagick_api.py", line 53, in test_composite_arg_list
    base.composite(layer, (10, 10), 'over')
  File "/mnt/gen2/TmpDir/portage/dev-python/pgmagick-0.5.8/work/pgmagick-0.5.8-python2_7/lib/pgmagick/api.py", line 643, in composite
    self.img.composite(composite_img, offset, compose)
ArgumentError: Python argument types in
    Image.composite(Image, Image, Geometry, CompositeOperator)
did not match C++ signature:
    composite(Magick::Image {lvalue}, Magick::Image, MagickLib::GravityType)
    composite(Magick::Image {lvalue}, Magick::Image, MagickLib::GravityType, MagickLib::CompositeOperator)
    composite(Magick::Image {lvalue}, Magick::Image, Magick::Geometry)
    composite(Magick::Image {lvalue}, Magick::Image, Magick::Geometry, MagickLib::CompositeOperator)
    composite(Magick::Image {lvalue}, Magick::Image, int, int)
    composite(Magick::Image {lvalue}, Magick::Image, int, int, MagickLib::CompositeOperator)

----------------------------------------------------------------------
Ran 53 tests in 0.859s

FAILED (errors=4)

Can you replicate? Do you require any further information?

Comments (0)

  1. Log in to comment