Skip to content

Instantly share code, notes, and snippets.

@zampino
Created March 14, 2012 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zampino/2035196 to your computer and use it in GitHub Desktop.
Save zampino/2035196 to your computer and use it in GitHub Desktop.
Plumi and collective.contentlicensing UnicodeDecodeError
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 46, in call_object
Module Products.Five.browser.metaconfigure, line 476, in __call__
Module Products.Five.browser.pagetemplatefile, line 125, in __call__
Module Products.Five.browser.pagetemplatefile, line 59, in __call__
Module zope.pagetemplate.pagetemplate, line 113, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 888, in do_useMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 954, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 858, in do_defineMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 954, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 946, in do_defineSlot
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 858, in do_defineMacro
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 533, in do_optTag_tal
Module zope.tal.talinterpreter, line 518, in do_optTag
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 531, in do_optTag_tal
Module zope.tal.talinterpreter, line 513, in no_tag
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
Module zope.tales.tales, line 696, in evaluate
URL: /Users/amantini/dev/raw-news/plumi4.3/src/plumi.content/plumi/content/browser/templates/plumi_video_view.pt
Line 336, Column 8
Expression: <PathExpr standard:u'context/@@copyright_byline_view | nothing'>
Names:
{'args': (),
'container': <PlumiVideo at /Plumi/Members/admin/videos/test>,
'context': <PlumiVideo at /Plumi/Members/admin/videos/test>,
'default': <object object at 0x2467f0>,
'here': <PlumiVideo at /Plumi/Members/admin/videos/test>,
'loop': {},
'nothing': None,
'options': {},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xa224b40>,
'request': <HTTPRequest, URL=http://localhost:8080/Plumi/Members/admin/videos/test/video_view>,
'root': <Application at >,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x4276190>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>,
'view': <Products.Five.metaclass.SimpleViewClass from /Users/amantini/dev/raw-news/plumi4.3/src/plumi.content/plumi/content/browser/templates/plumi_video_view.pt object at 0x9c2af90>,
'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x9c2ad70>}
Module zope.tales.expressions, line 217, in __call__
Module Products.PageTemplates.Expressions, line 155, in _eval
Module Products.PageTemplates.Expressions, line 117, in render
Module Products.Five.browser.metaconfigure, line 476, in __call__
Module Products.Five.browser.pagetemplatefile, line 125, in __call__
Module Products.Five.browser.pagetemplatefile, line 59, in __call__
Module zope.pagetemplate.pagetemplate, line 113, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 343, in interpret
Module zope.tal.talinterpreter, line 583, in do_setLocal_tal
Module zope.tales.tales, line 696, in evaluate
URL: /Users/amantini/dev/raw-news/plumi4.3/src/collective.contentlicensing/collective/contentlicensing/browser/copyright_byline.pt
Line 1, Column 0
Expression: <PathExpr standard:u'view/getCitationInfo'>
Names:
{'args': (),
'container': <PlumiVideo at /Plumi/Members/admin/videos/test>,
'context': <PlumiVideo at /Plumi/Members/admin/videos/test>,
'default': <object object at 0x2467f0>,
'here': <PlumiVideo at /Plumi/Members/admin/videos/test>,
'loop': {},
'nothing': None,
'options': {},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xa2242a0>,
'request': <HTTPRequest, URL=http://localhost:8080/Plumi/Members/admin/videos/test/video_view>,
'root': <Application at >,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x6f3be50>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>,
'view': <Products.Five.metaclass.SimpleViewClass from /Users/amantini/dev/raw-news/plumi4.3/src/collective.contentlicensing/collective/contentlicensing/browser/copyright_byline.pt object at 0x9c38c90>,
'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x9c38c10>}
Module zope.tales.expressions, line 217, in __call__
Module Products.PageTemplates.Expressions, line 155, in _eval
Module Products.PageTemplates.Expressions, line 117, in render
Module collective.contentlicensing.browser.copyrightbyline, line 100, in getCitationInfo
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment