On Wed, Oct 19, 2016 at 01:16:16AM +0200, Jens Reyer wrote:
> 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)

This is caused by newer python-vobject. When I switch from 0.9.x to the
jessie version there are no unicode errors. Jelmer, did you have an idea
what triggers this? Its already reproducible with our test suite.

      git clone git://git.debian.org:/git/calypso/calypso.git
      cd calypso
      nosetests

Cheers,
 -- Guido

> 
> 
> 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
> 
> _______________________________________________
> Calypso-maint mailing list
> calypso-ma...@lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/calypso-maint

Reply via email to