[Python-apps-team] Bug#914436: khal won't look at event files that don't have an "extension" of ".ics"

Thadeu Lima de Souza Cascardo cascardo at debian.org
Fri Nov 23 12:36:43 GMT 2018


Package: khal
Version: 1:0.9.8-1
Severity: important
Tags: upstream

I am synchronizing my calendar by using vdirsyncer. The server is
cyrus-caldav. Amongst other clients I use is Davdroid. Davdroid will
create events that when synchronized will not have a filename that ends
with ".ics". And khal won't find those.

The revelant pieces of code are at:
/usr/lib/python3/dist-packages/khal/khalendar/khalendar.py
/usr/lib/python3/dist-packages/khal/khalendar/vdir.py

One small snippet from khalendar.py is the one below:

            if ctype == 'calendar':
                file_ext = '.ics'

Thanks.
Cascardo.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages khal depends on:
ii  python3                3.6.7-1
ii  python3-atomicwrites   1.1.5-2
ii  python3-click          6.7+git20180829-1
ii  python3-configobj      5.0.6-3
ii  python3-dateutil       2.7.3-1
ii  python3-icalendar      4.0.3-2
ii  python3-pkg-resources  40.5.0-1
ii  python3-tz             2018.7-1
ii  python3-tzlocal        1.5.1-1
ii  python3-urwid          2.0.1-2+b1
ii  python3-xdg            0.25-4

Versions of packages khal recommends:
pn  python3-setproctitle  <none>

Versions of packages khal suggests:
ii  khal-doc  1:0.9.8-1

-- no debconf information



More information about the Python-apps-team mailing list