{"action":"created","issue":{"url":"https://api.github.com/repos/Kozea/Radicale/issues/331","labels_url":"https://api.github.com/repos/Kozea/Radicale/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/Kozea/Radicale/issues/331/comments","events_url":"https://api.github.com/repos/Kozea/Radicale/issues/331/events","html_url":"https://github.com/Kozea/Radicale/issues/331","id":115302697,"number":331,"title":"UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 71: ordinal not in range(128)","user":{"login":"siccegge","id":405064,"avatar_url":"https://avatars.githubusercontent.com/u/405064?v=3","gravatar_id":"","url":"https://api.github.com/users/siccegge","html_url":"https://github.com/siccegge","followers_url":"https://api.github.com/users/siccegge/followers","following_url":"https://api.github.com/users/siccegge/following{/other_user}","gists_url":"https://api.github.com/users/siccegge/gists{/gist_id}","starred_url":"https://api.github.com/users/siccegge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siccegge/subscriptions","organizations_url":"https://api.github.com/users/siccegge/orgs","repos_url":"https://api.github.com/users/siccegge/repos","events_url":"https://api.github.com/users/siccegge/events{/privacy}","received_events_url":"https://api.github.com/users/siccegge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Kozea/Radicale/labels/bug","name":"bug","color":"9a62d3"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-05T15:03:10Z","updated_at":"2015-11-05T18:18:05Z","closed_at":null,"body":"Somewhen breaks between 0.10 and 1.0.1 (also the 1.0.1-2 debian package which has the two patches from altest git added) breaks radicale on my server (nginx, uwsgi)\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/radicale/__init__.py\", line 332, in __call__\r\n    user)\r\n  File \"/usr/lib/python2.7/dist-packages/radicale/__init__.py\", line 610, in report\r\n    answer = xmlutils.report(environ[\"PATH_INFO\"], content, collection)\r\n  File \"/usr/lib/python2.7/dist-packages/radicale/xmlutils.py\", line 552, in report\r\n    return _pretty_xml(multistatus)\r\n  File \"/usr/lib/python2.7/dist-packages/radicale/xmlutils.py\", line 102, in _pretty_xml\r\n    element, \"utf-8\").decode(\"utf-8\")).encode(output_encoding)\r\n  File \"/usr/lib/python2.7/xml/etree/ElementTree.py\", line 1126, in tostring\r\n    ElementTree(element).write(file, encoding, method=method)\r\n  File \"/usr/lib/python2.7/xml/etree/ElementTree.py\", line 820, in write\r\n    serialize(write, self._root, encoding, qnames, namespaces)\r\n  File \"/usr/lib/python2.7/xml/etree/ElementTree.py\", line 939, in _serialize_xml\r\n    _serialize_xml(write, e, encoding, qnames, None)\r\n  File \"/usr/lib/python2.7/xml/etree/ElementTree.py\", line 939, in _serialize_xml\r\n    _serialize_xml(write, e, encoding, qnames, None)\r\n  File \"/usr/lib/python2.7/xml/etree/ElementTree.py\", line 937, in _serialize_xml\r\n    write(_escape_cdata(text, encoding))\r\n  File \"/usr/lib/python2.7/xml/etree/ElementTree.py\", line 1073, in _escape_cdata\r\n    return text.encode(encoding, \"xmlcharrefreplace\")\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 71: ordinal not in range(128)\r\n```"},"comment":{"url":"https://api.github.com/repos/Kozea/Radicale/issues/comments/154143062","html_url":"https://github.com/Kozea/Radicale/issues/331#issuecomment-154143062","issue_url":"https://api.github.com/repos/Kozea/Radicale/issues/331","id":154143062,"user":{"login":"liZe","id":952243,"avatar_url":"https://avatars.githubusercontent.com/u/952243?v=3","gravatar_id":"","url":"https://api.github.com/users/liZe","html_url":"https://github.com/liZe","followers_url":"https://api.github.com/users/liZe/followers","following_url":"https://api.github.com/users/liZe/following{/other_user}","gists_url":"https://api.github.com/users/liZe/gists{/gist_id}","starred_url":"https://api.github.com/users/liZe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liZe/subscriptions","organizations_url":"https://api.github.com/users/liZe/orgs","repos_url":"https://api.github.com/users/liZe/repos","events_url":"https://api.github.com/users/liZe/events{/privacy}","received_events_url":"https://api.github.com/users/liZe/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T18:18:05Z","updated_at":"2015-11-05T18:18:05Z","body":"I can't reproduce, even with a calendar full of non-ASCII characters.\r\n\r\nIt would be really useful to get Radicale's logs, not the ones from uwsgi or nginx. The easy (and dirty) way to get them is to launch radicale in a terminal with the `--debug` option and copy/paste the result. If you can share with me your calendar, it may help too."}}