[FSO] Problem with opimd and Messages

Sebastian Krzyszkowiak seba.dos1 at gmail.com
Fri Jan 15 16:19:19 CET 2010


On Fri, Jan 15, 2010 at 14:37, Bastian Muck <bastian.muck at gmx.de> wrote:
> Hallo list,
>
> i have a problem with opimd and the messageinterface. First i checked
> how many messages are contained in Folder SMS:
>
> root at 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:
>
> root at 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:
>
> root at 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



More information about the community mailing list