Error when using PJSUA 2.6 Python module

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

 



Hi

I am trying to run on openSUSE Leap 42.1 x64 from Python. When I try to create a SIP account

lib.create_account(account_config)

I get the error below

Traceback (most recent call last): 
  File "gevent/_semaphore.py", line 101, in gevent._semaphore.Semaphore._notify_links (gevent/gevent._semaphore.c:2030)
    link(self) # Must use Cython >= 0.23.4 on PyPy else this leaks memory 
error: cannot switch to a different thread
(<built-in method switch of Greenlet object at 0x7f367d897f50>
 <gevent.thread.LockType object at 0x7f367cfc57c0>) failed with error

Before calling the function above I have registered the current Python thread with

lib.thread_register(name)


I have used previously with success PJSUA Python module. Does anyone know how to solve this problem ?

thanks
Bogdan



_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



[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