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

Nethra Chander netchander at gmail.com
Fri Jun 10 12:39:22 CEST 2011


Hi,
Thank you for the info.

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.

I installed python-application version1.2.7

But I end up in an import module error this time, when I attempt to start
opensips-mi-proxy

Logs:
Jun 10 10:31:50 ip-10-56-67-103 opensips-mi-proxy[17366]: Starting OpenSIPS
MI Proxy 1.0.4
Jun 10 10:31:50 ip-10-56-67-103 opensips-mi-proxy[17366]: error: Traceback
(most recent call last):
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>
Jun 10 10:31:50 ip-10-56-67-103 opensips-mi-proxy[17366]: error:     from
miproxy.proxy import MIProxy
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>
Jun 10 10:31:50 ip-10-56-67-103 opensips-mi-proxy[17366]: error:     from
twisted.internet import reactor
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>
Jun 10 10:31:50 ip-10-56-67-103 opensips-mi-proxy[17366]: error:     import
twisted
Jun 10 10:31:50 ip-10-56-67-103 opensips-mi-proxy[17366]: error:
ImportError: No module named twisted


Please can you assist to resolve this issue.

Thanks in advance.


On Thu, Jun 9, 2011 at 7:16 PM, Dan Pascu <dan at ag-projects.com> wrote:

> 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
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110610/0c79efd9/attachment.htm>


More information about the Users mailing list