Ticket #1147 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

Trying to import an ics file in CPSSharedCalendar via "import" function ( CPSError)

Reported by: drenevey Owned by: lregebro
Priority: P1 Milestone: CPS 3.4.0
Component: CPSSharedCalendar Version: 3.3.8
Severity: normal Keywords:
Cc:

Description (last modified by fguillaume) (diff)

Error Type:  	UnicodeEncodeError
Error Value: 	

'latin-1' codec can't encode character u'\u2019' in position 25: ordinal not in range(256)

Traceback: 	

Traceback (innermost last):

    * Module ZPublisher.Publish, line 113, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 40, in call_object
    * Module Products.Five.browserconfigure, line 628, in __call__
    * Module Shared.DC.Scripts.Bindings, line 311, in __call__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module Products.PageTemplates.PageTemplateFile, line 110, in _exec
    * Module Products.PageTemplates.PageTemplate, line 102, in pt_render
      <ImplicitAcquirerWrapper object at 0x50d4d70>
    * Module TAL.TALInterpreter, line 206, in __call__
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 477, in do_setLocal_tal
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: index
      Line 1, Column 0
      Expression: standard:'view/importUpdate'
      Names:...
    * Module Products.PageTemplates.Expressions, line 183, in __call__
    * Module Products.PageTemplates.Expressions, line 178, in _eval
    * Module Products.PageTemplates.Expressions, line 85, in render
    * Module Products.CalZope.browser.icalsupport, line 28, in importUpdate
    * Module calcore.cal, line 635, in import_
    * Module calcore.cal, line 671, in _importNewEvent
    * Module calcore.cal, line 117, in createEventFromSpecification
    * Module Products.CalZope.storage, line 125, in createEvent
    * Module Products.CalZope.storage, line 50, in _eventFactory
    * Module Products.CalZope.storage, line 243, in __init__

UnicodeEncodeError: 'latin-1' codec can't encode character u'\u2019' in position 25: ordinal not in range(256)

Attachments

French Holidays.ics Download (6.7 KB) - added by drenevey 14 years ago.

Change History

comment:1 Changed 14 years ago by lregebro

Please attach the ics file so I can test it.

comment:2 Changed 14 years ago by fguillaume

  • Description modified (diff)
  • Milestone changed from CPS 3.3.8 to CPS 3.4.0

comment:3 Changed 14 years ago by fguillaume

I'm sure any .ics with a funky quote in it ('\u2019') will do.

Changed 14 years ago by drenevey

comment:4 Changed 14 years ago by lregebro

  • Status changed from new to assigned

comment:5 Changed 14 years ago by fguillaume

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in [30161].

Note: See TracTickets for help on using tickets.