2008/7/3 Andrew Milton <akm@theinternet.com.au>:
+-------[ Peter Bengtsson ]---------------------- | 2008/7/3 Andreas Jung <lists@zopyx.com>: | > | > | > --On 3. Juli 2008 15:41:52 +0100 Peter Bengtsson <peter@fry-it.com> 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. -- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com