[OpenSIPS-Users] Mediaproxy python errors (AlreadyCalled)

Magnus Burman magnus.burman at adamo.es
Wed Dec 9 13:04:43 CET 2009


I see this in the syslog every 5 seconds. It's not constant, so I'm guessing
it only occurs for a subset of the calls. When it does occur thou, it's once
every 5 seconds.

Could anyone shed some light on what is causing this?

Dec  9 12:44:51 sbc1 media-relay[4335]: Traceback (most recent call last):
Dec  9 12:44:51 sbc1 media-relay[4335]:   File
"/usr/lib/python2.5/site-packages/twisted/python/log.py", line 69, in
callWithContext
Dec  9 12:44:51 sbc1 media-relay[4335]:     return
context.call({ILogContext: newCtx}, func, *args, **kw)
Dec  9 12:44:51 sbc1 media-relay[4335]:   File
"/usr/lib/python2.5/site-packages/twisted/python/context.py", line 59, in
callWithContext
Dec  9 12:44:51 sbc1 media-relay[4335]:     return
self.currentContext().callWithContext(ctx, func, *args, **kw)
Dec  9 12:44:51 sbc1 media-relay[4335]:   File
"/usr/lib/python2.5/site-packages/twisted/python/context.py", line 37, in
callWithContext
Dec  9 12:44:51 sbc1 media-relay[4335]:     return func(*args,**kw)
Dec  9 12:44:51 sbc1 media-relay[4335]:   File
"/usr/lib/python2.5/site-packages/twisted/internet/epollreactor.py", line
231, in _doReadOrWrite
Dec  9 12:44:51 sbc1 media-relay[4335]:     why = selectable.doRead()
Dec  9 12:44:51 sbc1 media-relay[4335]: --- <exception caught here> ---
Dec  9 12:44:51 sbc1 media-relay[4335]:   File
"/usr/lib/python2.5/site-packages/twisted/internet/udp.py", line 126, in
doRead
Dec  9 12:44:51 sbc1 media-relay[4335]:
self.protocol.datagramReceived(data, addr)
Dec  9 12:44:51 sbc1 media-relay[4335]:   File
"/usr/lib/pymodules/python2.5/mediaproxy/mediacontrol.py", line 127, in
datagramReceived
Dec  9 12:44:51 sbc1 media-relay[4335]:     self.cb_func(host, port, data)
Dec  9 12:44:51 sbc1 media-relay[4335]:   File
"/usr/lib/pymodules/python2.5/mediaproxy/mediacontrol.py", line 186, in
got_data
Dec  9 12:44:51 sbc1 media-relay[4335]:     self.timer.cancel()
Dec  9 12:44:51 sbc1 media-relay[4335]:   File
"/usr/lib/python2.5/site-packages/twisted/internet/base.py", line 95, in
cancel
Dec  9 12:44:51 sbc1 media-relay[4335]:     raise error.AlreadyCalled
Dec  9 12:44:51 sbc1 media-relay[4335]:
twisted.internet.error.AlreadyCalled: Tried to cancel an already-called
event.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20091209/9c5cf954/attachment.htm 


More information about the Users mailing list