[Linux] Unhandled Exception: org.freedesktop.DBus.Error.UnknownObject
Describe the bug This is thrown after #110. Do you need more information for this.
To Reproduce Same as in #110.
Expected behavior No error thrown.
Desktop (please complete the following information):
- OS: Linux
- Version: Ubuntu 22.04.5 LTS
Additional context
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: org.freedesktop.DBus.Error.UnknownObject: Method "Free" with signature "" on interface "org.freedesktop.Avahi.ServiceBrowser" doesn't exist
#0 DBusClient._callMethod (package:dbus/src/dbus_client.dart:1122:13)
<asynchronous suspension>
#1 DBusClient.callMethod (package:dbus/src/dbus_client.dart:621:12)
<asynchronous suspension>
#2 AvahiServiceBrowser.callFree (package:bonsoir_linux/src/avahi/service_browser.dart:163:5)
<asynchronous suspension>
The method free() should exist on ServiceBrowser (https://github.com/avahi/avahi/blob/master/avahi-daemon/org.freedesktop.Avahi.ServiceBrowser.xml#L34)... Can you provide more details on your Avahi installation ?
The method free() should exist on ServiceBrowser (https://github.com/avahi/avahi/blob/master/avahi-daemon/org.freedesktop.Avahi.ServiceBrowser.xml#L34).
Yes, the method should exist.
My avahi installation has version 0.8: (https://github.com/avahi/avahi/blob/f060abee2807c943821d88839c013ce15db17b58/avahi-daemon/org.freedesktop.Avahi.ServiceBrowser.xml#L34). Is in the interface in version 0.8 as well.