[Python-apps-team] Bug#855654: Incorrectly identifies/configures vdirsyncer calendars

martin f krafft madduck at debian.org
Mon Feb 20 23:24:45 UTC 2017


Package: khal
Version: 0.8.4-3
Severity: normal

I just set up khal and let it discover my vdirsyncer config:

The following collections were found:
  madduck_calendar_local: ~/.var/vdirsyncer/calendar
  madduck_contacts_local: ~/.var/vdirsyncer/contacts

First, the second of those is a contact store, and khal really
should just ignore it, rather than create a stanza for it under
[calendars]:

  [calendars]
  [[madduck_calendar_local]]
  path = ~/.var/vdirsyncer/calendar
  type = calendar
  [[madduck_contacts_local]]
  path = ~/.var/vdirsyncer/contacts
  type = discover

Second, this is actually wrong, because the above is the filesystem
root for the collection*s* that belong to the sync pair, but khal
identifies that as a collection itself. The actual sync pair is
called calendar.ics.

This has the following effect: khal parses the directory and
descends into ~/.var/vdirsyncer/calendar/calendar.ics/, but also
into all other collections under ~/.var/vdirsyncer/calendar.

Furthermore, new events are generated directly in
~/.var/vdirsyncer/calendar and thus will *not* be picked up by
vdirsyncer's next sync run.

The right thing to do would be to create a calendar for every
collection within the vdirsyncer filesystem locations. And in fact,
if I manually change the path to
~/.var/vdirsyncer/calendar/calendar.ics in the khal config, then it
works.

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages khal depends on:
ii  python3-click          6.6-1
ii  python3-configobj      5.0.6-2
ii  python3-dateutil       2.5.3-2
ii  python3-icalendar      3.8-1
ii  python3-pkg-resources  33.1.1-1
ii  python3-tz             2016.7-0.2
ii  python3-tzlocal        1.3-1
ii  python3-urwid          1.3.1-2+b1
ii  python3-xdg            0.25-4
pn  python3:any            <none>
ii  vdirsyncer             0.14.0-3

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

khal suggests no packages.

-- no debconf information


-- 
 .''`.   martin f. krafft <madduck at d.o> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1118 bytes
Desc: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20170221/200f5d76/attachment.sig>


More information about the Python-apps-team mailing list