[Blink] Unable to start blink (ImportError: cannot import name get_acceptor)

Paul Belanger pabelanger at digium.com
Mon May 23 20:29:46 CEST 2011


On 11-05-23 02:18 PM, Saúl Ibarra Corretgé wrote:
> If you just installed it you probably have python-msrplib 0.14.0, which I pushed today. That package contains some API changes which are reflected in python-sipsimple 0.18.1. I'm still dealing with some issues in the build process, so tomorrow you'll probably get it fixed by just updating.
>
> In case it takes longer than expected, you can build python-msrplib manually by downloading it from here: http://download.ag-projects.com/SipClient/python-msrplib-0.12.1.tar.gz
>
Cool, I hacked around it for now :).  I'm also seen the following 
exception (see below) but not sure how I did it.  But, the attached 
patch should help; untested.

---
error: Exception occured while calling function handle_notification in 
the GUI thread
Traceback (most recent call last):
   File "/usr/lib/pymodules/python2.6/blink/__init__.py", line 195, in 
_EH_CallFunctionEvent
     event.function(*event.args, **event.kw)
   File "/usr/lib/pymodules/python2.6/blink/sessions.py", line 416, in 
handle_notification
     handler(notification)
   File "/usr/lib/pymodules/python2.6/blink/sessions.py", line 495, in 
_NH_SIPSessionDidStart
     self.type = 'HD Audio' if self.audio_stream.sample_rate/1000 >= 16 
else 'Audio'
TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

-- 
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com & http://asterisk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HD_Audio.patch
Type: text/x-patch
Size: 672 bytes
Desc: not available
URL: <http://lists.ag-projects.com/pipermail/blink/attachments/20110523/12ca5d65/attachment.bin>


More information about the Blink mailing list