decoding Unicode is not supported

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

decoding Unicode is not supported

Shaun@UMB
When clicking some items inside a course from the left nav, I get a Type Error:

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 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 861, in do_defineMacro
  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 536, in do_optTag_tal
  Module zope.tal.talinterpreter, line 525, in do_optTag
  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 861, in do_defineMacro
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
  Module zope.tales.tales, line 696, in evaluate
   - URL: file:/opt/educommons-umb/Zope-2.10.5/web/Products/ContentLicensing/skins/ContentLicensing/document_view.pt
   - Line 11, Column 4
   - Expression: <PathExpr standard:u'here/getText'>
   - Names:
      {'container': <PloneSite at /eduCommons>,
       'context': <ATDocument at /eduCommons/environmental-earth-and-ocean-sciences/eeos-611-applied-statistics/movies>,
       'default': ,
       'here': <ATDocument at /eduCommons/environmental-earth-and-ocean-sciences/eeos-611-applied-statistics/movies>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x1beff6ec>,
       'request': <HTTPRequest, URL=http://ocw.umb.edu:8080/eduCommons/environmental-earth-and-ocean-sciences/eeos-611-applied-statistics/movies/document_view>,
       'root': <Application at >,
       'template': <FSPageTemplate at /eduCommons/document_view used for /eduCommons/environmental-earth-and-ocean-sciences/eeos-611-applied-statistics/movies>,
       'traverse_subpath': [],
       'user': <PloneUser 'administrator'>}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 161, in _eval
  Module Products.PageTemplates.Expressions, line 123, in render
  Module Products.Archetypes.ClassGen, line 56, in generatedAccessor
  Module wicked.fieldevent, line 29, in render
  Module zope.event, line 23, in notify
  Module zope.component.event, line 26, in dispatch
  Module zope.component._api, line 130, in subscribers
  Module zope.component.registry, line 290, in subscribers
  Module zope.interface.adapter, line 535, in subscribers
  Module wicked.fieldevent, line 16, in notifyFieldEvent
  Module zope.component._api, line 101, in getMultiAdapter
  Module zope.component._api, line 114, in queryMultiAdapter
  Module zope.component.registry, line 206, in queryMultiAdapter
  Module zope.interface.adapter, line 482, in queryMultiAdapter
  Module wicked.fieldevent.meta, line 78, in field_value
  Module Products.Archetypes.Field, line 1383, in get
  Module Products.Archetypes.BaseUnit, line 111, in transform
TypeError: decoding Unicode is not supported

The files that are contained (for example .pdf) are able to be opened fine if I go to "Contents" within a course. But the holder pages (appear on the left nav, for example <Exams>, <Lecture Notes>, <Movies> throw these errors for some holder pages within a course, but not all holder pages within a course.

Any advice on what may cause these errors- or how to access these resources? Because I cannot see the HTML for these pages (due to the above error), I can't see if there maybe something inside them causing this error.

Thanks!
Shaun