Re: [Zope] anyone seen these errors with Zope 2.11.1?

2008-10-03 Thread Andreas Jung



--On 2. Oktober 2008 07:57:14 +0100 Chris Withers <[EMAIL PROTECTED]> 
wrote:



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?

(incidentally, my specific issue was fixed here:
https://bugs.edge.launchpad.net/zope2/+bug/253362
just a shame it hasn't actually made it into a release yet :-( )




I'll care about the releases after the Plone conference. Sorry, I've been 
basically only on the road and on vacation since the end of August (and 
Plone conference still coming up :-))


Andreas

pgpnGRkYDiq00.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] anyone seen these errors with Zope 2.11.1?

2008-10-03 Thread Dieter Maurer
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":

  



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] anyone seen these errors with Zope 2.11.1?

2008-10-01 Thread Chris Withers
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?

(incidentally, my specific issue was fixed here:
https://bugs.edge.launchpad.net/zope2/+bug/253362
just a shame it hasn't actually made it into a release yet :-( )

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] anyone seen these errors with Zope 2.11.1?

2008-09-30 Thread Dieter Maurer
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.



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] anyone seen these errors with Zope 2.11.1?

2008-09-30 Thread Chris Withers
Hi All,

I recently ugpraded to Zope 2.11.1 and now get the following errors 
every so often:

   Module Products.PageTemplates.ZopePageTemplate, line 330, in _exec
   Module Products.PageTemplates.ZopePageTemplate, line 427, in pt_render
   Module Products.PageTemplates.PageTemplate, line 96, in pt_render
   Module zope.pagetemplate.pagetemplate, line 115, in pt_render
- Warning: Macro expansion failed
- Warning: zope.tal.taldefs.METALError: macro nesting limit (100) 
exceeded by u'template/macros/showbullet'
   Module zope.tal.talinterpreter, line 271, in __call__
   Module zope.tal.talinterpreter, line 346, in interpret
   Module zope.tal.talinterpreter, line 534, in do_optTag_tal
   Module zope.tal.talinterpreter, line 516, in no_tag
   Module zope.tal.talinterpreter, line 346, in interpret
   Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal
   Module Products.PageTemplates.Expressions, line 200, in evaluateStructure
   Module Products.PageTemplates.Expressions, line 232, in _handleText
   Module Products.PageTemplates.unicodeconflictresolver, line 69, in 
resolve
   Module zope.publisher.http, line 931, in getPreferredCharsets
ValueError: too many values to unpack

There appear to be two contradictory errors going on here:

1.
- Warning: Macro expansion failed
- Warning: zope.tal.taldefs.METALError: macro nesting limit (100) 
exceeded by u'template/macros/showbullet'

2.
   Module zope.publisher.http, line 931, in getPreferredCharsets
ValueError: too many values to unpack

Has anyone seen either?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )