Hi, Unfortunately the workaround doesn't work for me (my app is pygui), I still get the crash. Right now I'm out of ideas about what's the cause of this. Yes, it would be very handy if it works. Re: mailing list problem, there's no interval restriction. I think that's probably just a glitch in our provider. Best regards, Benny On Thu, Mar 13, 2014 at 2:09 AM, Tom?? Valenta <vali at kamarad.cz> wrote: > Hi, > > merging the discussion with "Threading in Python PJSUA2". > > The workaround is to use > > for i in range(0, len(info.media)): > mi = info.media[i] > > instead of > > for mi in info.media: > > Making the Python wrapper with -threads is very handy otherwise. Without > it, writing a simple console application that does some initialization and > then reacts on events until Enter is pressed (by sys.stdin.readline()) is > possible only by making all PJ calls (including libCreate and polling) from > an extra thread. You cannot use just a thread for > libRegisterWorkerThread(), it blocks console I/O somehow. > > Best regards, > Vali > > > PS. Often I have problems posting to the list -- is there an interval I > have to wait between posts? > > Reporting-MTA: dns; gmmr7.centrum.cz > X-Postfix-Queue-ID: 8EA358039ACC > X-Postfix-Sender: rfc822; vali at kamarad.cz > Arrival-Date: Sun, 9 Mar 2014 16:40:05 +0100 (CET) > > Final-Recipient: rfc822; pjsip at lists.pjsip.org > Original-Recipient: rfc822;pjsip at lists.pjsip.org > Action: failed > Status: 4.4.2 > Diagnostic-Code: X-Postfix; conversation with lists.pjsip.org[192.151.138.19] > timed out while sending RCPT TO > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140313/49e6c5e1/attachment-0001.html>