Package: calcurse
Version: 3.1.4-2
Severity: important
Tags: upstream

Hi,

calcurse's iCal import feature generates a corrupt apts file if
appointment summary contains '\n'.

For example, the following iCal snippet:
BEGIN:VEVENT
DTSTART:20140221T133000Z
DTEND:20140221T143000Z
DTSTAMP:20140525T212006Z
UID:4561732055696420546167205B265E25242340215D45424539473346613446334E61363
 348423937493631
CREATED:20140221T113254Z
DESCRIPTION:
LAST-MODIFIED:20140307T003706Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Event A.\nEvent B.
TRANSP:OPAQUE
CATEGORIES:http://schemas.google.com/g/2005#event
END:VEVENT

is imported into ~/.calcurse/apts as the following line:
02/21/2014 @ 13:30 -> 02/21/2014 @ 14:30 
>11f4de6b8b45cf8051b1d17fa4cde9ad935cea41 |Event A.
Event B.^M

This results in the following error when starting calcurse:
/!\ INTERNAL ERROR /!\
io.c: 433: /home/jmccrohan/.calcurse/apts:333: syntax error in the item date

This error persists until the erroneous line above is removed.

Thanks,
Jon

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable'), (450, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages calcurse depends on:
ii  libc6         2.18-5
ii  libncursesw5  5.9+20140118-1
ii  libtinfo5     5.9+20140118-1

calcurse recommends no packages.

calcurse suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to