barnumbirr / wookie

wookie is a simple, open source, easy-to-use iRC RSS bot written in Python. It was designed to announce new torrent releases in a given iRC channel.
Other
14 stars 9 forks source link

AttributeError: 'NoneType' object has no attribute 'group' #7

Closed barnumbirr closed 9 years ago

barnumbirr commented 9 years ago

root@host:~/wookie# python wookie.py Traceback (most recent call last): File "wookie.py", line 219, in wookieBot().start() File "/usr/local/lib/python2.7/dist-packages/ircbot.py", line 247, in start SimpleIRCClient.start(self) File "/usr/local/lib/python2.7/dist-packages/irclib.py", line 1114, in start self.ircobj.process_forever() File "/usr/local/lib/python2.7/dist-packages/irclib.py", line 229, in process_forever self.process_once(timeout) File "/usr/local/lib/python2.7/dist-packages/irclib.py", line 214, in process_once self.process_data(i) File "/usr/local/lib/python2.7/dist-packages/irclib.py", line 183, in process_data c.process_data() File "/usr/local/lib/python2.7/dist-packages/irclib.py", line 600, in process_data self._handle_event(Event(command, prefix, target, arguments)) File "/usr/local/lib/python2.7/dist-packages/irclib.py", line 604, in _handle_event self.irclibobj._handle_event(self, event) File "/usr/local/lib/python2.7/dist-packages/irclib.py", line 325, in _handle_event if handler[1](connection, event) == "NO MORE": File "/usr/local/lib/python2.7/dist-packages/irclib.py", line 1049, in _dispatcher getattr(self, m)(c, e) File "wookie.py", line 73, in on_welcome self.announce_refresh() File "wookie.py", line 138, in announce_refresh sReleaseDate = gReleaseDate.group(1) AttributeError: 'NoneType' object has no attribute 'group'

barnumbirr commented 9 years ago

Fixed (maybe?!) with https://github.com/c0ding/wookie/commit/04b0914383cfd06a9ba4924ecf8ed3cf26103c7a. Closed for now.