-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi @arfbtwn - I seem to be having an issue with using the properties branch.
We've been using your branch of dbus-sharp and seem to be getting an unhandled exception when we try to add an interface to one of our classes.
ProtSystem.Exception: Message length 993591296 exceeds maximum allowed 134217728 bytes
ocolInformation.MaxMessageLength + " bytes")
Please let me know if you need more information.
Stack trace
Revision
50cee72 (HEAD, origin/master, origin/HEAD, master) mapper: Correct GetInterfaceType(Type,string) [Nicholas Little]
DBus.Transports.Transport.ReadMessageReal () in /home/user/product/services/service/dbus-sharp/src/Protocol/Transport.cs:233
DBus.Transports.Transport.ReadMessage () in /home/user/product/services/service/dbus-sharp/src/Protocol/Transport.cs:155
DBus.Protocol.PendingCall.get_Reply () in /home/user/product/services/service/dbus-sharp/src/Protocol/PendingCall.cs:31
DBus.Connection.SendWithReplyAndBlock (msg={DBus.Protocol.Message}) in /home/user/product/services/service/dbus-sharp/src/Connection.cs:177
DBus.BusObject.SendMethodCall (iface="org.freedesktop.DBus", member="AddMatch", inSigStr="s", writer={DBus.Protocol.MessageWriter}, retType={System.Void}, exception=(null)) in /home/user/product/services/service/dbus-sharp/src/BusObject.cs:141
org.freedesktop.DBus.IBusProxy.AddMatch (rule="type='signal',path='/com/company/devices',interface='org.freedesktop.ObjectManager',member='Interfaces…") in
DBus.Bus.AddMatch (rule="type='signal',path='/com/company/devices',interface='org.freedesktop.ObjectManager',member='Interfaces…") in /home/user/product/services/service/dbus-sharp/src/Bus.cs:141
DBus.BusObject.ToggleSignal (iface="org.freedesktop.ObjectManager", member="InterfacesAdded", dlg={service.InterfacesAddedHandler}, adding=true) in /home/user/product/services/service/dbus-sharp/src/BusObject.cs:72
service.ObjectManagerProxy.add_InterfacesAdded (value={service.InterfacesAddedHandler}) in
service.FindDeviceName.Init () in /home/user/product/services/service/service/FindDeviceName.cs:43
service.MainClass.Main (Args={string[0]}) in /home/user/product/services/service/service/Main.cs:316
This is the definition of object manager
public delegate void InterfacesAddedHandler(ObjectPath object_path,
IDictionary> interfaces_and_properties);
public delegate void InterfacesRemovedHandler(ObjectPath object_path, string[] interfaces);
[Interface("org.freedesktop.ObjectManager")]
public interface ObjectManager
{
void GetManagedObjects(out IDictionary IDictionary>> objpath_interfaces_and_properties);
event InterfacesAddedHandler InterfacesAdded;
event InterfacesRemovedHandler InterfacesRemoved;
}