Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urllib unknown url type #39

Open
brainstorm opened this issue Nov 4, 2014 · 0 comments
Open

urllib unknown url type #39

brainstorm opened this issue Nov 4, 2014 · 0 comments

Comments

@brainstorm
Copy link

After tweaking the config.ini like so:

[login]
username = brainstorm
password = somepwd

[source]
repository = INCF/biostar-central

[target]
repository = ialbert/biostar-central

I am getting the following traceback:

Loaded options from default config file in '/Users/roman/tmp/github-issues-import/config.ini'
Traceback (most recent call last):
  File "gh-issues-import.py", line 431, in <module>
    issues += get_issues_by_id('source', issue_ids)
  File "gh-issues-import.py", line 237, in get_issues_by_id
    issues.append(get_issue_by_id(which, int(issue_id)))
  File "gh-issues-import.py", line 231, in get_issue_by_id
    return send_request(which, "issues/%d" % issue_id)
  File "gh-issues-import.py", line 207, in send_request
    response = urllib.request.urlopen(req)
  File "/usr/local/Cellar/python3/3.4.1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 153, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/local/Cellar/python3/3.4.1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 455, in open
    response = self._open(req, data)
  File "/usr/local/Cellar/python3/3.4.1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 478, in _open
    'unknown_open', req)
  File "/usr/local/Cellar/python3/3.4.1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 433, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python3/3.4.1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/urllib/request.py", line 1257, in unknown_open
    raise URLError('unknown url type: %s' % type)
urllib.error.URLError: <urlopen error unknown url type: https>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant