Package: syncthing-gtk
Version: 0.9.4.4+ds+git20201209+c46fbd8-1
Severity: normal
File: /usr/lib/python3/dist-packages/syncthing_gtk/nautilusplugin.py

With the extension enabled, nautilus outputs the following repeatedly:

    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/syncthing_gtk/nautilusplugin.py", 
line 303, in get_background_items
        path = self._get_path(item).rstrip("/")
      File "/usr/lib/python3/dist-packages/syncthing_gtk/nautilusplugin.py", 
line 117, in _get_path
        return file.get_location().get_path().decode('utf-8')
    AttributeError: 'str' object has no attribute 'decode'

Looks like code that hasn't been updated to work on Python 3...

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

Kernel: Linux 5.10.0-1-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages syncthing-gtk depends on:
ii  gir1.2-glib-2.0    1.66.1-1+b1
ii  gir1.2-gtk-3.0     3.24.24-1
ii  gir1.2-notify-0.7  0.7.9-2
ii  gir1.2-rsvg-2.0    2.50.2+dfsg-1
ii  libgtk-3-0         3.24.24-1
ii  python3            3.9.1-1
ii  python3-bcrypt     3.1.7-4
ii  python3-dateutil   2.8.1-5
ii  python3-gi         3.38.0-1+b2
ii  python3-gi-cairo   3.38.0-1+b2

Versions of packages syncthing-gtk recommends:
ii  gir1.2-ayatanaappindicator3-0.1  0.5.5-2
ii  syncthing                        1.10.0~ds1-1

Versions of packages syncthing-gtk suggests:
ii  python3-nautilus  1.2.3-3+b1

-- no debconf information

Reply via email to