Hmm, now I get the following exception from 'sip-register' when registration fails:<div><br></div><div><div>error: Exception occured in observer <__main__.RegistrationApplication object at 0x3379890> while handling notification 'SIPAccountRegistrationDidFail'</div>
<div>Traceback (most recent call last):</div><div>  File "/usr/lib/python2.6/dist-packages/application/notification.py", line 216, in post_notification</div><div>    observer.handle_notification(notification)</div>
<div>  File "<string>", line 1, in handle_notification</div><div>  File "/usr/lib/python2.6/dist-packages/sipsimple/threading/__init__.py", line 100, in wrapper</div><div>    func(*args, **kwargs)</div>
<div>  File "/usr/lib/python2.6/dist-packages/sipsimple/application.py", line 342, in handle_notification</div><div>    handler(notification)</div><div>  File "/usr/bin/sip-register", line 251, in _NH_SIPAccountRegistrationDidFail</div>
<div>    self.output.put('%s Failed to register contact for sip:%s: %s (retrying in %.2f seconds)\n' % (datetime.now().replace(microsecond=0), <a href="http://self.account.id">self.account.id</a>, notification.data.error, notification.data.timeout))</div>
<div>AttributeError: 'NotificationData' object has no attribute 'timeout'</div><div><br></div><div>Package versions:</div><div>owenl@debianvm1:~$ python -c "import application; print application.__version__"</div>
<div>1.4.0</div><div>owenl@debianvm1:~$ python -c "import sipsimple; print sipsimple.__version__"</div><div>0.30.0</div><div><br></div><div><br></div><br><div class="gmail_quote">On 11 September 2012 08:59, Owen Lynch <span dir="ltr"><<a href="mailto:owen.lynch@paragon.co.nz" target="_blank">owen.lynch@paragon.co.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have fixed it now by manually installing msrplib again:<div><br></div><div>owenl@debianvm1:~/sipsimpleclient/python-msrplib$ sudo python setup.py install --record files.txt<div class="im">
<br><div>owenl@debianvm1:~$ python -c "import msrplib; print msrplib.__version__"</div>
</div><div>0.15.0</div><div><br></div><div>Is it OK to mix this with other packages installed via apt-get, i.e. will msrplib be automatically upgraded next time via apt-get install python-sipsimple?</div><div><br></div><div>
Thanks,</div>
<div>Owen</div><div><div class="h5"><div><br></div><div class="gmail_quote">On 11 September 2012 08:36, Owen Lynch <span dir="ltr"><<a href="mailto:owen.lynch@paragon.co.nz" target="_blank">owen.lynch@paragon.co.nz</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Saul,<div><br></div><div>yes, I had previously installed it from source(along with all the other packages):</div><div>

<br></div><div><div>owenl@debianvm1:~$ python -c "import msrplib; print msrplib.__version__"</div>
<div>0.14.2</div><div><br></div><div>Can you advise on how best to clean these out so I can guarantee a clean install via apt-get?</div><div><br></div><div>Thanks,</div><div>Owen</div><div><div><br><div class="gmail_quote">

On 10 September 2012 19:53, Saúl Ibarra Corretgé <span dir="ltr"><<a href="mailto:saul@ag-projects.com" target="_blank">saul@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">Hi,<br>
<div><div><br>
On Sep 10, 2012, at 12:52 AM, Owen Lynch wrote:<br>
<br>
> I am still having problems with the sipsimple 0.30 install. Installed packages are:<br>
> Unpacking python-sipsimple (from .../python-sipsimple_0.30.0squeeze_amd64.deb) ...<br>
> Setting up python-backports (1.0.0squeeze) ...<br>
> Setting up python-greenlet (0.4.1squeeze) ...<br>
> Setting up python-eventlib (0.1.0squeeze) ...<br>
> Setting up python-msrplib (0.15.0squeeze) ...<br>
> Setting up python-xcaplib (1.0.17squeeze) ...<br>
> Setting up python-sipsimple (0.30.0squeeze) ...<br>
><br>
> But client commands fail. It seems that msrplib depends on eventlet, but that has now been replaced by eventlib?<br>
><br>
> owenl@debianvm1:~$ sip-publish-presence -h<br>
> using set_wakeup_fd<br>
> Traceback (most recent call last):<br>
>   File "/usr/bin/sip-publish-presence", line 32, in <module><br>
>     from sipsimple.application import SIPApplication<br>
>   File "/usr/lib/python2.6/dist-packages/sipsimple/application.py", line 33, in <module><br>
>     from sipsimple.session import SessionManager<br>
>   File "/usr/lib/python2.6/dist-packages/sipsimple/session.py", line 39, in <module><br>
>     from sipsimple.streams import AudioStream, MediaStreamRegistry, InvalidStreamError, UnknownStreamError<br>
>   File "/usr/lib/python2.6/dist-packages/sipsimple/streams/__init__.py", line 99, in <module><br>
>     from sipsimple.streams import rtp, msrp<br>
>   File "/usr/lib/python2.6/dist-packages/sipsimple/streams/msrp.py", line 37, in <module><br>
>     from msrplib.connect import DirectConnector, DirectAcceptor, RelayConnection, MSRPRelaySettings<br>
>   File "/usr/local/lib/python2.6/dist-packages/msrplib/connect.py", line 50, in <module><br>
>     from eventlet.twistedutil.protocol import GreenClientCreator, SpawnFactory<br>
> ImportError: No module named eventlet.twistedutil.protocol<br>
><br>
<br>
</div></div>Hum, that should not happen. I checked the sources used for creating the packages and they are already adapted for the eventlet substitution. Did you evenr install python-msrplib manually?<br>
<br>
Also, what is the displayed output for this command?<br>
<br>
python -c "import msrplib; print msrplib.__version__"<br>
<br>
<br>
Regards,<br>
<br>
--<br>
Saúl Ibarra Corretgé<br>
AG Projects<br>
<br>
<br>
<br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>