Package: udiskie
Version: 2.4.2-1
Severity: minor
X-Debbugs-Cc: konubinix...@gmail.com

Dear Maintainer,

udiskie appears to work just fine.

After upgrading, I realized that when running udiskie-umount, I get this error.

udiskie-umount /media/sam/bibou/
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/udiskie/dbus.py", line 225, in callback
    return handler(object_path, *unpack_variant(parameters))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/udiskie/udisks2.py", line 865, in 
_properties_changed
    del self._objects[object_path][interface_name][property_name]
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'Size'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/udiskie/dbus.py", line 225, in callback
    return handler(object_path, *unpack_variant(parameters))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/udiskie/udisks2.py", line 865, in 
_properties_changed
    del self._objects[object_path][interface_name][property_name]
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'Size'
unmounted /org/freedesktop/UDisks2/block_devices/sdc1

The drive seems to be correctly umounted, so I don't worry about this.

Yet I think you might want to be warned about this behavior.

My best,

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'stable'), (500, 'testing-debug'), (500, 
'stable-debug'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-4-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to 
C.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages udiskie depends on:
ii  python3                3.11.4-5+b1
ii  python3-distutils      3.11.5-1
ii  python3-docopt         0.6.2-4.1
ii  python3-gi             3.46.0-1
ii  python3-pkg-resources  68.1.2-1
ii  python3-yaml           6.0.1-1
ii  udisks2                2.10.1-1

Versions of packages udiskie recommends:
ii  awesome [notification-daemon]  4.3-7
ii  dunst [notification-daemon]    1.9.2-1
ii  gir1.2-gtk-3.0                 3.24.38-5
ii  gir1.2-notify-0.7              0.8.2-1
pn  gobject-introspection          <none>
ii  notification-daemon            3.20.0-4+b1
ii  python3-keyutils               0.6-3+b1

udiskie suggests no packages.

-- no debconf information

Reply via email to