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

BadStatusLine exception from URL #7

Open
bnrubin opened this issue May 19, 2015 · 0 comments
Open

BadStatusLine exception from URL #7

bnrubin opened this issue May 19, 2015 · 0 comments

Comments

@bnrubin
Copy link
Owner

bnrubin commented May 19, 2015

Getting the following traceback when attempting to process https://www.youtube.com/watch?v=MrjLz207SzY

ERROR 2015-05-19T14:43:57 supybot Uncaught exception in Supytube.__call__:
Traceback (most recent call last):
  File "/home/supybot/.local/lib/python2.7/site-packages/supybot/log.py", line 351, in m
    return f(self, *args, **kwargs)
  File "/home/supybot/.local/lib/python2.7/site-packages/supybot/irclib.py", line 126, in __call__
    method(irc, msg)
  File "/home/bnrubin/supybot/plugins/Supytube/plugin.py", line 82, in doPrivmsg
    fields='items(snippet(title),statistics)').execute()
  File "/home/supybot/.local/lib/python2.7/site-packages/oauth2client/util.py", line 137, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/home/supybot/.local/lib/python2.7/site-packages/googleapiclient/http.py", line 722, in execute
    body=self.body, headers=self.headers)
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1597, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1345, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/local/lib/python2.7/dist-packages/httplib2/__init__.py", line 1315, in _conn_request
    response = conn.getresponse()
  File "/usr/lib/python2.7/httplib.py", line 1045, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 409, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 373, in _read_status
    raise BadStatusLine(line)
BadStatusLine: ''
ERROR 2015-05-19T14:43:57 supybot Exception id: 0x7df0c
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