Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

AttributeError: 'str' object has no attribute 'decode' #86

@kparal

Description

@kparal
DEBUG:python-versions:Checking python-sphinx-click-doc-2.2.0-1.fc31.noarch.rpm
Traceback (most recent call last):
  File "python_versions_check.py", line 126, in <module>
    arches=arches)
  File "python_versions_check.py", line 74, in run
    details.append(task_two_three(packages, koji_build, artifact))
  File "/var/tmp/taskotron/taskdir/taskotron_python_versions/two_three.py", line 124, in task_two_three
    name, py_versions = check_two_three(package)
  File "/var/tmp/taskotron/taskdir/taskotron_python_versions/two_three.py", line 86, in check_two_three
    for nevr in package.require_nevrs:
  File "/var/tmp/taskotron/taskdir/taskotron_python_versions/common.py", line 117, in require_nevrs
    return [r.decode() for r in self.hdr[rpm.RPMTAG_REQUIRENEVRS]]
  File "/var/tmp/taskotron/taskdir/taskotron_python_versions/common.py", line 117, in <listcomp>
    return [r.decode() for r in self.hdr[rpm.RPMTAG_REQUIRENEVRS]]
AttributeError: 'str' object has no attribute 'decode'

https://taskotron.fedoraproject.org/artifacts/all/8ad61b30-966d-11e9-bcba-52540077ca13/tests.yml/test.log.gz

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions