On Sat, 02 Dec 2017 15:25:22 +0100, Guido Günther wrote: > > [UPGRADE] python-vobject:amd64 0.8.1c-4 -> 0.9.5-1 > > > > and the next `calypso --import …' led to > > > > Failed to import: /tmp/whatever.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 501, in > > import_item > > self.rewrite_file(new_item, context={}) > > File "/usr/lib/python2.7/dist-packages/calypso/webdav.py", line 419, in > > rewrite_file > > context['action'] = u'Modify %s'%item > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: > > ordinal not in range(128) > > > > Same with 0.9.3-3; 0.8.1c-4 works. > > I won't promise that I have the time and energy to debug this in the > near future but could you please > > - attach a a file that triggers the exception
It happens with all ics files I'm trying to import (and which contain non-ascii chars), e.g. http://treibhaus.at/programm.ics http://www.debconf.org/calendars/DebConf-team.ics https://anonscm.debian.org/cgit/debconf-data/dc17.git/plain/misc/until-dc17.ics > - check current calypso git > https://github.com/calypso-server/calypso > and see if this look better? I'm running current git without any issues > since quiet some time and tests used to pass as well. https://github.com/calypso-server/calypso/commit/a3a397e05dca4d46bcaea237af6e5c69e5593059 looks promising … Let's try. Yeah, after applying the hunk from this commit which changes webdav.py to /usr/lib/python2.7/dist-packages/calypso/webdav.py the import works for all ics files! Nice, thank you. Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- NP: Bettina Wegner: die rose
signature.asc
Description: Digital Signature