You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The basic authentication works fine for getting the collection of issues to be exported to the cloned repository, but then it seems like that doesn't work for post while creating the issue. Could it be that GitHub API doesn't allow it anymore?
The full log:
Loaded issues 1 30
Loaded issues 2 1
Loaded issues 3 0
Importing issue Here is the name of the issue on GitHub I want to export (59)
Traceback (most recent call last):
File "/gh-issues-import.py", line 274, in <module>
main()
File "/gh-issues-import.py", line 270, in main
import_issues(issues, milestones, labels)
File "/gh-issues-import.py", line 138, in import_issues
import_issue(source, dst_milestones, dst_labels)
File "/gh-issues-import.py", line 169, in import_issue
res_issue = create_issue(dst_url, source["title"], body, assignee, milestone, labels)
File "/gh-issues-import.py", line 197, in create_issue
res = urllib2.urlopen(req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 394, in open
response = self._open(req, data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 412, in _open
'_open', req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1207, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 1170, in do_open
r = h.getresponse(buffering=True)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1027, in getresponse
response.begin()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 407, in begin
version, status, reason = self._read_status()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 371, in _read_status
raise BadStatusLine(line)
httplib.BadStatusLine: ''
The text was updated successfully, but these errors were encountered:
I managed to run the script with the correction I made (see #211) but it failed on the
create_issue
method https://github.com/collective/collective.developermanual/blob/master/gh-issues-import.py#L196 with the messagehttplib.BadStatusLine: ''
The basic authentication works fine for getting the collection of issues to be exported to the cloned repository, but then it seems like that doesn't work for post while creating the issue. Could it be that GitHub API doesn't allow it anymore?
The full log:
The text was updated successfully, but these errors were encountered: