Bug 1357575
| Summary: | ImportError | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jozef Mlich <jmlich83> | ||||
| Component: | python-mapnik | Assignee: | Tom Hughes <tom> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 24 | CC: | andreas.kriegl, hdfssk, mkolman, tom | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | python-mapnik-0.1-7.20160202git1cb6851.fc24 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-08-04 20:53:06 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Jozef Mlich
2016-07-18 14:29:10 UTC
This problem affects both python2-mapnik and python3-mapnik - both are unusable on an up to date f24 install.
Manually rebuilding the SRPM also fails, during tests:
======================================================================
ERROR: python_tests.png_encoding_test.test_expected_encodings
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/media/brugan/Work/Code/rpmbuild/BUILD/python-mapnik-db7c1fdb2e970bdc93ab439119465fa5c0df3a07/test/python_tests/png_encoding_test.py", line 62, in test_expected_encodings
im.save(actual, opt)
RuntimeError: miniz support has been removed from Mapnik
======================================================================
FAIL: python_tests.cairo_test.test_passing_pycairo_context_svg
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/media/brugan/Work/Code/rpmbuild/BUILD/python-mapnik-db7c1fdb2e970bdc93ab439119465fa5c0df3a07/test/python_tests/cairo_test.py", line 114, in test_passing_pycairo_context_svg
eq_(diff < 1500, True, msg)
AssertionError: diff in size (1835) between actual (/tmp/mapnik-cairo-context-test.svg) and expected(tests/python_tests/./images/pycairo/cairo-cairo-expected.svg)
----------------------------------------------------------------------
Ran 578 tests in 28.315s
FAILED (failures=1, errors=1)
*** Bug 1360473 has been marked as a duplicate of this bug. *** python-mapnik-0.1-7.20160202git1cb6851.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-497daf15dc python-mapnik-0.1-7.20160202git1cb6851.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-497daf15dc I can confirm, that the upgrade to python-mapnik-0.1-7.20160202git1cb6851.fc24 resolved the problems. Thanks for the prompt correction. python-mapnik-0.1-7.20160202git1cb6851.fc24 also runs as expected here. python-mapnik-0.1-7.20160202git1cb6851.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |