Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dictionary changed size during iteration #250

Open
caryoscelus opened this issue Dec 20, 2023 · 1 comment
Open

dictionary changed size during iteration #250

caryoscelus opened this issue Dec 20, 2023 · 1 comment
Labels
bug Something isn't working minor something that doesn't bother too much and probably easy to fix

Comments

@caryoscelus
Copy link
Member

this happens randomly on startup and doesn't seem to affect anything later , but investigation is warranted

similar (same?) issue reported here

Unhandled exception: RuntimeError: dictionary changed size during iteration in <gevent>/greenlet.py line 908 > SiteManager.py line 202 > ContentFilterPlugin.py line 43 > SiteManager.py line 188 > Site.py line 131 > MergerSitePlugin.py line 399 > 351
Traceback (most recent call last):
  File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
  File "src/Site/SiteManager.py", line 202, in need
    site = self.add(address, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "plugins/ContentFilter/ContentFilterPlugin.py", line 43, in add
    return super(SiteManagerPlugin, self).add(address, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "src/Site/SiteManager.py", line 188, in add
    site.saveSettings()
  File "src/Site/Site.py", line 131, in saveSettings
    SiteManager.site_manager.saveDelayed()
  File "plugins/MergerSite/MergerSitePlugin.py", line 399, in saveDelayed
    self.updateMergerSites()
  File "plugins/MergerSite/MergerSitePlugin.py", line 351, in updateMergerSites
    for site in self.sites.values():
RuntimeError: dictionary changed size during iteration
@caryoscelus caryoscelus added bug Something isn't working minor something that doesn't bother too much and probably easy to fix labels Dec 20, 2023
@caryoscelus
Copy link
Member Author

seems to correlate with lacking files on sites

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minor something that doesn't bother too much and probably easy to fix
Projects
None yet
Development

No branches or pull requests

1 participant