GithubHelp home page GithubHelp logo

supytube's People

Contributors

bnrubin avatar requires avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

ddan39

supytube's Issues

BadStatusLine exception from URL

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

Not Work URL

ERROR 2015-05-10T09:48:18 Uncaught exception in Supytube.call:
Traceback (most recent call last):
File "/home/algabe/local/lib/python2.7/site-packages/supybot/log.py", line 361, in m
return f(self, _args, *_kwargs)
File "/home/algabe/local/lib/python2.7/site-packages/supybot/irclib.py", line 126, in call
method(irc, msg)
File "/home/algabe/local/bin/plugins/Supytube/plugin.py", line 94, in doPrivmsg
reply = 'Title: {0}, Views {1}, Rating: {2}'.format(title, views, rating)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2665' in position 27: ordinal not in range(128)
ERROR 2015-05-10T09:48:18 Exception id: 0x1ffe4
Exception in thread Thread #4 (for snarfing https://www.youtube.com/watch?v=0xJcCUROfSc):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in **bootstrap_inner
self.run()
File "/home/algabe/local/lib/python2.7/site-packages/supybot/commands.py", line 162, in run
super(UrlSnarfThread, self).run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(_self.__args, _self.__kwargs)
File "/home/algabe/local/lib/python2.7/site-packages/supybot/commands.py", line 213, in doSnarf
f(self, irc, msg, match, _L, _kwargs)
File "/home/algabe/local/lib/python2.7/site-packages/supybot/plugins/Web/plugin.py", line 96, in newf
pn=self.name(), cn=f.__name
)
File "/home/algabe/local/lib/python2.7/site-packages/supybot/commands.py", line 89, in process
if conf.disableMultiprocessing:
AttributeError: 'module' object has no attribute 'disableMultiprocessing'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.