[Zope3-dev] Failures with NewsSite product

Ulrich Eck ueck@net-labs.de
10 Apr 2003 20:37:05 +0200


Hi Barry,

did you install the workflow-package ??

it's temporarily located at cvs.zope.org/Packages3/workflow
follow the provided README.txt for install instructions.

i'm trying to get it into cvs-head asap .. but i still fight
with the fast changing things in z3.

i hope to finish my work beginning of next week
and then check the stuff in.

cheers

Ulrich Eck

On Thu, 2003-04-10 at 18:35, Barry A. Warsaw wrote:
> I did a checkout of all the Zope3 products, and I'm getting the
> following two failures when running the test suite.  Can anybody fix
> these?  BTW, I'm working on fixing the i18n job board.
> 
> -Barry
> 
> ======================================================================
> ERROR: test_create (zopeproducts.NewsSite.tests.test_newssite.TestNewsSite)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/barry/projects/zope3/build/lib.linux-i686-2.2/zopeproducts/NewsSite/tests/test_newssite.py", line 47, in test_create
>     newssite = self._makeOne()
>   File "/home/barry/projects/zope3/build/lib.linux-i686-2.2/zopeproducts/NewsSite/tests/test_newssite.py", line 44, in _makeOne
>     return self._getTargetClass()()
>   File "/home/barry/projects/zope3/build/lib.linux-i686-2.2/zopeproducts/NewsSite/tests/test_newssite.py", line 39, in _getTargetClass
>     from zopeproducts.NewsSite.newssite import NewsSite
>   File "/home/barry/projects/zope3/build/lib.linux-i686-2.2/zodb/code/module.py", line 267, in __import__
>     return self._saved_import(name, globals, locals, fromlist)
>   File "/home/barry/projects/zope3/build/lib.linux-i686-2.2/zodb/code/tests/test_module.py", line 84, in __import__
>     return self._saved_import(name, globals, locals, fromlist)
>   File "/home/barry/projects/zope3/build/lib.linux-i686-2.2/zodb/code/tests/test_module.py", line 84, in __import__
>     return self._saved_import(name, globals, locals, fromlist)
>   File "/home/barry/projects/zope3/build/lib.linux-i686-2.2/zopeproducts/NewsSite/newssite.py", line 29, in ?
>     from zope.app.browser.workflow.stateful.interfaces import IContentFilterAdapter
>   File "/home/barry/projects/zope3/build/lib.linux-i686-2.2/zodb/code/module.py", line 267, in __import__
>     return self._saved_import(name, globals, locals, fromlist)
>   File "/home/barry/projects/zope3/build/lib.linux-i686-2.2/zodb/code/tests/test_module.py", line 84, in __import__
>     return self._saved_import(name, globals, locals, fromlist)
>   File "/home/barry/projects/zope3/build/lib.linux-i686-2.2/zodb/code/tests/test_module.py", line 84, in __import__
>     return self._saved_import(name, globals, locals, fromlist)
> ImportError: No module named workflow.stateful.interfaces
> 
> ======================================================================
> ERROR: test_create (zopeproducts.NewsSite.tests.test_newssiteview.TestNewsSiteView)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/barry/projects/zope3/build/lib.linux-i686-2.2/zopeproducts/NewsSite/tests/test_newssiteview.py", line 88, in test_create
>     newssite = self._makeOne()
>   File "/home/barry/projects/zope3/build/lib.linux-i686-2.2/zopeproducts/NewsSite/tests/test_newssiteview.py", line 85, in _makeOne
>     return self._getTargetClass()(context, request, *args, **kw)
>   File "/home/barry/projects/zope3/build/lib.linux-i686-2.2/zopeproducts/NewsSite/tests/test_newssiteview.py", line 80, in _getTargetClass
>     from zopeproducts.NewsSite.newssite import NewsSiteView
> ImportError: cannot import name NewsSiteView
> 
> ----------------------------------------------------------------------
> 
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-dev