[Bug 257858] net-im/gajim can not start because it looks for machine-id in the wrong directory

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 15 Aug 2021 12:11:22 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257858

            Bug ID: 257858
           Summary: net-im/gajim can not start because it looks for
                    machine-id in the wrong directory
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rm_at_FreeBSD.org
          Reporter: meka_at_tilda.center
             Flags: maintainer-feedback?(rm_at_FreeBSD.org)
          Assignee: rm_at_FreeBSD.org

When I try to run gajim I get the following error.

gajim
No translations found
Dirs searched: [PosixPath('/usr/home/meka/.local/share'),
PosixPath('/usr/local/share'), PosixPath('/usr/share')]
08/15/21 14:08:35 (W) gajim.c.storage.cache      Execution time for
_load_caps_data: 170 ms
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/gajim/application.py", line 233,
in _startup
    self.interface = Interface()
  File "/usr/local/lib/python3.8/site-packages/gajim/gui_interface.py", line
2068, in __init__
    music_track.enable()
  File
"/usr/local/lib/python3.8/site-packages/gajim/common/dbus/music_track.py", line
208, in enable
    listener.start()
  File
"/usr/local/lib/python3.8/site-packages/gajim/common/dbus/music_track.py", line
61, in start
    proxy = Gio.DBusProxy.new_for_bus_sync(
gi.repository.GLib.Error: g-file-error-quark: Cannot spawn a message bus
without a machine-id: Unable to load /var/local/lib/dbus/machine-id or
/etc/machine-id: Failed to open file “/var/local/lib/dbus/machine-id”: No such
file or directory (4)
08/15/21 14:08:35 (W) gajim.gui.notification     Notifications D-Bus not
available: g-file-error-quark: Cannot spawn a message bus without a machine-id:
Unable to load /var/local/lib/dbus/machine-id or /etc/machine-id: Failed to
open file “/var/local/lib/dbus/machine-id”: No such file or directory (4)


In short it should look in /var/lib/dbus/machine-id instead of
/var/local/lib/dbus/machine-id.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Sun Aug 15 2021 - 12:11:22 UTC

Original text of this message