Issue #30 resolved

Build fails with "ValueError: invalid literal for int() with base 10: 'x' "

Anonymous created an issue

Build log:

[ec2-user@k1]~/pgmagick-0.5.3% python setup.py build include header path: /usr/include/GraphicsMagick/ library path: /usr/lib64/libGraphicsMagick++ GraphicsMagick version: 1.2.x Traceback (most recent call last): File "setup.py", line 115, in <module> _version = map(int, _version.split('.')) ValueError: invalid literal for int() with base 10: 'x'

It barfs on this line: _version = map(int, _version.split('.'))

_version is getting set above in

if not _version: _version = get_version_from_devheaders(include_dirs)

get_version_from_devheaders sets _version to return '1.2.x'

Comments (3)

  1. Log in to comment