[FSO] Problem with opimd and Messages
Bastian Muck
bastian.muck at gmx.de
Fri Jan 15 14:37:30 CET 2010
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
More information about the community
mailing list