Ticket #345: frameworkd-RetrieveMessageBook.log

File frameworkd-RetrieveMessageBook.log, 3.6 KB (added by peppertarts, 3 years ago)

Binary sms conversion to string?

Line 
12009.02.09 19:50:51 dbus.service ERROR    Unable to append ([(1, 'read', 'T-Mobile', u"Thanks for signing up to My T-Mobile. Your One Time Pin is: xxxx. Just enter this next time you log in and you'll be up and running.", {'pid': 0, 'type': 'sms-deliver', 'timestamp': 'Sat Feb  7 13:05:35 2009 +0000', 'alphabet': 'gsm_default'}), (2, 'read', 'T-Mobile', u'You will receive a configuration message. Please use the following PIN to accept settings: 1234', {'pid': 0, 'type': 'sms-deliver', 'timestamp': 'Sat Feb  7 13:24:22 2009 +0000', 'alphabet': 'gsm_default'}), (3, 'read', 'T-Mobile', '\x01\x06/\x1f-\xb6\x91\x82\x92C84BDB4758D61ADF6D42BDDBB43AD5495D1C7D97\x00\x03\x0bj\x00E\xc6\x00\x01\x13\x00\x00\x01\xc6\x00\x01\x18\x00\x00\x01\x87\x05\x03{ED210052-A6EA-4718-BCE0-3CBF73EC4CB2}\x00\x06\x03T-Mobile Inter.', {'csm_id': 109, 'timestamp': 'Sat Feb  7 13:24:54 2009 +0000', 'pid': 0, 'csm_seq': 1, 'alphabet': 'binary', 'csm_num': 4, 'type': 'sms-deliver'}), (4, 'read', 'T-Mobile', '\x00\x01\x01\x01\xc6\x00\x01\x14\x00\x00\x01\xc6P\x03T-Mobile Inter.\x00\x01\x87\x00\x01(\x00\x00\x06\x03{ED210052-A6EA-4718-BCE0-3CBF73EC4CB2}\x00\x01\x01\x01\xc6\x00\x02\x05\x00\x00\x01\xc6P\x03t-zones\x00\x01\x87\x00\x02\x06\x00\x00\x06\x03http://www.t-zones.c', {'csm_id': 109, 'timestamp': 'Sat Feb  7 13:24:55 2009 +0000', 'pid': 0, 'csm_seq': 2, 'alphabet': 'binary', 'csm_num': 4, 'type': 'sms-deliver'}), (5, 'read', 'T-Mobile', 'o.uk\x00\x01\x01\x01\xc6\x00\x01\x16\x00\x00\x01\xc6P\x03T-Mobile Inter.\x00\x01\x87\x00\x01(\x00\x00\x06\x03{ED210052-A6EA-4718-BCE0-3CBF73EC4CB2}\x00\x01\xc6\x00\x01\x17\x00\x00\x01\x87\x00\x01a\x00\x00\x06\x03general.t-mobile.uk\x00\x01\x01\x87\x00\x01*\x00\x00\x06\x03', {'csm_id': 109, 'timestamp': 'Sat Feb  7 13:24:56 2009 +0000', 'pid': 0, 'csm_seq': 3, 'alphabet': 'binary', 'csm_num': 4, 'type': 'sms-deliver'}), (6, 'read', 'T-Mobile', 't-mobile\x00\x01\x87\x00\x01+\x00\x00\x06\x03tm\x00\x01\x01\x01\x01', {'csm_id': 109, 'timestamp': 'Sat Feb  7 13:24:57 2009 +0000', 'pid': 0, 'csm_seq': 4, 'alphabet': 'binary', 'csm_num': 4, 'type': 'sms-deliver'}), (7, 'read', 'T-Mobile', u'Top up online by \xa310 or more and get \xa32 free promotional credit! Topping up online is easy, simply register your debit/credit card at t-mobile.co.uk/myt-mobile.', {'pid': 0, 'type': 'sms-deliver', 'timestamp': 'Sat Feb  7 13:28:11 2009 +0000', 'alphabet': 'gsm_default'}), (8, 'read', 'T-Mobile', u"Welcome to T-Mobile. As you're new to T-Mobile why not try some of our services for FREE?  Go to www.t-zones.co.uk/extra2 on your mobile to see what's on offer", {'pid': 0, 'type': 'sms-deliver', 'timestamp': 'Sat Feb  7 13:43:37 2009 +0000', 'alphabet': 'gsm_default'})],) to message with signature a(isssa{sv}): <type 'exceptions.TypeError'>: expected string without null bytes
22009.02.09 19:50:51 ogsmd.channel ERROR    unhandled exception in response callback: expected string without null bytes
3Traceback (most recent call last):
4  File "/usr/lib/python2.6/site-packages/framework/subsystems/ogsmd/gsm/channel.py", line 380, in handleResponseToRequest
5    ok_cb( reqstring.strip(), response )
6  File "/usr/lib/python2.6/site-packages/framework/subsystems/ogsmd/modems/abstract/mediator.py", line 896, in responseFromChannel
7    self._ok( result )
8  File "/usr/lib/python2.6/site-packages/dbus/service.py", line 663, in <lambda>
9    keywords[return_callback] = lambda *retval: _method_reply_return(connection, message, method_name, signature, *retval)
10  File "/usr/lib/python2.6/site-packages/dbus/service.py", line 252, in _method_reply_return
11    reply.append(signature=signature, *retval)
12TypeError: expected string without null bytes
13