On Fri, Jan 15, 2010 at 14:37, Bastian Muck <[email protected]> wrote: > Hallo list, > > i have a problem with opimd and the messageinterface. First i checked > how many messages are contained in Folder SMS: > > r...@om-gta02 ~/test $ mdbus -s org.freesmartphone.opimd > /org/freesmartphone/PIM/Messages/Folders/2 GetMessageCount > 9 > > So there should be 9 SMS. ( In fact there are just 7, but two of them > are double-sms) > Then I tried to get some of them: > > r...@om-gta02 ~/test $ mdbus -s org.freesmartphone.opimd > /org/freesmartphone/PIM/Messages/Folders/2 GetMessagePaths 1 5 > [ '/org/freesmartphone/PIM/Messages/1', > '/org/freesmartphone/PIM/Messages/2', > '/org/freesmartphone/PIM/Messages/3', > '/org/freesmartphone/PIM/Messages/4', > '/org/freesmartphone/PIM/Messages/5'] > > Ok, the first five are no problem. But as you can see, number 6 fails: > > r...@om-gta02 ~/test $ mdbus -s org.freesmartphone.opimd > /org/freesmartphone/PIM/Messages/Folders/2 GetMessagePaths 1 6 > /org/freesmartphone/PIM/Messages/Folders/2: GetMessagePaths failed: > org.freedesktop.DBus.Python.TypeError (Traceback (most recent call last): > File "/usr/lib/python2.6/site-packages/dbus/service.py", line 702, in > _message_cb > retval = candidate_method(self, *args, **keywords) > File > "/usr/lib/python2.6/site-packages/framework/subsystems/opimd/pimd_messages.py", > line 254, in GetMessagePaths > result.append(message['Path']) > TypeError: 'NoneType' object is unsubscriptable > ) > > Even if I just want to get only the path of message 6 it fails. Any idea > what I do wrong? > > Greetings Bastian
Folders are completely not tested, and as you just noticed: they don't work yet. I'll maybe look at them soon, but that's rather on low priority. -- Sebastian Krzyszkowiak dos _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

