[Zope3-dev] WG: zope3 trunk test.py errors / z3checkins

Roger ineichen dev at projekt01.ch
Sat Jul 10 18:52:42 EDT 2004


Some test error reported from a mac user,
they also fail on windows XP.

Regards
Roger Ineichen
_____________________________
END OF MESSAGE 

> -----Ursprüngliche Nachricht-----
> Von: Marko Karppinen [mailto:marko at karppinen.fi] 
> Gesendet: Sonntag, 11. Juli 2004 00:46
> An: roger at projekt01.ch
> Betreff: zope3 trunk test.py errors
> 
> 
> ======================================================================
> ERROR: test_createAndAdd 
> (z3checkins.tests.test_message.TestMessageUpload)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>    File "/Users/mka/Zope3/src/z3checkins/tests/test_message.py", line 
> 405, in test_createAndAdd
>      view.createAndAdd({'data': 'Ipsum suum'})
>    File "/Users/mka/Zope3/src/z3checkins/message.py", line 355, in 
> createAndAdd
>      parser = getUtility(IMessageParser, context=self.context)
>    File "/Users/mka/Zope3/src/zope/component/__init__.py", 
> line 76, in 
> getUtility
>      return getService(Utilities, 
> context=context).getUtility(interface, 
> name)
>    File "/Users/mka/Zope3/src/zope/component/__init__.py", 
> line 68, in 
> getService
>      return getServices(context).getService(name)
>    File "/Users/mka/Zope3/src/zope/component/__init__.py", 
> line 63, in 
> getServices
>      raise ComponentLookupError(*error.args)
> ComponentLookupError: ('Could not adapt', 
> <z3checkins.tests.test_message.AddingStub instance at 0x3e5f3a0>, 
> <InterfaceClass zope.component.interfaces.IServiceService>)
> 
> ======================================================================
> ERROR: test_createAndAdd_mbox 
> (z3checkins.tests.test_message.TestMessageUpload)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>    File "/Users/mka/Zope3/src/z3checkins/tests/test_message.py", line 
> 419, in test_createAndAdd_mbox
>      view.createAndAdd({'data': data})
>    File "/Users/mka/Zope3/src/z3checkins/message.py", line 355, in 
> createAndAdd
>      parser = getUtility(IMessageParser, context=self.context)
>    File "/Users/mka/Zope3/src/zope/component/__init__.py", 
> line 76, in 
> getUtility
>      return getService(Utilities, 
> context=context).getUtility(interface, 
> name)
>    File "/Users/mka/Zope3/src/zope/component/__init__.py", 
> line 68, in 
> getService
>      return getServices(context).getService(name)
>    File "/Users/mka/Zope3/src/zope/component/__init__.py", 
> line 63, in 
> getServices
>      raise ComponentLookupError(*error.args)
> ComponentLookupError: ('Could not adapt', 
> <z3checkins.tests.test_message.AddingStub instance at 0x3e6c238>, 
> <InterfaceClass zope.component.interfaces.IServiceService>)
> 
> ======================================================================
> ERROR: test_createAndAdd_mbox_with_dupes 
> (z3checkins.tests.test_message.TestMessageUpload)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>    File "/Users/mka/Zope3/src/z3checkins/tests/test_message.py", line 
> 436, in test_createAndAdd_mbox_with_dupes
>      view.createAndAdd({'data': data})
>    File "/Users/mka/Zope3/src/z3checkins/message.py", line 355, in 
> createAndAdd
>      parser = getUtility(IMessageParser, context=self.context)
>    File "/Users/mka/Zope3/src/zope/component/__init__.py", 
> line 76, in 
> getUtility
>      return getService(Utilities, 
> context=context).getUtility(interface, 
> name)
>    File "/Users/mka/Zope3/src/zope/component/__init__.py", 
> line 68, in 
> getService
>      return getServices(context).getService(name)
>    File "/Users/mka/Zope3/src/zope/component/__init__.py", 
> line 63, in 
> getServices
>      raise ComponentLookupError(*error.args)
> ComponentLookupError: ('Could not adapt', 
> <z3checkins.tests.test_message.AddingStub instance at 0x3e6c238>, 
> <InterfaceClass zope.component.interfaces.IServiceService>)
> 
> ----------------------------------------------------------------------
> Ran 4810 tests in 450.556s
> 
> FAILED (errors=3)
> 
> 



More information about the Zope3-dev mailing list