[Pkg-utopia-maintainers] Bug#821294: d-feet: list of bus names is blank under Wayland

Simon McVittie smcv at debian.org
Sun Apr 17 12:20:38 UTC 2016


Package: d-feet
Version: 0.3.10-1
Severity: normal
User: pkg-gnome-maintainers at alioth.debian.org
Usertags: wayland

I'm using the GNOME 3.20 Wayland session (gnome-session from
experimental). When I run d-feet with the default Wayland GDK backend,
it warns like this on stderr:

/usr/lib/python2.7/dist-packages/dfeet/wnck_utils.py:9: PyGIWarning: Wnck was imported without specifying a version first. Use gi.require_version('Wnck', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Wnck
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gi/overrides/Gio.py", line 143, in __async_result_handler
    result_callback(obj, self._unpack_result(ret), real_user_data)
  File "/usr/lib/python2.7/dist-packages/dfeet/bus_watch.py", line 297, in __list_names_handler
    self.__add_names(names)
  File "/usr/lib/python2.7/dist-packages/dfeet/bus_watch.py", line 289, in __add_names
    self.__add_name(n, n)
  File "/usr/lib/python2.7/dist-packages/dfeet/bus_watch.py", line 275, in __add_name
    bus_name_box = BusNameBox(name, unique_name)
  File "/usr/lib/python2.7/dist-packages/dfeet/bus_watch.py", line 20, in __init__
    self.__icon_table = IconTable.get_instance()
  File "/usr/lib/python2.7/dist-packages/dfeet/wnck_utils.py", line 67, in get_instance
    cls.instance = IconTable()
  File "/usr/lib/python2.7/dist-packages/dfeet/wnck_utils.py", line 27, in __init__
    Wnck.Screen.force_update(screen)
TypeError: Argument 0 does not allow None as a value
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gi/overrides/Gio.py", line 143, in __async_result_handler
    result_callback(obj, self._unpack_result(ret), real_user_data)
  File "/usr/lib/python2.7/dist-packages/dfeet/bus_watch.py", line 297, in __list_names_handler
    self.__add_names(names)
  File "/usr/lib/python2.7/dist-packages/dfeet/bus_watch.py", line 289, in __add_names
    self.__add_name(n, n)
  File "/usr/lib/python2.7/dist-packages/dfeet/bus_watch.py", line 275, in __add_name
    bus_name_box = BusNameBox(name, unique_name)
  File "/usr/lib/python2.7/dist-packages/dfeet/bus_watch.py", line 20, in __init__
    self.__icon_table = IconTable.get_instance()
  File "/usr/lib/python2.7/dist-packages/dfeet/wnck_utils.py", line 67, in get_instance
    cls.instance = IconTable()
  File "/usr/lib/python2.7/dist-packages/dfeet/wnck_utils.py", line 27, in __init__
    Wnck.Screen.force_update(screen)
TypeError: Argument 0 does not allow None as a value

(and more similar TypeErrors)

After that, the list that should contain bus names on the left side of
the window is empty.

Workaround: running with "GDK_BACKEND=x11 d-feet" works correctly.

If d-feet only works in X11, it should do this during early startup,
before opening the display. This should have the same effect as
GDK_BACKEND=x11 and make that workaround unnecessary:

    from gi.repository import Gdk
    Gdk.set_allowed_backends("x11")

Regards,
    S

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages d-feet depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.26.0-1
ii  gir1.2-glib-2.0                              1.48.0-1
ii  gir1.2-gtk-3.0                               3.20.3-1
ii  hicolor-icon-theme                           0.13-1
ii  python                                       2.7.11-1
ii  python-gi                                    3.20.0-1
pn  python:any                                   <none>

d-feet recommends no packages.

d-feet suggests no packages.

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list