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

CSB kjcsb at xnet.co.nz
Tue May 26 22:18:06 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.
> 
Unfortunately we have a number of servers all running CentOS so to change is
not so easy. zope.interface looks like it's installed - see my other post.

Regards

Cameron




More information about the Users mailing list