[Zope] Function sequence.sort

Jonathan dev101 at magma.ca
Mon Jun 4 10:13:03 EDT 2007


----- Original Message ----- 
From: "julian" <jules12af at aol.com>
To: <zope at zope.org>
Sent: Monday, June 04, 2007 9:58 AM
Subject: [Zope] Function sequence.sort


> Hi, I have a problem with a script that run with zope2.7. This same script 
> don't run with zope 2.9 ????
>
> My error :
> ----------------------------------------------------------------------
> 2007-06-04T15:31:05 ERROR Zope.SiteErrorLog 
> http://zope.mysite.com:17673/SITES/plone_site/vie-quotidienne/ind
> ex_html/ecoles
> Traceback (innermost last):
>   Module ZPublisher.Publish, line 115, in publish
>   Module ZPublisher.mapply, line 88, in mapply
>   Module ZPublisher.Publish, line 41, in call_object
>   Module Shared.DC.Scripts.Bindings, line 311, in __call__
>   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
>   Module Products.PythonScripts.PythonScript, line 325, in _exec
>   Module None, line 13, in ecoles
>    - <PythonScript at /SITES/plone_site/vie-quotidienne/index_html/ecoles>
>    - Line 13
>   Module DocumentTemplate.sequence.SortEx, line 121, in sort
> TypeError: mybrains.__cmp__(x,y) requires y to be a 'mybrains', not a 
> 'ImplicitAcquirerWrapper'

Have a look at this:

http://zwiki.org/1145MybrainsCmpErrorWithRecentChangesSearchOnZope28/diff


Jonathan 



More information about the Zope mailing list