Result type aa{sv} (array of maps string - variant) doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NDesk D-Bus |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
I've been developing some code to communicate with Amarok 2, which provides some informations (about collection, interface org.kde.
Unhandled Exception: System.Exception: Read non-zero byte at position 4 while expecting padding
at NDesk.DBus.
at NDesk.DBus.
at NDesk.DBus.
at NDesk.DBus.
at NDesk.DBus.
at Amarok.
at Amarok.Amarok.Main () [0x00020] in /home/smaug/
I've tested version from git, but it also (before I was using 0.6.0 from Debian) doesn't work. Below is the code, which generates exception. The signature of MprisQuery method has been copied from dbus-explorer.
#v+
using System;
using System.
using NDesk.DBus;
using System.
namespace Amarok
{
[NDesk.
interface ICollection
{
[return: Argument("result")]
Dictionary<
};
public class Amarok
{
public static int Main()
{
String q="<query version=
ICollection c = Bus.Session.
System.
return 0;
}
}
}
#v-