problems with special SMS+frameworkd

Andreas Kemnade andreas at kemnade.info
Tue Feb 24 10:24:25 CET 2009


Hi,

I have problems with SMS like created by 
gammu --sendsms WAPINDICATOR destination URL Title

When frameworkd receives such messages from the gsm modem,
it gives an exception so no messages are sent to zhone
and the message function is not usable.

2009.02.24 09:41:45 dbus.service ERROR    Unable to append ([(1, 'read', 'www.fastfoo', '\x11\x06\x01\xae\x02\x05j\x00E\xc6\x0c\x03www.fastfoot.mobi/download/XXXXXXXXXXXXXXXXXX/fastfoot.jad\x00\x01\x03FastFoot-Challenge Installation\x00\x01\x01', {'pid': 0, 'type': 'sms-deliver', 'timestamp': 'Sun Feb 22 21:05:49 2009 +0100', 'alphabet': 'binary'})],) to message with signature a(isssa{sv}): <type 'exceptions.TypeError'>: expected string without null bytes
2009.02.24 09:41:45 ogsmd.channel ERROR    unhandled exception in response callback: expected string without null bytes
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/gsm/channel.py", line 380, in handleResponseToRequest
    ok_cb( reqstring.strip(), response )
  File "/var/lib/python-support/python2.5/framework/subsystems/ogsmd/modems/abstract/mediator.py", line 896, in responseFromChannel
    self._ok( result )
  File "/var/lib/python-support/python2.5/dbus/service.py", line 665, in <lambda>
    keywords[return_callback] = lambda *retval: _method_reply_return(connection, message, method_name, signature, *retval)
  File "/var/lib/python-support/python2.5/dbus/service.py", line 254, in _method_reply_return
    reply.append(signature=signature, *retval)
TypeError: expected string without null bytes

Is there at least any quick-fix available? It would be nice if the contents are at least
c&p'able somewhere, so maybe just deleting the non-printable chars.
Unfortunately, my python knowledge is a bit poor.

BTW:
I cannot create a ticket on https://docs.openmoko.org/trac/newticket:
TICKET_CREATE privileges are required to perform this operation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/community/attachments/20090224/035470e0/attachment.pgp 


More information about the community mailing list