=== jalcine is now known as Guest87532 === JackyAlcine is now known as jalcine === jalcine is now known as jalcine_ === jalcine_ is now known as jalcine [18:59] Hi, can anybody look at this? [18:59] http://askubuntu.com/questions/115611/dbus-nested-dictionary-in-python [19:00] I used to use Key: JSON strng [19:00] but then I need to bind jason to client [19:00] json [19:00] I would prefer to send rather nested dicts [19:30] nope? [19:38] pavolzetor, what kind of keys do you use? [19:39] perhaps the issue is that the value of key2 is a list of dicts and not a string? [19:39] yep [19:39] but I do not know how to do ti [19:39] it [19:39] last key is list of dicts [19:40] others are just strings [19:40] but.. Have you seen the answer from James Henstridge? [19:40] I can do it as key and json strng [19:40] but I would like to use structure [19:40] yep [19:41] not helping [19:41] I get same error [19:41] can you provide some more details about the code? Might be easier to understand. [19:41] I haven;t uploaded it to lp, coz it is not even in alpha [19:42] but I will psot it on pastebin [19:42] better on AskUbuntu... :) [19:42] or if you link there at least. [19:45] http://paste.ubuntu.com/898291/ [19:50] is it clearer? [19:54] it fails on line 18 in that example? [19:54] nono [19:54] this is just structure [19:55] @dbus.service.method(interface, [19:55] in_signature='', out_signature='a{sv}') [19:55] def GetFeeds(self): [19:55] I meant real code. The structure looks good. [19:55] return return self.rss.get_feeds() [19:55] this is method called [19:55] it is quite big [19:55] I can post it [19:55] hold sec [19:56] post it on AskUbuntu? [19:56] http://ubuntuone.com/1os0eMHfnQgrB6kUnxfRZk [19:57] key point start at line 87 [20:04] return return? [20:04] line 90. That looks a little suspicious. [20:09] sorry [20:09] it is just typo [20:09] not problem reported [20:10] when I run my automated tests [20:10] I always get error [20:10] to message with signature a{sv}: : Expected a string or unicode object [20:10] but I have no lcue what signature to use [20:12] I have googled, but no result [20:24] I will supply it as strng and fix it later, thanks anyways === jalcine is now known as jalcine_ === jalcine_ is now known as Guest21090