[Calypso-maint] Bug#861764: calypso: Unicode error
Dev PICSL
desarrollo.picsl at gmail.com
Wed May 3 18:34:30 UTC 2017
Package: calypso
Version: 1.5-3
Severity: important
Dear Maintainer,
* What led up to the situation?
When trying to create a calendar event in Thunderbird, where the title contains
non-ascii characters, calypso, in debug mode, displays a unicode error and the
event is not created.
* What exactly did you do (or not) that was effective (or Ineffective)?
It is the default installation. Nothing special has been done.
What was the outcome of this action?
You can not create events. Calypso creates a "Unicode Error" exception.
* What outcome did you expect instead?
Calypso fails to create events with the title with non-ascii characters. It
should not be like that.
-- System Information:
Debian Release: 9.0
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64
(x86_64)
Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.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.11.0-2
ii python 2.7.13-2
ii python-daemon 2.1.2-1
ii python-lockfile 1:0.12.2-2
ii python-vobject 0.9.3-3
calypso recommends no packages.
calypso suggests no packages.
-- no debconf information
*** /tmp/Resumen-Calypso.txt
192.168.252.30 - - [03/May/2017 14:43:50] "PUT
/private/picsl/C783582E-E600-0001-6576-1FD1D56D4870.vcf HTTP/1.1" 400 -
First line 'PUT /private/picsl/C783582E-E600-0001-F188-174014981B0F.vcf
HTTP/1.1
'
keep-alive
reqlen 240
Path /private/picsl/C783582E-E600-0001-F188-174014981B0F.vcf results in
collection: /private/picsl
Path /private/picsl/C783582E-E600-0001-F188-174014981B0F.vcf results in
collection: /private/picsl
owner private user desarrollo
Path /private/picsl/C783582E-E600-0001-F188-174014981B0F.vcf results in name:
C783582E-E600-0001-F188-174014981B0F.vcf
Path /private/picsl/C783582E-E600-0001-F188-174014981B0F.vcf results in
collection: /private/picsl
Path /private/picsl/C783582E-E600-0001-F188-174014981B0F.vcf results in
collection: /private/picsl
Path /private/picsl/C783582E-E600-0001-F188-174014981B0F.vcf results in name:
C783582E-E600-0001-F188-174014981B0F.vcf
xmlutils put path /private/picsl/C783582E-E600-0001-F188-174014981B0F.vcf name
C783582E-E600-0001-F188-174014981B0F.vcf
Scan /home/desarrollo/.config/calypso/calendars/private/picsl
New /home/desarrollo/.config/calypso/calendars/private/picsl/card-6Yf_0D.vcf
Parse error in None
/home/desarrollo/.config/calypso/calendars/private/picsl/card-6Yf_0D.vcf
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/calypso/webdav.py", line 75, in
__init__
self.object = vobject.readOne(text)
File "/usr/lib/python2.7/dist-packages/vobject/base.py", line 1130, in
readOne
allowQP))
StopIteration
Insert /home/desarrollo/.config/calypso/calendars/private/picsl/card-6Yf_0D.vcf
failed
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/calypso/webdav.py", line 246, in
insert_file
item = self.read_file(path)
File "/usr/lib/python2.7/dist-packages/calypso/webdav.py", line 241, in
read_file
item = Item(text, None, path)
File "/usr/lib/python2.7/dist-packages/calypso/webdav.py", line 75, in
__init__
self.object = vobject.readOne(text)
File "/usr/lib/python2.7/dist-packages/vobject/base.py", line 1130, in
readOne
allowQP))
StopIteration
Putting a new item, because name C783582E-E600-0001-F188-174014981B0F.vcf is
not known
append name C783582E-E600-0001-F188-174014981B0F.vcf
New item C783582E-E600-0001-F188-174014981B0F.vcf
Add C783582E-E600-0001-F188-174014981B0F.vcf
Failed PUT for /private/picsl/C783582E-E600-0001-F188-174014981B0F.vcf
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/calypso/__init__.py", line 418, in
do_PUT
new_item = xmlutils.put(self.path, webdav_request, self._collection,
context=context)
File "/usr/lib/python2.7/dist-packages/calypso/xmlutils.py", line 242, in put
return collection.append(name, webdav_request, context=context)
File "/usr/lib/python2.7/dist-packages/calypso/webdav.py", line 463, in
append
self.create_file(new_item, context=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 12:
ordinal not in range(128)
192.168.252.30 - - [03/May/2017 14:43:51] "PUT
/private/picsl/C783582E-E600-0001-F188-174014981B0F.vcf HTTP/1.1" 400 -
First line 'PUT /private/picsl/C783582E-E600-0001-5522-E2A08E3014BF.vcf
HTTP/1.1
'
keep-alive
reqlen 239
Path /private/picsl/C783582E-E600-0001-5522-E2A08E3014BF.vcf results in
collection: /private/picsl
Path /private/picsl/C783582E-E600-0001-5522-E2A08E3014BF.vcf results in
collection: /private/picsl
owner private user desarrollo
Path /private/picsl/C783582E-E600-0001-5522-E2A08E3014BF.vcf results in name:
C783582E-E600-0001-5522-E2A08E3014BF.vcf
Path /private/picsl/C783582E-E600-0001-5522-E2A08E3014BF.vcf results in
collection: /private/picsl
Path /private/picsl/C783582E-E600-0001-5522-E2A08E3014BF.vcf results in
collection: /private/picsl
Path /private/picsl/C783582E-E600-0001-5522-E2A08E3014BF.vcf results in name:
C783582E-E600-0001-5522-E2A08E3014BF.vcf
xmlutils put path /private/picsl/C783582E-E600-0001-5522-E2A08E3014BF.vcf name
C783582E-E600-0001-5522-E2A08E3014BF.vcf
Putting a new item, because name C783582E-E600-0001-5522-E2A08E3014BF.vcf is
not known
append name C783582E-E600-0001-5522-E2A08E3014BF.vcf
New item C783582E-E600-0001-5522-E2A08E3014BF.vcf
Add C783582E-E600-0001-5522-E2A08E3014BF.vcf
Failed PUT for /private/picsl/C783582E-E600-0001-5522-E2A08E3014BF.vcf
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/calypso/__init__.py", line 418, in
do_PUT
new_item = xmlutils.put(self.path, webdav_request, self._collection,
context=context)
File "/usr/lib/python2.7/dist-packages/calypso/xmlutils.py", line 242, in put
return collection.append(name, webdav_request, context=context)
File "/usr/lib/python2.7/dist-packages/calypso/webdav.py", line 463, in
append
self.create_file(new_item, context=context)
File "/usr/lib/python2.7/dist-packages/calypso/webdav.py", line 389, in
create_file
More information about the Calypso-maint
mailing list