Ticket #165 (closed task: fixed)

Opened 7 years ago

Last modified 7 years ago

addtoFavorites: UnicodeEncodeError

Reported by: denis Owned by: andycat
Priority: minor Milestone: 4.1
Component: SiteTools Severity:
Keywords: Cc:
Who will test this:


I have an error when i click to add to Favorites,

Type de l'erreur
Valeur de l'erreur
    'ascii' codec can't encode character u'\xe9' in position 105: ordinal not in range(128)

The log inside Plone-2.5.5/zeocluster/client1/log/event.log

2008-07-01T12:45:25 ERROR Zope.SiteErrorLog
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 Products.CMFFormController.FSControllerPythonScript, line 104, in __call__
  Module Products.CMFFormController.Script, line 145, in __call__
  Module Products.CMFCore.FSPythonScript, line 108, in __call__
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.CMFCore.FSPythonScript, line 164, in _exec
  Module None, line 36, in addtoFavorites
   - <FSControllerPythonScript at /test/addtoFavorites used for /test/Members/Plumi/videos/ext.avi>
   - Line 36
  Module ZPublisher.HTTPResponse, line 594, in redirect
  Module ZPublisher.HTTPResponse, line 253, in setHeader
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 105: ordinal not in range(128)


Change History

comment:1 Changed 7 years ago by datakid

Hi dennis,

This is an issue with CMFFormController. There are a couple of ways to fix this issue mentioned in this thread:


comment:2 Changed 7 years ago by denis

Fixed with the add of this file:


import sys

comment:3 Changed 7 years ago by and

  • Milestone set to 0.4

comment:4 Changed 7 years ago by andycat

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

Denis said its fixed ? I think i can close it then.

Re-open it if im wrong.


Add a comment

Modify Ticket

as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.