1. cherrypy
  2. CherryPy
Issue #1281 new

Iteration error

Anonymous created an issue

I got the following error when I started cherry, not sure if it's effecting anything, but I believe it's worth reporting:

[05/Jan/2014:18:57:24] ENGINE Error in background task thread function <bound method Autoreloader.run of <cherrypy.process.plugins.Autoreloader object at 0x2a30850>>. Traceback (most recent call last): File "/usr/local/lib/python3.2/dist-packages/cherrypy/process/plugins.py", line 485, in run self.function(self.args, *self.kwargs) File "/usr/local/lib/python3.2/dist-packages/cherrypy/process/plugins.py", line 607, in run for filename in self.sysfiles() | self.files: File "/usr/local/lib/python3.2/dist-packages/cherrypy/process/plugins.py", line 593, in sysfiles for k, m in sys.modules.items(): RuntimeError: dictionary changed size during iteration

Exception in thread Autoreloader: Traceback (most recent call last): File "/usr/lib/python3.2/threading.py", line 740, in _bootstrap_inner self.run() File "/usr/local/lib/python3.2/dist-packages/cherrypy/process/plugins.py", line 485, in run self.function(self.args, *self.kwargs) File "/usr/local/lib/python3.2/dist-packages/cherrypy/process/plugins.py", line 607, in run for filename in self.sysfiles() | self.files: File "/usr/local/lib/python3.2/dist-packages/cherrypy/process/plugins.py", line 593, in sysfiles for k, m in sys.modules.items(): RuntimeError: dictionary changed size during iteration