[Calypso-maint] Bug#841247: calypso: UnicodeDecodeError when importing an .ics
Jens Reyer
jre.winesim at gmail.com
Tue Oct 18 23:16:16 UTC 2016
Package: calypso
Version: 1.5-3
Severity: normal
Hi,
I tried to import the .ics of my old exported ownCloud calendar,
but this failed with an UnicodeDecodeError. You may reproduce this
(note the accent in Café):
$ cat calypso-unicode-bug.ics
BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VEVENT
SUMMARY:Café
END:VEVENT
END:VCALENDAR
$ calypso --import private/test calypso-unicode-bug.ics
Failed to import: calypso-unicode-bug.ics
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/calypso/webdav.py", line 524, in import_file
self.import_item(new_item, path)
File "/usr/lib/python2.7/dist-packages/calypso/webdav.py", line 504, in import_item
self.create_file(new_item, context={})
File "/usr/lib/python2.7/dist-packages/calypso/webdav.py", line 389, in create_file
context['action'] = u'Add %s'%item
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)
Greets!
jre
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages calypso depends on:
ii git 1:2.9.3-1
ii python 2.7.11-2
ii python-daemon 2.1.1-1
ii python-lockfile 1:0.12.2-2
ii python-vobject 0.9.3-2
calypso recommends no packages.
calypso suggests no packages.
-- no debconf information
More information about the Calypso-maint
mailing list