Bug 865080
Summary: | [abrt] python-nose-1.1.2-1.fc16: html.py:246:read:ValueError: unsupported pickle protocol: 3 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Peter Portante <pportant> |
Component: | python-coverage | Assignee: | Tom "spot" Callaway <tcallawa> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | a.badger, dmalcolm, fschwarz, lmacken, tcallawa |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:8087a5bab2475162c9e1dc969a597532e128f05e | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-12-20 15:42:13 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Peter Portante
2012-10-10 19:03:21 UTC
This looks like the traceback is being raised in the python-coverage package. From the mention of pickle. I'd guess that there are coverage stats that were generated using a different version of python. When nosetests were run against it, coverage tried to read the cached data for the last run and was unable to. Python docs say this about pickle protocol 3 "Protocol version 3 was added in Python 3.0. It has explicit support for bytes and cannot be unpickled by Python 2.x pickle modules." Reading the coverage code, this piece of code is inside a try: except: try: status_file = os.path.join(directory, self.STATUS_FILE) status = pickle.load(open(status_file, "rb")) except IOError: usable = False It looks like upstream python-coverage committed a fix for this just 7 days ago: https://bitbucket.org/ned/coveragepy/changeset/16020b834643bb8b9953b8d4bcc09691deb549b9 (Raw diff format): https://bitbucket.org/ned/coveragepy/changeset/16020b834643bb8b9953b8d4bcc09691deb549b9/raw/ python-coverage-3.5.3-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-coverage-3.5.3-2.fc18 python-coverage-3.5.1-0.3.b1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/python-coverage-3.5.1-0.3.b1.fc17 python-coverage-3.5-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/python-coverage-3.5-2.fc16 Package python-coverage-3.5.3-2.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-coverage-3.5.3-2.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-15927/python-coverage-3.5.3-2.fc18 then log in and leave karma (feedback). python-coverage-3.5.3-2.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |