Hi,<br>Thank you for the info.<br><br>I downloaded python-application version 1.2.7 as suggested. I manually removed the python-application 1.2.8 version files from /usr/lib/python2.5/site-packages/application/ directory.<br>
<br>I installed python-application version1.2.7 <br><br>But I end up in an import module error this time, when I attempt to start opensips-mi-proxy<br><br>Logs:<br>Jun 10 10:31:50 ip-10-56-67-103 opensips-mi-proxy[17366]: Starting OpenSIPS MI Proxy 1.0.4<br>
Jun 10 10:31:50 ip-10-56-67-103 opensips-mi-proxy[17366]: error: Traceback (most recent call last):<br>Jun 10 10:31:50 ip-10-56-67-103 opensips-mi-proxy[17366]: error: File "/usr/bin/opensips-mi-proxy", line 59, in <module><br>
Jun 10 10:31:50 ip-10-56-67-103 opensips-mi-proxy[17366]: error: from miproxy.proxy import MIProxy<br>Jun 10 10:31:50 ip-10-56-67-103 opensips-mi-proxy[17366]: error: File "/usr/lib/python2.5/site-packages/miproxy/proxy.py", line 15, in <module><br>
Jun 10 10:31:50 ip-10-56-67-103 opensips-mi-proxy[17366]: error: from twisted.internet import reactor<br>Jun 10 10:31:50 ip-10-56-67-103 opensips-mi-proxy[17366]: error: File "/usr/lib/python2.5/site-packages/application/log/extensions/twisted/twisted.py", line 14, in <module><br>
Jun 10 10:31:50 ip-10-56-67-103 opensips-mi-proxy[17366]: error: import twisted<br>Jun 10 10:31:50 ip-10-56-67-103 opensips-mi-proxy[17366]: error: ImportError: No module named twisted<br><br><br>Please can you assist to resolve this issue. <br>
<br>Thanks in advance.<br><br><br><div class="gmail_quote">On Thu, Jun 9, 2011 at 7:16 PM, Dan Pascu <span dir="ltr"><<a href="mailto:dan@ag-projects.com">dan@ag-projects.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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).<br>
<br>
use<br>
<br>
darcs get --to-patch release-1.2.7 <a href="http://devel.ag-projects.com/repositories/python-application" target="_blank">http://devel.ag-projects.com/repositories/python-application</a><br>
<br>
to get python-application version 1.2.7<br>
<div><div></div><div class="h5"><br>
<br>
On 9 Jun 2011, at 16:16, Nethra Chander wrote:<br>
<br>
> Hi,<br>
><br>
> I am unable to start opensips-mi-proxy module successfully.<br>
><br>
> The logs below:<br>
> Jun 9 13:09:38 ip-10-56-67-103 opensips-mi-proxy[16278]: Starting OpenSIPS MI Proxy 1.0.4<br>
> Jun 9 13:09:38 ip-10-56-67-103 opensips-mi-proxy[16278]: error: Traceback (most recent call last):<br>
> 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><br>
> Jun 9 13:09:38 ip-10-56-67-103 opensips-mi-proxy[16278]: error: from miproxy.proxy import MIProxy<br>
> 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><br>
> Jun 9 13:09:38 ip-10-56-67-103 opensips-mi-proxy[16278]: error: from application.system import default_host_ip<br>
> Jun 9 13:09:38 ip-10-56-67-103 opensips-mi-proxy[16278]: error: ImportError: cannot import name default_host_ip<br>
><br>
> Please assist as to how I can resolve the issue above.<br>
><br>
> I installed python-application from the repositories using darcs get <a href="http://devel.ag-projects.com/repositories/python-application" target="_blank">http://devel.ag-projects.com/repositories/python-application</a><br>
> while opensips-mi-proxy is installed from the tar archive. Not sure if this has something to do with the error reported.<br>
><br>
> Appreciate any help.<br>
><br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
--<br>
Dan<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br>