Closed dentarg closed 8 years ago
https://gamling.se is hosted by CloudFlare which uses SNI, and over at https://github.com/spaam/svtplay-dl/issues/298#issuecomment-167454469 I discovered that old Python versions can't handle that. We currently use Python 2.7.3 :sob:
[15:54:15] RECV: :dentarg!dentarg@fry.starkast.net PRIVMSG #somechannel :https://gamling.se argh <TitleReaderPlugin []> (<type 'exceptions.TypeError'>, TypeError("object of type 'NoneType' has no len()",), <traceback object at 0x25d9b90>) [('/home/rufwebot/pynik/ircbot.py', 64, 'execute_plugins', 'plugin.__class__.__dict__[trigger](plugin, self, *arguments)'), ('/home/rufwebot/pynik/plugins/title_reader.py', 75, 'on_privmsg', 'bot.tell(target, self.clean(url, title))'), ('/home/rufwebot/pynik/ircbot.py', 111, 'tell', 'return self.client.tell(target, message)'), ('/home/rufwebot/pynik/ircclient/ircclient.py', 89, 'tell', 'if len(string) >= 399:')]
Now we use Python 2.7.10 and it works \o/
https://gamling.se is hosted by CloudFlare which uses SNI, and over at https://github.com/spaam/svtplay-dl/issues/298#issuecomment-167454469 I discovered that old Python versions can't handle that. We currently use Python 2.7.3 :sob: