|
Hi all, I've searched around for this but I've not found anything
obvious. Essentially, any time I click the edit tab, I get a browser error [site_root]/kupudrawers/drawer.xsl:500 I have a small instance for group collaboration, including translations; it ran for a year but seems to have broken recently, I'm sure it's because I've been sloppy. I suspect it might have to do with internationalization, unable to render unicode characters, but after trying to upgrade to 2.1.3 and pare things down, it's cropping up in Kupu. Just to check, I can create a brand new Plone site with no products, and it will be born broken. The traceback seems to lead to the TALInterpreter -- this is after hitting "edit" on the default front page of a brand new site. I don't know enough about unicode or internationalization in z/p to know where to start. Here's the logtail and debug info -- please let me know if this is fixable -- and thanks in advance: _________________________________________________________________________________ ------ 2006-09-04T04:58:27 ERROR Zope.SiteErrorLog http://edgy.media.mit.edu:8080/8/kupudrawers/drawer.xsl Traceback (most recent call last): File "/opt/lib/python/ZPublisher/Publish.py", line 114, in publish request, bind=1) File "/opt/lib/python/ZPublisher/mapply.py", line 88, in mapply if debug is not None: return debug(object,args,context) File "/opt/lib/python/ZPublisher/Publish.py", line 40, in call_object result=apply(object,args) # Type s<cr> to step into published object. File "/opt/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__ return self._bindAndExec(args, kw, None) File "/opt/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec return self._exec(bound_data, args, kw) File "/opt/Products/CMFCore/FSPageTemplate.py", line 195, in _exec result = self.pt_render(extra_context=bound_names) File "/opt/Products/CMFCore/FSPageTemplate.py", line 134, in pt_render result = FSPageTemplate.inheritedAttribute('pt_render')( File "/opt/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render tal=not source, strictinsert=0)() File "/opt/lib/python/TAL/TALInterpreter.py", line 206, in __call__ self.interpret(self.program) File "/opt/lib/python/TAL/TALInterpreter.py", line 250, in interpret handlers[opcode](self, args) File "/opt/lib/python/TAL/TALInterpreter.py", line 666, in do_rawtextColumn self._stream_write(s) File "/opt/Products/UnicodeErrorDetector/patches.py", line 25, in write raise RuntimeError("Unicode in template output: %s %s <span style='color: red'>THIS IS WHERE THE ERROR IS</span>" % (s.encode('utf-8'),''.join(self.buflist))) RuntimeError: Unicode in template output: <?xml version="1.0" encoding="utf-8" ?> <!-- ############################################################################## # # Copyright (c) 2003-2005 Kupu Contributors. All rights reserved. # # This software is distributed under the terms of the Kupu # License. See LICENSE.txt for license text. For a list of Kupu # Contributors see CREDITS.txt. # ############################################################################## XSL transformation from Kupu Library XML to HTML for the image library drawer. $Id: imagedrawer.xsl 4105 2004-04-21 23:56:13Z guido $ --> <span style='color: red'>THIS IS WHERE THE ERROR IS</span> __________________________________________________________________________________
Traceback (innermost last):
-- Christopher Csikszentmihalyi Director, Computing Culture Group E15-020A | 20 Ames Street Cambridge | MA | USA | 02139-5275 Muriel Cooper Professor of Media Arts and Sciences MIT Media Lab [EMAIL PROTECTED] www.media.mit.edu/~csik |
_______________________________________________ Setup mailing list [email protected] http://lists.plone.org/mailman/listinfo/setup
