Re: [Zope] Annoying when objectValues() doesn't work
--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 :-) Andreas pgplCurBNuW8z.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] Annoying when objectValues() doesn't work
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 -- 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 )
Re: [Zope] Annoying when objectValues() doesn't work
+---[ 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) -- Andrew Milton [EMAIL PROTECTED] ___ 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] Annoying when objectValues() doesn't work
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. -- 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 )
Re: [Zope] Annoying when objectValues() doesn't work
--On 3. Juli 2008 16:01:53 +0100 Peter Bengtsson [EMAIL PROTECTED] wrote: 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 Peter, you know that you can look at the code and check what's going on :-) Andreas pgpyua5i8WtfV.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] Annoying when objectValues() doesn't work
+---[ 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.. -- Andrew Milton [EMAIL PROTECTED] ___ 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] Annoying when objectValues() doesn't work
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 )