Bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I finally compile pjsua for Python2.6 (_pjsua.pyd of 958ko)
Now i try to use it but it is very strange.
Can anyone help me understand why when i execute a file, it crashes, whereas
when i execute the same code in interpreter, it doesn't crash ^^

proto_voip.py contain this code
import pjsua
x = pjsua.Lib()

I:\AtaoServCom>python proto_voip.py
 15:24:39.836 os_core_win32.  pjlib 1.10.0 for win32 initialized
 15:24:39.844 sip_endpoint.c  Creating endpoint instance...
 15:24:39.845          pjlib  select() I/O Queue created (024BAE20)
 15:24:39.845 sip_endpoint.c  Module "mod-msg-print" registered
 15:24:39.845 sip_transport.  Transport manager created.
Exception AttributeError: "'NoneType' object has no attribute 'destroy'" in
<bound method Lib.__del_
_ of <pjsua.Lib instance at 0x0240B198>> ignored

I:\AtaoServCom>python
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pjsua
>>> lib = pjsua.Lib()
 15:24:55.889 os_core_win32.  pjlib 1.10.0 for win32 initialized
 15:24:55.900 sip_endpoint.c  Creating endpoint instance...
 15:24:55.900          pjlib  select() I/O Queue created (02444EC8)
 15:24:55.900 sip_endpoint.c  Module "mod-msg-print" registered
 15:24:55.900 sip_transport.  Transport manager created.
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110513/d21d1dc8/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux