Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test failures on PowerPC ppc64le #215

Closed
aishwaryabk opened this issue Mar 17, 2020 · 3 comments
Closed

test failures on PowerPC ppc64le #215

aishwaryabk opened this issue Mar 17, 2020 · 3 comments

Comments

@aishwaryabk
Copy link

I am trying to build treepoem on rhel 7.6 ppc64le. The build passes, however there are 3 test failures:

ERRORS:
FAILED tests/test_treepoem.py::test_barcode[interleaved2of5-0123456789] - assert (2, 1, 195, 145) is None
FAILED tests/test_treepoem.py::test_barcode[code128-This is code128 barcode.] - assert (4, 1, 593, 145) is None
FAILED tests/test_treepoem.py::test_barcode[code39-THIS IS CODE39 BARCODE.] - assert (2, 1, 795, 145) is None

Python version: Python 3.6.3
Environment : Rhel 7.6 ppc64le
Pip: pip 20.0.2 from /opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pip (python 3.6)
Ghostscript 9.07

Would like some help on this issue. I am running it on a High end VM with good connectivity.

@adamchainz
Copy link
Owner

We don't do much on top of ghostscript + bwipp. Can you check how ghostscript is working, and ghostscript's compatibility?

@aishwaryabk
Copy link
Author

aishwaryabk commented Mar 17, 2020

@adamchainz ghostscript seems to be running fine after running export GS_DEVICE=display

bash-4.2# gs
GPL Ghostscript 9.07 (2013-02-14)
Copyright (C) 2012 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>

However the error remains the same

@adamchainz
Copy link
Owner

Please upgrade to a new ghostscript for the tests. Barcode generation changed a bit with "smearing" on newer versions. Never really got to the bottom of it, not sure if newer ghostscript versions are actually correct now. See this still open issue: #124.

If you can figure anything else, please update, perhaps with a new issue referring to #124. Closing this because I suspect it's entirely to do with ghostscript version and not powerpc-ness. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants