Hello, i have upgraded my centos7 node with the packages listed at
https://fedoraproject.org/wiki/ReleaseEngineering/FlagDay2016
i successfully get a krb ticket, but i have an issue when running the fedpkg new-sources command
this is the verbose output
[fedora@fedora-builds dpm-dsi]$ fedpkg --verbose new-sources dpm-dsi-1.9.11.tar.gz Creating repo object from /home/fedora/repo/dpm-dsi Could not execute new_sources: unsupported second type in tuple Traceback (most recent call last): File "/usr/bin/fedpkg", line 16, in 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
cheers Andrea
Which version of rpkg, fedpkg, fedora-packager do you have?
[fedora@fedora-builds dpm-dsi]$ rpm -qa | grep rpkg pyrpkg-1.47-3.el7.noarch [fedora@fedora-builds dpm-dsi]$ rpm -qa | grep fedpkg fedpkg-1.26-2.el7.noarch [fedora@fedora-builds dpm-dsi]$ rpm -qa | grep fedora-packager fedora-packager-0.6.0.0-3.el7.noarch
There is a new version of fedpkg/rpkg at https://bodhi.fedoraproject.org/updates/?packages=fedpkg maybe they can help :)
i installed these 2 builds
https://koji.fedoraproject.org/koji/buildinfo?buildID=824854
and
but i still get the error
[fedora@fedora-builds dpm-dsi]$ fedpkg --verbose new-sources dpm-dsi-1.9.11.tar.gz Creating repo object from /home/fedora/repo/dpm-dsi Could not execute new_sources: unsupported second type in tuple Traceback (most recent call last): File "/usr/bin/fedpkg", line 16, in 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 2371, 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
sorry i meant these 2
https://koji.fedoraproject.org/koji/buildinfo?buildID=824830
Maybe @cqi would have an idea about this one
i see that there is a PR to fix this issue ( i have the same version of the packages mentioned)
https://pagure.io/rpkg/pull-request/174
so i guess we need to wait for this to be integrated
You could try to manually patch the file /usr/lib/python2.7/site-packages/pyrpkg/lookaside.py and see if it fixes your issue then :)
/usr/lib/python2.7/site-packages/pyrpkg/lookaside.py
patch applied and it works fine now:-) i guess we can close the ticket then thanks! Andrea
Thanks for letting us know! :)
@pingou changed the status to Closed
Closed
https://pagure.io/rpkg/pull-request/174 has been merged.