Description of problem: When trying to use pastebinit with paste.openstack.org it fails with a python trace. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. echo test-pastebinit |pastebinit -a tonyb -b http://paste.openstack.org -f text Actual results: [tony@thor ~]$ echo test-pastebinit |pastebinit -a tonyb -b http://paste.openstack.org -f text Traceback (most recent call last): File "/usr/bin/pastebinit", line 328, in <module> page = url_opener.open(website, params) #Send the informations and be redirected to the final page File "/usr/lib64/python2.7/urllib.py", line 215, in open return getattr(self, name)(url, data) File "/usr/lib64/python2.7/urllib.py", line 349, in open_http for args in self.addheaders: h.putheader(*args) File "/usr/lib64/python2.7/httplib.py", line 1015, in putheader raise ValueError('Invalid header name %r' % (header,)) ValueError: Invalid header name 'Content-type: text/json' Expected results: Url of paste on server Additional info: Updating to 1.5 fixes the problem I am running it locally and I've done sctarch builds for rawhide and f26 at https://koji.fedoraproject.org/koji/taskinfo?taskID=20603554 https://koji.fedoraproject.org/koji/taskinfo?taskID=20603541 Related to bug: https://bugzilla.redhat.com/show_bug.cgi?id=1055288
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'. More information and reason for this action is here: https://fedoraproject.org/wiki/Releases/27/HouseKeeping#Rawhide_Rebase
Still affects F27, F28 and rawhide. I'm running F28 locally so I have scratch-builds: * rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=28011421 * f28: https://koji.fedoraproject.org/koji/taskinfo?taskID=28011496 I'm using the results of the f28 scratch build and can talk to paste.openstack.org
pastebinit-1.5-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-5290681174
pastebinit-1.5-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-5290681174
pastebinit-1.5-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.