bnrubin / supytube Goto Github PK
View Code? Open in Web Editor NEWYoutube Supybot Plugin
Youtube Supybot Plugin
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
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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.