Closed
Description
Traceback (most recent call last):
File "run.py", line 32, in <module>
main()
File "run.py", line 27, in main
print(utils.build_srpm(args.upstream, args.spec))
File "/home/ignatenko/git/upstream/ci-dnf-stack/ci_dnf_stack/utils.py", line 156, in build_srpm
repo.write_archive(repo[oid], archive, prefix=archive_prefix)
File "/usr/lib64/python3.5/site-packages/pygit2/repository.py", line 807, in write_archive
archive.addfile(info)
File "/usr/lib64/python3.5/tarfile.py", line 1964, in addfile
buf = tarinfo.tobuf(self.format, self.encoding, self.errors)
File "/usr/lib64/python3.5/tarfile.py", line 810, in tobuf
return self.create_gnu_header(info, encoding, errors)
File "/usr/lib64/python3.5/tarfile.py", line 841, in create_gnu_header
return buf + self._create_header(info, GNU_FORMAT, encoding, errors)
File "/usr/lib64/python3.5/tarfile.py", line 927, in _create_header
stn(info.get("linkname", ""), 100, encoding, errors),
File "/usr/lib64/python3.5/tarfile.py", line 156, in stn
s = s.encode(encoding, errors)
AttributeError: 'bytes' object has no attribute 'encode'
Metadata
Metadata
Assignees
Labels
No labels