[ZCM] [ZC] 2248/ 2 Reject "Zope 2.7 Unicode Decode Error"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Wed Nov 29 14:53:01 EST 2006
Issue #2248 Update (Reject) "Zope 2.7 Unicode Decode Error"
Status Rejected, Zope/bug medium
To followup, visit:
http://www.zope.org/Collectors/Zope/2248
==============================================================
= Reject - Entry #2 by ajung on Nov 29, 2006 2:52 pm
Status: Pending => Rejected
Use the Zope mailinglist for questions.
http://mail.zope.org/mailman/listinfo/zope
The bugtracker is not a helpdesk.
________________________________________
= Request - Entry #1 by tnally on Nov 29, 2006 2:48 pm
I'm 100% new to Zope. A complete Zope newbie.
When serving a web page, we get an error that involves the fetching and display of a document to the browser. Evidently, it's choking on some unicode when it's completely expecting plain ascii.
I'm assuming it's /usr/lib/zope2.7/lib/python/Products/PageTemplates/PageTemplate.py that's causing the problem as the data isn't somehow massaged correctly before processing arrives at /usr/lib/python2.3/StringIO.py line 203.
Do I need to post more information? Tell me .. and I'll get it.
If this comes down to a patch, I've no idea how-to apply a patch once I get my grubby mits upon the patch. So, I'll need a bit of help with that as well.
If I've posted this in the wrong place.. please forgive me and point me to the right place that I might ask the proper ones to help me.
Thanks a lot .. and thanks in advance
Tyler
====================TRACEBACK===============================
2006-11-29T11:03:37 ERROR(200) SiteError http://www.teamhancock.com/help/bb-install
Traceback (most recent call last):
File "/usr/lib/zope2.7/lib/python/ZPublisher/Publish.py", line 101, in publish
request, bind=1)
File "/usr/lib/zope2.7/lib/python/ZPublisher/mapply.py", line 88, in mapply
if debug is not None: return debug(object,args,context)
File "/usr/lib/zope2.7/lib/python/ZPublisher/Publish.py", line 39, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/var/lib/zope2.7/instance/zeo/Products/CMFDefault/SkinnedFolder.py", line 80, in __call__
return view()
File "/usr/lib/zope2.7/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/zope2.7/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/var/lib/zope2.7/instance/zeo/Products/CMFCore/FSPageTemplate.py", line 191, in _exec
result = self.pt_render(extra_context=bound_names)
File "/var/lib/zope2.7/instance/zeo/Products/CMFCore/FSPageTemplate.py", line 124, in pt_render
result = FSPageTemplate.inheritedAttribute('pt_render')(
File "/usr/lib/zope2.7/lib/python/Products/PageTemplates/PageTemplate.py", line 97, in pt_render
return output.getvalue()
File "/usr/lib/python2.3/StringIO.py", line 203, in getvalue
self.buf += ''.join(self.buflist)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 501: ordinal not in range(128)
==============================================================
More information about the Zope-Collector-Monitor
mailing list