[OpenSIPS-Users] Opensips-mi-proxy unable to start

Dan Pascu dan at ag-projects.com
Thu Jun 9 18:16:57 CEST 2011


The MI proxy needs to be adapted to some code changes in pyhton-application and it'll work in the next release. Use an older version of python-application for the time being (1.2.7 will do).

use

darcs get --to-patch release-1.2.7 http://devel.ag-projects.com/repositories/python-application

to get python-application version 1.2.7


On 9 Jun 2011, at 16:16, Nethra Chander wrote:

> Hi,
> 
> I am unable to start opensips-mi-proxy module successfully.
> 
> The logs below:
> Jun  9 13:09:38 ip-10-56-67-103 opensips-mi-proxy[16278]: Starting OpenSIPS MI Proxy 1.0.4
> Jun  9 13:09:38 ip-10-56-67-103 opensips-mi-proxy[16278]: error: Traceback (most recent call last):
> Jun  9 13:09:38 ip-10-56-67-103 opensips-mi-proxy[16278]: error:   File "/usr/bin/opensips-mi-proxy", line 59, in <module>
> Jun  9 13:09:38 ip-10-56-67-103 opensips-mi-proxy[16278]: error:     from miproxy.proxy import MIProxy
> Jun  9 13:09:38 ip-10-56-67-103 opensips-mi-proxy[16278]: error:   File "/usr/lib/python2.5/site-packages/miproxy/proxy.py", line 12, in <module>
> Jun  9 13:09:38 ip-10-56-67-103 opensips-mi-proxy[16278]: error:     from application.system import default_host_ip
> Jun  9 13:09:38 ip-10-56-67-103 opensips-mi-proxy[16278]: error: ImportError: cannot import name default_host_ip
> 
> Please assist as to how I can resolve the issue above.
> 
> I installed python-application from the repositories using darcs get http://devel.ag-projects.com/repositories/python-application
> while opensips-mi-proxy is installed from the tar archive. Not sure if this has something to do with the error reported.
> 
> Appreciate any help.
> 
> 
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Dan







More information about the Users mailing list