[Zope] anyone seen these errors with Zope 2.11.1?

Dieter Maurer dieter at handshake.de
Fri Oct 3 03:58:07 EDT 2008


Chris Withers wrote at 2008-10-2 07:57 +0100:
>Dieter Maurer wrote:
>> Chris Withers wrote at 2008-9-30 13:45 +0100:
>>> I recently ugpraded to Zope 2.11.1 and now get the following errors 
>>> every so often:
>>> ...
>>>   Module Products.PageTemplates.unicodeconflictresolver, line 69, in 
>>> resolve
>>>   Module zope.publisher.http, line 931, in getPreferredCharsets
>>> ValueError: too many values to unpack
>> 
>> Read "https://bugs.launchpad.net/zope2/+bug/254570"
>> to learn about more reasons to get rid of the
>> "PreferedCharsetUnicodeConflictResolver".
>> 
>> "https://bugs.launchpad.net/zope2/+bug/160968" is another bug
>> indicating that it is best to avoid the "getPreferredCharset" altogether.
>
>Well, that's nice and all, but how do I *not* use 
>PreferedCharsetUnicodeConflictResolver or getPreferredCharset?

You override this registration found in "Products/PageTemplates/configure.zcml":

  <utility
      provides="Products.PageTemplates.interfaces.IUnicodeEncodingConflictResolver"
      component="Products.PageTemplates.unicodeconflictresolver.PreferredCharsetResolver"
      />



-- 
Dieter


More information about the Zope mailing list