problems with special SMS+frameworkd

Jan Lübbe jluebbe at lasnet.de
Tue Feb 24 13:26:21 CET 2009


On Tue, 2009-02-24 at 10:24 +0100, Andreas Kemnade wrote:
> 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
> 

This has been fixed in the current git version (which will be released
as MS5.1 soon):
http://git.freesmartphone.org/?p=framework.git;a=commit;h=ceef20a8780e2abc96d4f68e49ffb11fd208a0e7

> BTW:
> I cannot create a ticket on https://docs.openmoko.org/trac/newticket:
> TICKET_CREATE privileges are required to perform this operation

You need to create an account to add tickets (for spam protection).

-- 
Jan Lübbe <jluebbe at lasnet.de>            http://sicherheitsschwankung.de
 gpg-key      1024D/D8480F2E 2002-03-20
 fingerprint  1B25 F91F 9E7B 5D4F 1282  02D6 8A83 8BE4 D848 0F2E





More information about the community mailing list