f4bio / sopel-rss

new implementation of the deprecated rss module for sopel (https://github.com/sopel-irc/sopel)
MIT License
3 stars 1 forks source link

Runtime error while adding feed #9

Closed rinzes closed 8 years ago

rinzes commented 8 years ago

This for your information.. It doesn't seem to effect anything.

[sopel-rss] [INFO] added sqlite table "rss_906937582aedbd76a60bd98117b12cd3" for feed "RTR_Health" [sopel-rss] [INFO] added ring buffer for feed "RTR_Health" [sopel-rss] [INFO] added to channel "#globalnews" rss feed "RTR_Health" with url "http://feeds.reuters.com/reuters/healthNews" Traceback (most recent call last): File "/home/znc/.sopel-env/lib/python3.4/site-packages/sopel/tools/jobs.py", line 142, in _call func(self.bot) File "/home/znc/.sopel/modules/rss.py", line 305, in update updateFeed(bot, feedname, False) File "/home/znc/.sopel/modules/rss.py", line 324, in updateFeed config_save(bot) File "/home/znc/.sopel/modules/rss.py", line 97, in __config_save saveHashesToDatabase(bot) File "/home/znc/.sopel/modules/rss.py", line 126, in saveHashesToDatabase for feedname in bot.memory['rss']['feeds']: RuntimeError: dictionary changed size during iteration

RebelCodeBase commented 8 years ago

Thanks, I've already noticed that, too. This happens, when the asynchronous updater is confronted with a changed dictionary of feeds after a feed has been deleted or added.