<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Did you check the rest  of the dependencies?<div><br></div><div>Adrian</div><div><br><div><div>On Jan 30, 2013, at 7:54 AM, ANIL KARADAĞ wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Adrian,<div><br></div><div><br></div><div>thanks for your reply. I can upgrade it but I think sipsimple-0.31's dependencies are not correct. </div><div>I installed the following packages;</div><div><br></div><div>- python-msrplib-0.15.0 (python-msrplib-0.15.0.tar.gz)</div>
<div>- python-sipsimple_0.31.0 (python-sipsimple-0.31.0.tar.gz)</div><div>- sylkserver_2.2.1</div><div><br></div><div><br></div><div>but the error is raised. I checked the last version of the sipsimple/streams/msrp.py[1], the problematic class does not has "<b>received_illegal_data" </b>method. Please explain that why msrplib calls the undefined method?</div>
<div><br></div><div><br></div><div>[1] <a href="http://sipsimpleclient.org/projects/sipsimpleclient/repository/revisions/5089/entry/sipsimple/streams/msrp.py">http://sipsimpleclient.org/projects/sipsimpleclient/repository/revisions/5089/entry/sipsimple/streams/msrp.py</a></div>
<div><br></div><div><br><br><div class="gmail_quote">On Wed, Jan 30, 2013 at 1:12 AM, Adrian Georgescu <span dir="ltr"><<a href="mailto:ag@ag-projects.com" target="_blank">ag@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">
<div style="word-wrap:break-word">Hello Anil,<div><br></div><div>First of all I advise to upgrade to the latest version.  <div><div><div><br></div><div><a href="http://sipsimpleclient.org/projects/sipsimpleclient/wiki/SipInstallation" target="_blank">http://sipsimpleclient.org/projects/sipsimpleclient/wiki/SipInstallation</a><br>
<div><br></div><div>The dependencies of 0.31 were:</div><div><br></div><div><div>Package: python-sipsimple Architecture: any Depends: ${python:Depends},</div><div>${shlibs:Depends}, ${misc:Depends}, python-application (>= 1.4.0),</div>
<div>python-backports, python-dateutil, python-dnspython (>= 1.6),</div><div>python-eventlib, python-gnutls, python-lxml, python-msrplib (>= 0.15.0),</div><div>python-twisted-core (>= 8.1.0), python-xcaplib (>= 1.0.17)</div>
</div><div><br></div><div>Adrian</div><div><br></div><div><br><div><div><div class="h5"><div>On Jan 29, 2013, at 5:03 PM, ANIL KARADAĞ wrote:</div><br></div></div><blockquote type="cite"><div><div class="h5"><div>Hi Adrian/<span style="line-height:16px;color:rgb(34,34,34);font-family:arial,sans-serif"> Saúl</span>,</div>
<div><br></div><div><br></div><div><br></div><div>I use python-msrplib-0.15.0 (python-msrplib-0.15.0.tar.gz) and python-sipsimple_0.31.0 (python-sipsimple-0.31.0.tar.gz) but get the following error when send invalid data, which does not start with "MSRP"</div>

<div><br></div><div><br></div><div><br></div><div><div>Traceback (most recent call last):</div><div>File "/usr/lib64/python2.6/site-packages/Twisted-12.2.0-py2.6-linux-x86_64.egg/twisted/internet/posixbase.py", line 626, in _doReadOrWrite</div>

<div>    why = selectable.doRead()</div><div>File "/usr/lib64/python2.6/site-packages/Twisted-12.2.0-py2.6-linux-x86_64.egg/twisted/internet/tcp.py", line 203, in doRead</div><div>    return self._dataReceived(data)</div>

<div>File "/usr/lib64/python2.6/site-packages/Twisted-12.2.0-py2.6-linux-x86_64.egg/twisted/internet/tcp.py", line 209, in _dataReceived</div><div>    rval = self.protocol.dataReceived(data)</div><div>File "/usr/lib64/python2.6/site-packages/Twisted-12.2.0-py2.6-linux-x86_64.egg/twisted/protocols/basic.py", line 564, in dataReceived</div>

<div>    why = self.lineReceived(line)</div><div>File "/usr/lib/python2.6/site-packages/msrplib/transport.py", line 55, in lineReceived</div><div>    protocol.MSRPProtocol.lineReceived(self, line)</div><div>File "/usr/lib/python2.6/site-packages/msrplib/protocol.py", line 502, in lineReceived</div>

<div>   <b> self.msrp_transport.logger.received_illegal_data(line+self.delimiter, self.msrp_transport)</b></div><div><font color="#cc0000"><b>AttributeError: 'NotificationProxyLogger' object has no attribute 'received_illegal_data'</b></font></div>

</div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#cc0000"><b><br></b></font></div><div><font color="#333333">I checked sipsimple/streams/msrp.py, the 'NotificationProxyLogger' class does not have the mentioned method. </font></div>

<div><font color="#333333"><b><br></b></font></div><div><font color="#333333"><b>Which msrplib release is compatible with the python-sipsimple_0.31.0?</b></font></div><div><font color="#333333"><br></font></div><div><br>
</div>
<div>thanks</div><div><div><div><br></div>-- <br>Anıl KARADAĞ<br><a href="http://anilkaradag.info/blog" target="_blank">http://anilkaradag.info/blog</a>
</div></div></div></div>
_______________________________________________<br>SIPBeyondVoIP mailing list<br><a href="mailto:SIPBeyondVoIP@lists.ag-projects.com" target="_blank">SIPBeyondVoIP@lists.ag-projects.com</a><br><a href="http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip" target="_blank">http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip</a><br>
</blockquote></div><br></div></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anıl KARADAĞ<br><a href="http://anilkaradag.info/blog">http://anilkaradag.info/blog</a>
</div>
</blockquote></div><br></div></body></html>