[OpenSIPS-Users] MSRPRelay start error

Adrian Georgescu ag at ag-projects.com
Tue Jun 14 14:57:36 CEST 2011


Latest msrprelay version is 1.0.6 and the dependencies are listed here:

package_requirements = {'python-application': '1.2.8',
                        'python-gnutls':      '1.1.8',
                        'twisted':            '2.5.0'}

You seem to be running an old version probably you have installed it manually.

Adrian

On Jun 14, 2011, at 2:32 PM, Barsan Liviu wrote:

> Hello,
> 
> I installed MSRP 1.0.6 with apt-get install ... as stated in the last mail received from ag-projects.com.
> The server does not start and in the syslog I found:
> 
> Jun 14 18:24:53 P4302 msrprelay[3553]: Starting MSRP Relay 1.0.5
> Jun 14 18:24:53 P4302 msrprelay[3553]: error: /usr/local/lib/python2.6/dist-packages/application/python/util.py:18: DeprecationWarning: importing Singleton from application.pyhton.util has been deprecated and will be removed in version 1.3.0. Singleton has been moved to application.python.types
> Jun 14 18:24:53 P4302 msrprelay[3553]: error:   warnings.warn("importing Singleton from application.pyhton.util has been deprecated and will be removed in version 1.3.0. Singleton has been moved to application.python.types", DeprecationWarning)
> Jun 14 18:24:53 P4302 msrprelay[3553]: fatal error: failed to create MSRP Relay: cannot import name default_host_ip
> Jun 14 18:24:53 P4302 msrprelay[3553]: Traceback (most recent call last):
> Jun 14 18:24:53 P4302 msrprelay[3553]:   File "/usr/bin/msrprelay", line 60, in <module>
> Jun 14 18:24:53 P4302 msrprelay[3553]:     from msrp.relay import Relay
> Jun 14 18:24:53 P4302 msrprelay[3553]:   File "/usr/local/lib/python2.6/dist-packages/msrp/relay.py", line 27, in <module>
> Jun 14 18:24:53 P4302 msrprelay[3553]:     from application.system import default_host_ip
> Jun 14 18:24:53 P4302 msrprelay[3553]: ImportError: cannot import name default_host_ip
> 
> 
> If I make in python:
> import smrp
> print msrp.__version__
> 
> then 1.0.5 is displayed. 
> 
> Can you suggest what to do? version wasn't updated from sources? Or should I install from tar sources instead of apt-get install...
> 
> Thanks,
> Liviu 
> _______________________________________________
> 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/20110614/bdd6ef61/attachment.htm>


More information about the Users mailing list