2008/7/3 Andrew Milton <[EMAIL PROTECTED]>: > +-------[ Peter Bengtsson ]---------------------- > | 2008/7/3 Andrew Milton <[EMAIL PROTECTED]>: > | > +-------[ Peter Bengtsson ]---------------------- > | > | 2008/7/3 Andreas Jung <[EMAIL PROTECTED]>: > | > | > > | > | > > | > | > --On 3. Juli 2008 15:41:52 +0100 Peter Bengtsson <[EMAIL PROTECTED]> > wrote: > | > | >> > | > | >> I'm getting an AssertionError on this!!! > | > | >> After having used objectValues() for so many many years without much > | > | >> trouble my confidence in it just dropped. > | > | > > | > | > After years of Zope, you know that we need a full traceback :-) > | > | > > | > | > | > | The traceback will just say that the AssertionError happened. It > | > | doesn't mention anything interesting. > | > | > | > | Traceback (innermost last): > | > | Module ZPublisher.Publish, line 101, in publish > | > | Module ZPublisher.mapply, line 88, in mapply > | > | Module ZPublisher.Publish, line 39, in call_object > | > | Module Products.ExternalMethod.ExternalMethod, line 225, in __call__ > | > | - __traceback_info__: ((<CMFSite instance at 9b924a0>,), {}, None) > | > | Module > /home/peterbe/virtualenvzope/Gosh/zope278/Products/SeamusCore/Extensions/wf_script_despatcher.py, > | > | line 41, in workflowscripts2methods > | > | AssertionError > | > > | > It does tell you the script and the line of the External Method that is > | > causing the problem when being instanced via _getOb() (from > | > objectValues) > | > > | I know. That was the script I showed and the code only has one obvious > | assert statement. That was my code the assert statement. The point is, > | it shouldn't happen, ever. > > Except CMFSite is calling it according to your traceback.. >
CMFSite is the type of the container that holds the External Method that runs that stuff. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com _______________________________________________ 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 )