-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

http://svn.nuxeo.org/trac/pub/ticket/872

You may check the comments for upgrading your instance. If you think
your problem is different don't hesitate to post again :)

        J.

Mario Olimpio de Menezes wrote:
> Hi,
> 
>    When I try to add an event and the event title has a 8 bit character 
> I get this error:
> 
> ---------------------------------
> Error Type:   UnicodeDecodeError
> Error Value:  'ascii' codec can't decode byte 0xe9 in position 25: 
> ordinal not in range(128)
> 
> 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.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 163, in _exec
>     * Module None, line 53, in calendar_addevent
>       <FSPythonScript at /cps/calendar_addevent used 
> for /cps/workspaces/members/mario.menezes/calendar>
>       Line 53
>     * Module AccessControl.ZopeGuards, line 341, in guarded_apply
>     * Module AccessControl.ZopeGuards, line 363, in 
> builtin_guarded_apply
>     * Module Products.CPSCore.CPSTypes, line 59, in invokeFactory
>     * Module Products.CPSWorkflow.workflowtool, line 298, in 
> invokeFactoryFor
>     * Module Products.CPSWorkflow.workflowtool, line 419, in 
> _createObject
>     * Module Products.CPSCore.CPSTypes, line 111, in constructContent
>     * Module Products.CMFCore.TypesTool, line 571, in _constructInstance
>     * Module Products.CPSCalendar.Event, line 744, in addEvent
>     * Module OFS.ObjectManager, line 293, in _setObject
>     * Module Products.CPSCalendar.Event, line 709, in manage_afterAdd
>     * Module Products.CPSCore.EventServicePatches, line 104, in 
> manage_afterAdd
>     * Module Products.CMFCore.CMFCatalogAware, line 184, in 
> manage_afterAdd
>     * Module Products.CMFCore.CMFCatalogAware, line 50, in indexObject
>     * Module Products.CMFCore.CatalogTool, line 319, in indexObject
>     * Module Products.CPSCore.PatchCatalogTool, line 181, in 
> cat_catalog_object
>     * Module Products.ZCatalog.ZCatalog, line 565, in catalog_object
>     * Module Products.ZCatalog.Catalog, line 361, in catalogObject
>     * Module Products.PluginIndexes.common.UnIndex, line 220, in 
> index_object
>     * Module Products.PluginIndexes.common.UnIndex, line 247, in 
> _index_object
>     * Module Products.PluginIndexes.common.UnIndex, line 199, in 
> insertForwardIndexEntry
> 
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 25: 
> ordinal not in range(128)
> 
> form
> category      'work'
> document      ''
> event_type    'event_tofrom'
> title 'Exame de Capacidade - Jos\xe9 Eg\xeddio'
> create        '1'
> description   'Exame de Capacidade do Jos\xe9 Eg\xeddio'
> location      'Sala Semin\xe1rio CRPq'
> calendar_addevent     'Create'
> from_date_string      '09/21/2005'
> to_date       '09/21/2005'
> from_date_hour        14
> event_status  'confirmed'
> from_date_minute      30
> to_date_hour  15
> transparent   0
> to_date_minute        30
> cookies
> _ZopeId       '05671953A1.kgalp1hE'
> lazy items
> 
> ---------------------------------
> 
>     The title I typed was:  "Exame de Capacidade - José Egídio"
> 
>     If I remove the characters "é" and "í" replacing them by "e" and "i" 
> respectively, the everything goes OK even if there're  8 bit 
> characteres in other fields of the Event Add form.
> 
>     I tested others documents and types (workspace, Openoffice document) 
> and had the same problem when the title contains such characteres (8 
> bit). 
> 
>     Could someone try to reproduce this?
> 
>     Thanks


- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDKMVtGhoG8MxZ/pIRAqr2AJ0ZUZFhv1C8ePyKJyrZz5hSDCnidACdEzFz
PoumhKXsSKdjWls4UdIEp7U=
=N8sk
-----END PGP SIGNATURE-----
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to