[OpenSIPS-Users] MediaProxy installation error

Saúl Ibarra Corretgé saul at ag-projects.com
Fri Jun 10 15:49:51 CEST 2011


Hi,

On Jun 10, 2011, at 3:25 PM, Barsan Liviu wrote:

> Hello,
> 
> We were installing the mediaproxy from your repository with apt-get ... , including all prerequisites and we can not run media relay because we receive the error:
> 
> fatal error: failed to create MediaProxy Relay: cannot import name default_host_ip
> Jun 10 19:09:05 P4302 media-relay[2333]: Traceback (most recent call last):
> Jun 10 19:09:05 P4302 media-relay[2333]:   File "/usr/bin/media-relay", line 61, in <module>
> Jun 10 19:09:05 P4302 media-relay[2333]:     from mediaproxy.relay import MediaRelay
> Jun 10 19:09:05 P4302 media-relay[2333]:   File "/usr/lib/pymodules/python2.6/mediaproxy/relay.py", line 33, in <module>
> Jun 10 19:09:05 P4302 media-relay[2333]:     from application.system import default_host_ip
> Jun 10 19:09:05 P4302 media-relay[2333]: ImportError: cannot import name default_host_ip
> 
> As we think this comes from some incompatibility with the python-application package. By uninstalling the python-application package, all related packages were uninstalled, thus we can start again from installing from sources.
> Would be welcome a tested configuration including which versions of the prerequisites to install.
> 

We are currently working on new packages, but that will take time. In the meanwhile, you may fetch the source code and build MediaProxy yourself:

darcs get http://devel.ag-projects.com/repositories/mediaproxy
cd mediaproxy
debuild -us -uc


Regards,

--
Saúl Ibarra Corretgé
AG Projects






More information about the Users mailing list