| 39 | == Maintenance == |
| 40 | |
| 41 | If `superbender` is not reporting on a feed, check `journalctl -u superbender` and you might find errors like: |
| 42 | |
| 43 | {{{ |
| 44 | Sep 22 10:12:44 jojobe sopel.py[17675]: OSError: [Errno 9] Bad file descriptor |
| 45 | Sep 22 10:12:44 jojobe sopel.py[17675]: Traceback (most recent call last): |
| 46 | Sep 22 10:12:44 jojobe sopel.py[17675]: File "/home/bender/sopel-6.5.0/sopel/tools/jobs.py", line 142, in _call |
| 47 | Sep 22 10:12:44 jojobe sopel.py[17675]: func(self.bot) |
| 48 | Sep 22 10:12:44 jojobe sopel.py[17675]: File "/home/bender/sopel-6.5.0/sopel/modules/rss.py", line 1101, in _rss_update |
| 49 | Sep 22 10:12:44 jojobe sopel.py[17675]: _feed_update(bot, feedreader, feedname, False) |
| 50 | Sep 22 10:12:44 jojobe sopel.py[17675]: File "/home/bender/sopel-6.5.0/sopel/modules/rss.py", line 822, in _feed_update |
| 51 | Sep 22 10:12:44 jojobe sopel.py[17675]: bot.say(message, channel) |
| 52 | Sep 22 10:12:44 jojobe sopel.py[17675]: File "/home/bender/sopel-6.5.0/sopel/bot.py", line 335, in say |
| 53 | Sep 22 10:12:44 jojobe sopel.py[17675]: self.write(('PRIVMSG', recipient), text) |
| 54 | Sep 22 10:12:44 jojobe sopel.py[17675]: File "/home/bender/sopel-6.5.0/sopel/bot.py", line 163, in write |
| 55 | Sep 22 10:12:44 jojobe sopel.py[17675]: irc.Bot.write(self, args, text=text) |
| 56 | Sep 22 10:12:44 jojobe sopel.py[17675]: File "/home/bender/sopel-6.5.0/sopel/irc.py", line 149, in write |
| 57 | Sep 22 10:12:44 jojobe sopel.py[17675]: self.send(temp.encode('utf-8')) |
| 58 | Sep 22 10:12:44 jojobe sopel.py[17675]: File "/home/bender/sopel-6.5.0/sopel/irc.py", line 263, in _ssl_send |
| 59 | Sep 22 10:12:44 jojobe sopel.py[17675]: result = self.socket.send(data) |
| 60 | Sep 22 10:12:44 jojobe sopel.py[17675]: File "/usr/lib/python3.4/ssl.py", line 689, in send |
| 61 | Sep 22 10:12:44 jojobe sopel.py[17675]: return socket.send(self, data, flags) |
| 62 | Sep 22 10:12:44 jojobe sopel.py[17675]: OSError: [Errno 9] Bad file descriptor |
| 63 | Sep 22 10:12:44 jojobe sopel.py[17675]: Got quit signal, shutting down. |
| 64 | Sep 22 10:12:44 jojobe sopel.py[17675]: ERROR:sopel.modules.sopel.irc:ERROR recieved from server: Closing Link: 81.95.xy.lix (Quit: Closing) |
| 65 | }}} |
| 66 | |
| 67 | The errors don't seem to specify which feed it is having trouble with. However, you can remove and re-add feeds via irc: |
| 68 | |
| 69 | {{{ |
| 70 | .rss del <feedname> |
| 71 | }}} |
| 72 | |
| 73 | And then re-add using the command above. |