Package: khal
Version: 1:0.11.3-3
Severity: important

Adding any alarm fails with:


$ khal new --alarms 1d   Tue 7:30 Whatever
Unknown exception happened.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/khal/khalendar/khalendar.py", line 398, 
in _update_vevent
    update(event.raw, href=href, etag=etag, calendar=calendar)
  File "/usr/lib/python3/dist-packages/khal/khalendar/backend.py", line 226, in 
update
    if not assert_only_one_uid(ical):
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/khal/icalendar.py", line 362, in 
assert_only_one_uid
    uids.add(item['UID'])
TypeError: unhashable type: 'list'

Adding events without alarms works.

Note that I'm running 0.11.3-3 built from souce as this didn't make it
into sid yet.

Cheers,
 -- Guido


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

Kernel: Linux 6.11.10-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=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 khal depends on:
ii  python3                3.12.7-1
ii  python3-atomicwrites   1.4.1-1
ii  python3-click          8.1.7-2
ii  python3-click-log      0.3.2-1
ii  python3-configobj      5.0.9-1
ii  python3-dateutil       2.9.0-3
ii  python3-icalendar      6.0.1-1
ii  python3-pkg-resources  74.1.2-2
ii  python3-tz             2024.1-2
hi  python3-tzlocal        2.1-1
ii  python3-urwid          2.6.16-1
ii  python3-xdg            0.28-2

Versions of packages khal recommends:
ii  python3-setproctitle  1.3.3-1+b5

Versions of packages khal suggests:
ii  bash-completion  1:2.14.0-2
pn  khal-doc         <none>

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/lib/python3/dist-packages/khal/icalendar.py (from 
khal package)

Reply via email to