Changes between Version 7 and Version 8 of bender


Ignore:
Timestamp:
Sep 22, 2017, 3:59:48 PM (8 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • bender

    v7 v8  
    2525}}}
    2626
     27You can control it if you add your irc nick to jojobe:/home/bender/.sopel/default.cfg (the owner line) and then restart:
     28
     29{{{
     30systemctl restart superbender
     31}}}
     32
    2733== Upgrading ==
    2834
     
    3137When jojobe is upgraded to stretch, we can pull in the debian package, move the configuration directory from /home/bender/.sopel to /etc/ and probably even purge the user bender.
    3238
     39== Maintenance ==
     40
     41If `superbender` is not reporting on a feed, check `journalctl -u superbender` and you might find errors like:
     42
     43{{{
     44Sep 22 10:12:44 jojobe sopel.py[17675]: OSError: [Errno 9] Bad file descriptor
     45Sep 22 10:12:44 jojobe sopel.py[17675]: Traceback (most recent call last):
     46Sep 22 10:12:44 jojobe sopel.py[17675]: File "/home/bender/sopel-6.5.0/sopel/tools/jobs.py", line 142, in _call
     47Sep 22 10:12:44 jojobe sopel.py[17675]: func(self.bot)
     48Sep 22 10:12:44 jojobe sopel.py[17675]: File "/home/bender/sopel-6.5.0/sopel/modules/rss.py", line 1101, in _rss_update
     49Sep 22 10:12:44 jojobe sopel.py[17675]: _feed_update(bot, feedreader, feedname, False)
     50Sep 22 10:12:44 jojobe sopel.py[17675]: File "/home/bender/sopel-6.5.0/sopel/modules/rss.py", line 822, in _feed_update
     51Sep 22 10:12:44 jojobe sopel.py[17675]: bot.say(message, channel)
     52Sep 22 10:12:44 jojobe sopel.py[17675]: File "/home/bender/sopel-6.5.0/sopel/bot.py", line 335, in say
     53Sep 22 10:12:44 jojobe sopel.py[17675]: self.write(('PRIVMSG', recipient), text)
     54Sep 22 10:12:44 jojobe sopel.py[17675]: File "/home/bender/sopel-6.5.0/sopel/bot.py", line 163, in write
     55Sep 22 10:12:44 jojobe sopel.py[17675]: irc.Bot.write(self, args, text=text)
     56Sep 22 10:12:44 jojobe sopel.py[17675]: File "/home/bender/sopel-6.5.0/sopel/irc.py", line 149, in write
     57Sep 22 10:12:44 jojobe sopel.py[17675]: self.send(temp.encode('utf-8'))
     58Sep 22 10:12:44 jojobe sopel.py[17675]: File "/home/bender/sopel-6.5.0/sopel/irc.py", line 263, in _ssl_send
     59Sep 22 10:12:44 jojobe sopel.py[17675]: result = self.socket.send(data)
     60Sep 22 10:12:44 jojobe sopel.py[17675]: File "/usr/lib/python3.4/ssl.py", line 689, in send
     61Sep 22 10:12:44 jojobe sopel.py[17675]: return socket.send(self, data, flags)
     62Sep 22 10:12:44 jojobe sopel.py[17675]: OSError: [Errno 9] Bad file descriptor
     63Sep 22 10:12:44 jojobe sopel.py[17675]: Got quit signal, shutting down.
     64Sep 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
     67The 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
     73And then re-add using the command above.
    3374
    3475