[Zope-CMF] Re: Tools as local utilities
Jens Vagelpohl
jens at dataflake.org
Sun Jan 21 10:09:41 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have now finished (well, finished awaiting feedback and help on one
item) the work on the "jens_tools_as_utilities" branch.
There's one set of test failures out of CMFActionIcons/tests/
test_exportimport that I can't quite interpret. I believe it has to
do with the way the tests are set up, but I'm not sure. See traceback
below.
Other than that I have one unrelated failure in the GS tests
themselves and some logger messages coming through, all those smell
like test cleanup issues to me. If I run the GenericSetup tests by
themselves I don't get any failure.
jens
Error in test test_with_icon
(Products.CMFActionIcons.tests.test_exportimport.Test_exportActionIconsT
ool)
Traceback (most recent call last):
File "/usr/local/zope/src/Zope-2.10-branch/lib/python/Testing/
ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/usr/local/zope/210Instance/Products/CMFActionIcons/tests/
test_exportimport.py", line 163, in test_with_icon
exportActionIconsTool(context)
File "/usr/local/zope/210Instance/Products/CMFActionIcons/
exportimport.py", line 81, in exportActionIconsTool
text = mhc.generateXML()
File "/usr/local/zope/210Instance/Products/GenericSetup/utils.py",
line 283, in generateXML
return self._template(**kw)
File "/usr/local/zope/opt/Zope-2.10-branch/lib/python/Shared/DC/
Scripts/Bindings.py", line 313, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/local/zope/opt/Zope-2.10-branch/lib/python/Shared/DC/
Scripts/Bindings.py", line 350, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/local/zope/src/Zope-2.10-branch/lib/python/Products/
PageTemplates/PageTemplateFile.py", line 121, in _exec
return self.pt_render(extra_context=bound_names)
File "/usr/local/zope/src/Zope-2.10-branch/lib/python/Products/
PageTemplates/PageTemplate.py", line 89, in pt_render
return super(PageTemplate, self).pt_render(c, source=source)
File "/usr/local/zope/src/Zope-2.10-branch/lib/python/zope/
pagetemplate/pagetemplate.py", line 117, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/usr/local/zope/src/Zope-2.10-branch/lib/python/zope/tal/
talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/usr/local/zope/src/Zope-2.10-branch/lib/python/zope/tal/
talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/usr/local/zope/src/Zope-2.10-branch/lib/python/zope/tal/
talinterpreter.py", line 822, in do_loop_tal
iterator = self.engine.setRepeat(name, expr)
File "/usr/local/zope/src/Zope-2.10-branch/lib/python/zope/tales/
tales.py", line 682, in setRepeat
expr = self.evaluate(expr)
File "/usr/local/zope/src/Zope-2.10-branch/lib/python/zope/tales/
tales.py", line 696, in evaluate
return expression(self)
File "/usr/local/zope/src/Zope-2.10-branch/lib/python/zope/tales/
expressions.py", line 217, in __call__
return self._eval(econtext)
File "/usr/local/zope/src/Zope-2.10-branch/lib/python/Products/
PageTemplates/Expressions.py", line 122, in _eval
ob = self._subexprs[-1](econtext)
File "/usr/local/zope/src/Zope-2.10-branch/lib/python/zope/tales/
expressions.py", line 124, in _eval
ob = self._traverser(ob, element, econtext)
File "/usr/local/zope/src/Zope-2.10-branch/lib/python/Products/
PageTemplates/Expressions.py", line 74, in boboAwareZopeTraverse
request=request)
File "/usr/local/zope/src/Zope-2.10-branch/lib/python/zope/
traversing/adapters.py", line 161, in traversePathElement
raise TraversalError('No traversable adapter found', obj)
TraversalError: ('No traversable adapter found',
<Products.CMFActionIcons.exportimport.ActionIconsToolExportConfigurator
object at 0x3782510>)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFFs4I1RAx5nvEhZLIRAloCAJ9SbNKJ9lNOFUociwIuPJhxppJrOgCfWD1U
4yiRcQ2IlXu2mPSc5IWaALw=
=/Cbt
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list