#1 — UnicodeDecodeError publishing from iCal
by
Justin Ryan
—
last modified
Jan 08, 2009 02:27 PM
| State | Unconfirmed |
|---|---|
| Version: | 0.3.0 |
| Area | Functionality |
| Issue type | Bug |
| Severity | Important |
| Submitted by | Justin Ryan |
| Submitted on | Jul 17, 2006 |
| Responsible | Sidnei da Silva |
| Target release: | 0.3.0 |
I'm getting this traceback trying to publish any calendar from iCal unless I deselect 'publish titles and notes', which causes the event objects to be mostly worthless. ;)
Time
16 July 2006 09:02 PM
User Name
jryan (jryan)
Request URL
http://roll.siggraph.org:5980/[…]/PUT
Exception Type
UnicodeEncodeError
Exception Value
'ascii' codec can't encode character u'\xe9' in position 40: ordinal not in range(128)
Traceback (innermost last):
* Module ZPublisher.Publish, line 115, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 41, in call_object
* Module webdav.NullResource, line 164, in PUT
* Module Products.Archetypes.WebDAVSupport, line 113, in PUT
* Module Products.Archetypes.utils, line 159, in mapply
* Module Products.Marshall.marshaller, line 91, in demarshall
* Module Products.Marshall.marshaller, line 83, in delegate
__traceback_info__: (<Products.Calendaring.marshaller.CalendarMarshaller instance at 0xb277dd6c>, 'demarshall', <ATFolder at /plone-sites/siggraph.org/portal/members/jryan/siggraph.org.ics>, {'mimetype': None, 'context': <ATFolder at /plone-sites/siggraph.org/portal/members/jryan/siggraph.org.ics>, 'REQUEST': <HTTPRequest, URL=http://roll.siggraph.org:5980/[…]/PUT>, 'filename': 'siggraph.org.ics', 'file': <open file '<fdopen>', mode 'w+b' at 0xb674b0b0>, 'RESPONSE': ZServerHTTPResponse('')})
* Module Products.Calendaring.marshaller, line 426, in demarshall
* Module Products.Calendaring.marshaller, line 224, in set_event_info_from_vevent
* Module Products.Calendaring.marshaller, line 149, in convert
* Module Products.Calendaring.marshaller, line 144, in _convert
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 40: ordinal not in range(128)
Display traceback as text
REQUEST
form
cookies
lazy items
SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>>
other
BODY 'BEGIN:VCALENDAR\r\nVERSION:2.0\r\nX-WR-CALNAME:siggraph.org\r\nPRODID:-//Apple Computer\\, Inc//iCal 2.0//EN\r\nX-WR-RELCALID:04615754-9112-4E71-9799-EB8A37F70232\r\nX-WR-TIMEZONE:US/Central\r\nCALSCALE:GREGORIAN\r\nMETHOD:PUBLISH\r\nBEGIN:VEVENT\r\nLOCATION:The Internet\r\nDTSTAMP:20060605T183005Z\r\nUID:2A2967C4-49D8-46C6-BEF4-BF4390B4BED4-794325F6-B625-4560-8AA8-8A14FD0\r\n 174C8\r\nSEQUENCE:5\r\nDTSTART;VALUE=DATE:20060528\r\nSUMMARY:siggraph.org and qutang.net test migrations\r\nDTEND;VALUE=DATE:20060529\r\nRRULE:FREQ=WEEKLY;INTERVAL=1\r\nEND:VEVENT\r\nBEGIN:VEVENT\r\nCLASS:PUBLIC\r\nLOCATION:Bibliotheque Nationale du Qu\xc3\xa9bec\\, 475\\, boul. de M\r\n aisonneuve Est\\, Montr\xc3\xa9al Metro\\\\: Berri-UQAM\r\nDTSTAMP:20060612T211223Z\r\nUID:F8C9E15B-6A2A-452A-A1BD-E819608DA37E-794325F6-B625-4560-8AA8-8A14FD0\r\n 174C8\r\nLAST-MODIFIED:20060602T221704Z\r\nCREATED:20060405T153817Z\r\nDTSTART:20060425T220000Z\r\nSUMMARY:Touching is believing\\\\: Recent developments in tangible interf\r\n aces\r\nDTEND:20060426T010000Z\r\nCATEGORIES:Chapter Event\r\nDESCRIPTION:Featuring prominent researchers from Germany\\, the UK and Ca\r\n nada.\r\nCONTACT:montreal-chapter@siggraph.org\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n'
TraversalRequestNameStack []
LANGUAGE 'en'
AUTHENTICATED_USER <PloneUser 'jryan'>
URL 'http://roll.siggraph.org:5980/[…]/PUT'
SERVER_URL 'http://roll.siggraph.org:5980'
LANGUAGE_TOOL <Products.PloneLanguageTool.LanguageTool.LanguageBinding instance at 0xb27a8f8c>
AUTHENTICATION_PATH 'plone-sites/siggraph.org/portal'
_ec_cache {-1299966676: <Products.PageTemplates.TALES.Context instance at 0xb284148c>}
BODYFILE <open file '<fdopen>', mode 'w+b' at 0xb674b0b0>
PUBLISHED <bound method NullResource.PUT of <webdav.NullResource.NullResource object at 0xb289212c>>
URL1 'http://roll.siggraph.org:5980/[…]/siggraph.org.ics'
ACTUAL_URL 'http://roll.siggraph.org:5980/[…]/siggraph.org.ics'
URL0 http://roll.siggraph.org:5980/[…]/PUT
URL1 http://roll.siggraph.org:5980/[…]/siggraph.org.ics
URL2 http://roll.siggraph.org:5980/[…]/jryan
URL3 http://roll.siggraph.org:5980/[…]/members
URL4 http://roll.siggraph.org:5980/[…]/portal
URL5 http://roll.siggraph.org:5980/plone-sites/siggraph.org
URL6 http://roll.siggraph.org:5980/plone-sites
URL7 http://roll.siggraph.org:5980
BASE0 http://roll.siggraph.org:5980
BASE1 http://roll.siggraph.org:5980
BASE2 http://roll.siggraph.org:5980/plone-sites
BASE3 http://roll.siggraph.org:5980/plone-sites/siggraph.org
BASE4 http://roll.siggraph.org:5980/[…]/portal
BASE5 http://roll.siggraph.org:5980/[…]/members
BASE6 http://roll.siggraph.org:5980/[…]/jryan
BASE7 http://roll.siggraph.org:5980/[…]/siggraph.org.ics
BASE8 http://roll.siggraph.org:5980/[…]/PUT
environ
CONTENT_LENGTH '1150'
HTTP_USER_AGENT 'DAVKit/2.0 (10.4.7; wrbt) iCal 2.0.3'
SERVER_NAME '0.0.0.0'
GATEWAY_INTERFACE 'CGI/1.1'
channel.creation_time 1153098144
REMOTE_ADDR '66.69.203.28'
SERVER_SOFTWARE 'Zope/(Zope 2.9.3-, python 2.4.3, linux2) ZServer/1.1 Plone/2.5.1 (SVN/UNRELEASED)'
SCRIPT_NAME ''
REQUEST_METHOD 'PUT'
HTTP_HOST 'roll.siggraph.org:5980'
PATH_INFO '/plone-sites/siggraph.org/portal/members/jryan/siggraph.org.ics'
SERVER_PORT '5980'
SERVER_PROTOCOL 'HTTP/1.1'
CONNECTION_TYPE 'close'
WEBDAV_SOURCE_PORT 1
PATH_TRANSLATED '/plone-sites/siggraph.org/portal/members/jryan/siggraph.org.ics'
- Steps to reproduce:
- Install Calendaring in a Plone 2.5 site
Try to publish via normal HTTP or webdav-source-server port
make sure not to uncheck 'publish titles and notes'
try again with 'publish titles and notes' after success
Added by
Paul Boots
on
Jul 19, 2006 06:03 PM
I can confirm this behaviour. On issue 2 I reported succesful publishing but that was WITHOUT the Calendaring product installed!
Responsible manager:
dreamcatcher
→
(UNASSIGNED)
see http://plone.org/products/calendaring/issues/2
I was a bit to hasty to report succesful publishing (I work on this on the side during an allready busy job ;-)).
Either way (publishing with or without Calendaring) when I subcribe to a published calendar using ICal I get an error from ICal
"""
Error subscribing to calendar.
Data downloaded from http://localhost:1980/tp2/Birthdays.ics is not valid.
"""
When I just upload a 'ics' file exported from Ical I can subcribe to it.
Added by
Justin Ryan
on
Jul 19, 2006 06:38 PM
Thanks for the update. I think we should keep this issue closed and continue using the other to address the DAV issue, as everything else *seems* to be working with the current trunk bundle.
Responsible manager:
(UNASSIGNED)
→
justizin
There are some CalViews issues, but I have a separate tracker for those. ;)
Cheers!
Added by
Justin Ryan
on
Jul 19, 2006 06:40 PM
Argh, the last comment was intended for 2.
Thanks for confirming this issue, Paul. We should definitely keep *this* issue open and leave the other closed.
Added by
Nate Aune
on
Sep 24, 2006 09:55 PM
I also get this error when publishing the attached .ics file:
Responsible manager:
justizin
→
dreamcatcher
Traceback (innermost last):
Module ZPublisher.Publish, line 115, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 41, in call_object
Module webdav.NullResource, line 164, in PUT
Module Products.Archetypes.WebDAVSupport, line 113, in PUT
Module Products.Archetypes.utils, line 159, in mapply
Module Products.Marshall.marshaller, line 102, in demarshall
Module Products.Marshall.marshaller, line 84, in delegate
- __traceback_info__: (<Products.Calendaring.marshaller.CalendarMarshaller instance at 0x67a9878>, 'demarshall', <ATFolder at /calendar/Music.ics>, {'mimetype': None, 'context': <ATFolder at /calendar/Music.ics>, 'REQUEST': <HTTPRequest, URL=http://localhost:12080/calendar/Music.ics/PUT>, 'filename': 'Music.ics', 'file': None, 'RESPONSE': ZServerHTTPResponse('')})
Module Products.Calendaring.marshaller, line 426, in demarshall
Module Products.Calendaring.marshaller, line 224, in set_event_info_from_vevent
Module Products.Calendaring.marshaller, line 149, in convert
Module Products.Calendaring.marshaller, line 144, in _convert
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 211: ordinal not in range(128)
No responses can be added.
If you can, please log in before submitting a reaction.
