| Summary: | pyrpkg cannot upload sources - Could not execute new_sources: unsupported second type in tuple | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Orion Poplawski <orion> |
| Component: | rpkg | Assignee: | Dennis Gilmore <dennis> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | bochecha, cqi, dennis, gholms, lsedlar, onosek, pbabinca, s |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-01-15 10:59:45 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: | |
Thank you for the report. Unfortunatelly this a previously fixed issue that just popped up again: https://bugzilla.redhat.com/show_bug.cgi?id=1319924 I have proposed a fix: https://pagure.io/rpkg/pull-request/174 I looks this was fixed in rpkg-1.47 back in 2016. |
Description of problem: $ fedpkg -d -v new-sources idna-2.1.tar.gz Creating repo object from /home/orion/fedora/python3-idna Could not execute new_sources: unsupported second type in tuple Traceback (most recent call last): File "/usr/bin/fedpkg", line 16, in <module> main() File "/usr/lib/python2.7/site-packages/fedpkg/__main__.py", line 77, in main sys.exit(client.args.command()) File "/usr/lib/python2.7/site-packages/pyrpkg/cli.py", line 1273, in new_sources self.cmd.upload(self.args.files, replace=self.args.replace) File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 2368, in upload self.lookasidecache.upload(self.module_name, f, file_hash) File "/usr/lib/python2.7/site-packages/pyrpkg/lookaside.py", line 263, in upload if self.remote_file_exists(name, filename, hash): File "/usr/lib/python2.7/site-packages/pyrpkg/lookaside.py", line 207, in remote_file_exists c.setopt(pycurl.HTTPPOST, post_data) TypeError: unsupported second type in tuple Version-Release number of selected component (if applicable): 1.47-3.el7