[OpenSIPS-Users] Mediaproxy relay error: 'module' object has no attribute 'Interface'

Ruud Klaver ruud at ag-projects.com
Tue May 26 14:30:12 CEST 2009


Hi,

On 26 May 2009, at 10:24, CSB wrote:

> When attempting to start the MediaProxy relay I get the following:
>
> May 26 16:45:00 ip-10-250-54-212 media-relay[18032]: Starting  
> MediaProxy
> Relay 2.3.4
> May 26 16:45:00 ip-10-250-54-212 media-relay[18032]: fatal error:  
> failed to
> create MediaProxy Relay: 'module' object has no attribute 'Interface'
> May 26 16:45:00 ip-10-250-54-212 media-relay[18032]: Traceback (most  
> recent
> call last):
> May 26 16:45:00 ip-10-250-54-212 media-relay[18032]: --- <exception  
> caught
> here> ---
> May 26 16:45:00 ip-10-250-54-212 media-relay[18032]:   File "./media- 
> relay",
> line 55, in ?
> May 26 16:45:00 ip-10-250-54-212 media-relay[18032]:     from
> mediaproxy.relay import MediaRelay
> May 26 16:45:00 ip-10-250-54-212 media-relay[18032]:   File
> "/usr/lib/python2.4/site-packages/mediaproxy/relay.py", line 30, in ?
> May 26 16:45:00 ip-10-250-54-212 media-relay[18032]:     from  
> twisted.names
> import dns
> May 26 16:45:00 ip-10-250-54-212 media-relay[18032]:   File
> "/usr/lib/python2.4/site-packages/twisted/names/dns.py", line 116,  
> in ?
> May 26 16:45:00 ip-10-250-54-212 media-relay[18032]:     class
> IRecord(components.Interface):
> May 26 16:45:00 ip-10-250-54-212 media-relay[18032]:
> exceptions.AttributeError: 'module' object has no attribute  
> 'Interface'
>
> rpm -q python-twisted-core
> python-twisted-core-2.5.0-4.el5
> rpm -q python-twisted-names
> python-twisted-names-0.3.0-3.el5
> rpm -q python-twisted-web2
> python-twisted-web2-8.1.0-1.el5.rf
>
> Any assistance appreciated.
>
> Cameron

Perhaps you do not have the zope.interface module installed?

I'm not sure which linux distribution you are using, but I'm guessing  
from the rpm command that it is some RedHat derivative. You can save  
yourself from these sort of dependency problem by using Debian and  
installing MediaProxy2 directly from our repository.

Ruud Klaver
AG Projects



More information about the Users mailing list