esplinr / htmllogger Goto Github PK
View Code? Open in Web Editor NEWSupybot Plugin (tested with Limnoria) for creating HTML channel logs.
License: BSD 3-Clause "New" or "Revised" License
Supybot Plugin (tested with Limnoria) for creating HTML channel logs.
License: BSD 3-Clause "New" or "Revised" License
Hi,
I was trying to test this plugin in python 2.7, but I was getting exceptions like:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/supybot/log.py", line 361, in m
return f(self, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/supybot/irclib.py", line 126, in __call__
method(irc, msg)
File "/home/ircbot/supybot/plugins/HtmlLogger/plugin.py", line 407, in doNotice
self.doLog(irc, channel, True, None, '-%s- %s', msg.nick, text)
File "/home/ircbot/supybot/plugins/HtmlLogger/plugin.py", line 337, in doLog
log = self.getLog(irc, channel)
File "/home/ircbot/supybot/plugins/HtmlLogger/plugin.py", line 305, in getLog
with open(logPath, encoding='utf-8', mode='r'+bin_mode) as logFile:
ValueError: binary mode doesn't take an encoding argument
ERROR 2014-09-10T18:41:37 Exception id: 0x23abb
So, looking at the history, I saw that this was fixed in: ced60e2 by removing the encoding='utf-8
, but then, it was added again in 5554bd3.
Any reason for that? Could I send you a PR to get that fix? (in case that's needed for python 3.x)
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.