Bonsoir icon indicating copy to clipboard operation
Bonsoir copied to clipboard

[Linux] Unhandled Exception: org.freedesktop.DBus.Error.UnknownObject

Open teamplayer3 opened this issue 11 months ago • 2 comments

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>

teamplayer3 avatar Jan 10 '25 12:01 teamplayer3

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 ?

Skyost avatar Jan 11 '25 10:01 Skyost

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.

teamplayer3 avatar Jan 11 '25 10:01 teamplayer3