#2258: RuntimeError when emiting event
-------------------+--------------------------------------------------------
 Reporter:  bro    |       Owner:       
     Type:  bug    |      Status:  new  
 Priority:  minor  |   Milestone:  1.3.x
Component:  core   |     Version:  1.3.5
 Keywords:         |  
-------------------+--------------------------------------------------------
 I've seen this traceback a couple of times, last time months ago, so this
 does not happen often.

 I presume this issue applies to master as well.

 The call in YaRSS2 that causes this is
 component.get("EventManager").emit(...)

 {{{
 Traceback (most recent call last):
   File "/usr/local/lib/python2.7/threading.py", line 524, in __bootstrap
     self.__bootstrap_inner()
   File "/usr/local/lib/python2.7/threading.py", line 551, in
 __bootstrap_inner
     self.run()
   File "/usr/local/lib/python2.7/threading.py", line 504, in run
     self.__target(*self.__args, **self.__kwargs)
 --- <exception caught here> ---
   File "/usr/local/lib/python2.7/site-
 packages/twisted/python/threadpool.py", line 167, in _worker
     result = context.call(ctx, function, *args, **kwargs)
   File "/usr/local/lib/python2.7/site-packages/twisted/python/context.py",
 line 118, in callWithContext
     return self.currentContext().callWithContext(ctx, func, *args, **kw)
   File "/usr/local/lib/python2.7/site-packages/twisted/python/context.py",
 line 81, in callWithContext
     return func(*args,**kw)
   File "build/bdist.linux-x86_64/egg/yarss2/rssfeed_scheduler.py", line
 135, in rssfeed_update_handler

   File "/home/bro/programmer/deluge/deluge/deluge/core/eventmanager.py",
 line 51, in emit
     component.get("RPCServer").emit_event(event)
   File "/home/bro/programmer/deluge/deluge/deluge/core/rpcserver.py", line
 450, in emit_event
     for session_id, interest in
 self.factory.interested_events.iteritems():
 exceptions.RuntimeError: dictionary changed size during iteration
 }}}

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2258>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to