Ticket #7524 (closed Bug: fixed)
Display of add on products README file generates UnicodeDecodeError
| Reported by: | jteeters | Owned by: | hannosch |
|---|---|---|---|
| Priority: | minor | Milestone: | 3.1 |
| Component: | Infrastructure | Keywords: | |
| Cc: |
Description
Clicking on the "product description" link for Clouseau 0.8.1 causes a UnicodeDecodeError. I think this is because the README.txt file that comes with Clouseau 0.8.1 has an author name with characters that cannot be converted to normal ascii. Since, it should be possible to include such characters (for example, german umlauts) in the readme file, I think this is a bug that needs to be fixed.
I saw this error both in the Plone 3.0.4 and the SVN checkout for 3.0.x. For setting up the SVN instance, I did:
- Follow the instructions called Setup new Plone 3.0.x development instance at
http://plone.org/development/info/participation
- Modify buildout.cfg so that clouseau is included (remove '#' from the two lines with closeau and adjust indentation). I also had to add in user = admin:password under [instance] so I would know the admin account info.
- Do bin/buildout -v and ./bin/instance fg (to rebuild and run instance).
Once navigating to plone, the error was generated by:
Click on Site setup.
Click on "Add-on Products"
Click on "Product Description" for Clouseau.
Trace is below. In case it is useful, output from "svn info" is first.
URL: https://svn.plone.org/svn/plone/ploneout/branches/3.0 Repository Root: https://svn.plone.org/svn/plone Repository UUID: 3b4cdb85-528f-c531-b63d-5919d5b1aa08 Revision: 18775 Node Kind: directory Schedule: normal Last Changed Author: hannosch Last Changed Rev: 18010 Last Changed Date: 2007-11-16 10:11:11 -0800 (Fri, 16 Nov 2007)
Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 42, in call_object Module Shared.DC.Scripts.Bindings, line 313, in __call__ Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec Module Products.CMFCore.FSPageTemplate, line 216, in _exec Module Products.CMFCore.FSPageTemplate, line 155, in pt_render Module Products.PageTemplates.PageTemplate, line 89, in pt_render Module zope.pagetemplate.pagetemplate, line 117, in pt_render Module zope.tal.talinterpreter, line 271, in __call__ Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 891, in do_useMacro Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 536, in do_optTag_tal Module zope.tal.talinterpreter, line 521, in do_optTag Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 891, in do_useMacro Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 536, in do_optTag_tal Module zope.tal.talinterpreter, line 521, in do_optTag Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 949, in do_defineSlot Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 536, in do_optTag_tal Module zope.tal.talinterpreter, line 521, in do_optTag Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 957, in do_defineSlot Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 536, in do_optTag_tal Module zope.tal.talinterpreter, line 521, in do_optTag Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 891, in do_useMacro Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 957, in do_defineSlot Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 536, in do_optTag_tal Module zope.tal.talinterpreter, line 521, in do_optTag Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 534, in do_optTag_tal Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 949, in do_defineSlot Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 536, in do_optTag_tal Module zope.tal.talinterpreter, line 521, in do_optTag Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 949, in do_defineSlot Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 536, in do_optTag_tal Module zope.tal.talinterpreter, line 521, in do_optTag Module zope.tal.talinterpreter, line 516, in no_tag Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 855, in do_condition Module zope.tal.talinterpreter, line 346, in interpret Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal Module Products.PageTemplates.Expressions, line 222, in evaluateStructure Module Products.PageTemplates.Expressions, line 269, in _handleText UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 548: ordinal not in range(128)
Change History
comment:1 Changed 4 years ago by hannosch
- Owner changed from somebody to hannosch
- Component changed from Unknown to Control Panel
