[SIP Beyond VoIP] Unicode issue with command line client
Michiel Leenaars
michiel.ml at nlnet.nl
Wed Jun 15 15:56:19 CEST 2011
Hi,
I have successfully compiled Blink as well as the command line sipclients on 64bit Fedora 15.
However, no audio devices seem to be recognised as of yet - in neither. I have followed the
steps for routing the requests to the audio card via the PulseAudio sound server, but this
has not worked yet. Anybody any further hints? Is there a way to use Qt's multimedia
framework instead of directly trying to talk to PulseAudio?
When using the command line chat client for testing, outgoing chat seems to work fine.
However, when the other party starts typing I get this output and the connection is
dropped:
File "/usr/lib64/python2.7/site-packages/twisted/internet/base.py", line 789, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/usr/lib/python2.7/site-packages/eventlet/hubs/twistedr.py", line 161, in call_if_greenlet_alive
return func(*args1, **kwargs1)
File "/usr/lib/python2.7/site-packages/eventlet/api.py", line 235, in _spawn_startup
return cb(*args, **kw)
File "/usr/lib64/python2.7/site-packages/sipsimple/streams/msrp.py", line 251, in end
msrp_session.shutdown()
File "/usr/lib/python2.7/site-packages/msrplib/session.py", line 132, in shutdown
self.reader_job.wait(None, None)
File "/usr/lib/python2.7/site-packages/eventlet/proc.py", line 448, in wait
api.getcurrent().throw(*self._exc)
File "/usr/lib/python2.7/site-packages/eventlet/proc.py", line 571, in _run
result = function(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/msrplib/session.py", line 200, in _reader
self._handle_incoming_SEND(chunk)
File "/usr/lib/python2.7/site-packages/msrplib/session.py", line 180, in _handle_incoming_SEND
self._on_incoming_cb(chunk)
File "/usr/lib64/python2.7/site-packages/sipsimple/streams/msrp.py", line 292, in _handle_incoming
method_handler(chunk)
File "/usr/lib64/python2.7/site-packages/sipsimple/streams/msrp.py", line 388, in _handle_SEND
data = IsComposingMessage.parse(message.body)
File "/usr/lib64/python2.7/site-packages/sipsimple/payloads/__init__.py", line 461, in parse
xml = etree.XML(document, parser=cls._xml_parser)
File "lxml.etree.pyx", line 2723, in lxml.etree.XML (src/lxml/lxml.etree.c:52448)
File "parser.pxi", line 1564, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79843)
ValueError: Unicode strings with encoding declaration are not supported.
This seems Unicode related.
Kind regards,
Michiel Leenaars
NLnet foundation
More information about the SIPBeyondVoIP
mailing list