bcb72904de
If any error is encountered while sending to IRC, try to reconnect. This is an attempt to deal with this exception: 2013-10-07 23:00:00,937 ERROR gerritbot: Exception encountered in event loop Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/gerritbot/bot.py", line 225, in run self._read(event) File "/usr/local/lib/python2.7/dist-packages/gerritbot/bot.py", line 216, in _read self.change_merged(channel, data) File "/usr/local/lib/python2.7/dist-packages/gerritbot/bot.py", line 194, in change_merged self.ircbot.send(channel, msg) File "/usr/local/lib/python2.7/dist-packages/gerritbot/bot.py", line 98, in send self.connection.privmsg(channel, msg) File "/usr/local/lib/python2.7/dist-packages/irc/client.py", line 933, in privmsg self.send_raw("PRIVMSG %s :%s" % (target, text)) File "/usr/local/lib/python2.7/dist-packages/irc/client.py", line 960, in send_raw sender = self.ssl.write if self.ssl else self.socket.send AttributeError: 'NoneType' object has no attribute 'send' Change-Id: I8c845626260ec7b9ee7f9e409adba4796dd367ee |
||
---|---|---|
doc/source | ||
gerritbot | ||
.gitignore | ||
.gitreview | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
gerritbot.init | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
GerritBot
Gerritbot is an IRC bot that will notify IRC channels of Gerrit events.
To install:
$ sudo python setup.py install
Online documentation:
Developers
Bug report:
Cloning:
Patches are submitted via Gerrit at:
More details on how you can contribute is available on our wiki at:
License
Copyright 2011 OpenStack, LLC Copyright 2012-2013 Hewlett-Packard Development Company, L.P.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.