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>                
__________________________________________________________________________________
Request URL
http://edgy.media.mit.edu:8080/8/kupudrawers/drawer.xsl
Exception Type
RuntimeError
Exception Value
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):

  • Module ZPublisher.Publish, line 114, in publish
  • Module ZPublisher.mapply, line 88, in mapply
  • Module ZPublisher.Publish, line 40, in call_object
  • Module Shared.DC.Scripts.Bindings, line 311, in __call__
  • Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  • Module Products.CMFCore.FSPageTemplate, line 195, in _exec
  • Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
  • Module Products.PageTemplates.PageTemplate, line 104, in pt_render
    <FSPageTemplate at /8/kupudrawers/drawer.xsl>
  • Module TAL.TALInterpreter, line 206, in __call__
  • Module TAL.TALInterpreter, line 250, in interpret
  • Module TAL.TALInterpreter, line 666, in do_rawtextColumn
  • Module Products.UnicodeErrorDetector.patches, line 25, in write
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>

  • Zope version: (Zope 2.8.7-final, python 2.3.5, linux2)
  • Python version: 2.3.5 (#1, Jun 1 2005, 01:19:18) [GCC 3.4.3 20050227 (Red Hat 3.4.3-22.fc3)]
  • System Platform: linux2
  • SOFTWARE_HOME: /opt/lib/python
  • INSTANCE_HOME: /opt
  • CLIENT_HOME: /opt/var

  • Installed Products
     

    Product Version at Install time Product version
    ATContentTypes 1.0.5-final 1.0.5-final
    ATPhoto 1.0-alpha1 build 53 1.0-alpha1 build 53
    ATReferenceBrowserWidget 1.4 1.4
    AddRemoveWidget 1.0 beta 2 svn/unreleased 1.0 beta 2 svn/unreleased
    Archetypes 1.3.9-final 1.3.9-final

    CMFActionIcons
    CMF-1.5.6

    CMFCalendar
    CMF-1.5.6

    CMFFormController 1.0.7 1.0.7
    DataGridField 1.0 beta 6 svn/unreleased 1.0 beta 6 svn/unreleased

    GroupUserFolder 3.52 3.52
    LinguaPlone 0.9.0 - $Revision: 4895 $ 0.9.0 - $Revision: 4895 $
    MimetypesRegistry 1.3.8-final04 1.3.8-final04
    PloneArticle 3.2.2 3.2.2
    PloneLanguageTool 1.0 1.0
    Poi 1.0rc2 svn/unreleased build 2 1.0rc2 svn/unreleased build 2
    PortalTransforms 1.3.10-final 1.3.10-final
    ResourceRegistries 1.2.2 1.2.2
    intelligenttext 1.0 beta 1 1.0 beta 1
    kupu kupu 1.3.7-plone kupu 1.3.7-plone



    -- 
    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
    

    Reply via email to