[Testbot] FAILED (failures=7, errors=4) : AT-trunk Plone-trunk Zope-2.11 Python-2.4.4
Archetypes Tests
plone-tests at epy.co.at
Mon Oct 6 04:42:47 UTC 2008
Archetypes Tests : FAILED (failures=7, errors=4)
AT-trunk Plone-trunk Zope-2.11 Python-2.4.4
Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope211/test.py -q -1 --config-file etc/zope.conf --package Products.Archetypes --package Products.MimetypesRegistry --package Products.PortalTransforms --package Products.validation
Failed to import ZPsycopgDA
Failed to import ZMySQLDA
Parsing /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/etc/zope.conf
Running unit tests:
Ran 24 tests with 0 failures and 0 errors in 27.477 seconds.
Running Products.CMFTestCase.layer.ZCML tests:
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.852 seconds.
Set up Products.CMFTestCase.layer.ZCML in 5.629 seconds.
Ran 72 tests with 0 failures and 0 errors in 3.275 seconds.
Running Products.CMFTestCase.layer.CMFSite tests:
Set up Products.CMFTestCase.layer.CMFSite in 4.720 seconds.
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_classgen.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_annotation.AnnDummy.manage_afterAdd is discouraged. You should use event subscribers instead.
DeprecationWarning)
Error in test testRendering (Products.Archetypes.tests.test_cmfessentials.TestPermissions)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/test_cmfessentials.py", line 69, in testRendering
self.failUnless(isinstance(content(), basestring))
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/TemplateMixin.py", line 67, in __call__
return v(context, context.REQUEST)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFFormController/FSControllerPageTemplate.py", line 90, in __call__
return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFFormController/BaseControllerPageTemplate.py", line 31, in _call
return inherited_call(self, *args, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFCore/FSPageTemplate.py", line 216, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFCore/FSPageTemplate.py", line 155, in pt_render
result = FSPageTemplate.inheritedAttribute('pt_render')(
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/PageTemplate.py", line 98, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 861, in do_defineMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 957, in do_defineSlot
self.interpret(block)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 949, in do_defineSlot
self.interpret(slot)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 861, in do_defineMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 855, in do_condition
self.interpret(block)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 957, in do_defineSlot
self.interpret(block)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 855, in do_condition
self.interpret(block)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 824, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 586, in do_setLocal_tal
self.engine.setLocal(name, self.engine.evaluateValue(expr))
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tales/tales.py", line 696, in evaluate
return expression(self)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/Expressions.py", line 131, in _eval
ob = self._subexprs[-1](econtext)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tales/expressions.py", line 124, in _eval
ob = self._traverser(ob, element, econtext)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/Expressions.py", line 80, in boboAwareZopeTraverse
object = object.restrictedTraverse(name)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/Traversable.py", line 301, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/Traversable.py", line 269, in unrestrictedTraverse
raise e
AttributeError: plone_utils
Error in test test6734 (Products.Archetypes.tests.test_cmfessentials.TestFTICopy)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/test_cmfessentials.py", line 100, in test6734
browser.getLink('Folder contents').click()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/browser.py", line 402, in click
self.browser.mech_browser.follow_link(self.mech_link)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 448, in follow_link
return self.open(self.click_link(link, **kwds))
File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 177, in open
return self._mech_open(url, data)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_mechanize.py", line 202, in _mech_open
response = UserAgent.open(self, self.request, data)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/mechanize/_opener.py", line 235, in open
response = urlopen(self, req, data)
File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 376, in _open
'_open', req)
File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 79, in http_open
return self.do_open(PublisherConnection, req)
File "/usr/local/python2.4/lib/python2.4/urllib2.py", line 993, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testbrowser/testing.py", line 84, in request
self.response = self.caller(request_string, handle_errors)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Testing/ZopeTestCase/functional.py", line 40, in wrapped_func
return func(*args, **kw)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py", line 182, in http
debug=not handle_errors,
File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZPublisher/Test.py", line 199, in publish_module
response = publish(request, module_name, after_list, debug=debug)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZPublisher/Publish.py", line 150, in publish
sys.exc_info()[2],
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Zope2/App/startup.py", line 252, in __call__
f(client, REQUEST, t, v, traceback, error_log_url=error_log_url)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZPublisher/Publish.py", line 119, in publish
request, bind=1)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZPublisher/mapply.py", line 88, in mapply
if debug is not None: return debug(object,args,context)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/ZPublisher/Publish.py", line 42, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/browser/metaconfigure.py", line 417, in __call__
return self.index(self, *args, **kw)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 313, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Shared/DC/Scripts/Bindings.py", line 350, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/PageTemplateFile.py", line 126, in _exec
return self.pt_render(extra_context=bound_names)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/PageTemplate.py", line 98, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 891, in do_useMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 957, in do_defineSlot
self.interpret(block)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 521, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 949, in do_defineSlot
self.interpret(slot)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 534, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 516, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 346, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tal/talinterpreter.py", line 745, in do_insertStructure_tal
structure = self.engine.evaluateStructure(expr)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/Expressions.py", line 199, in evaluateStructure
text = super(ZopeContext, self).evaluateStructure(expr)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/tales/tales.py", line 696, in evaluate
return expression(self)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/browser/providerexpression.py", line 51, in __call__
provider.update()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/viewlet/manager.py", line 104, in update
viewlets = self.filter(viewlets)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/plone/app/viewletmanager/manager.py", line 32, in filter
storage = getUtility(IViewletSettingsStorage)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 207, in getUtility
raise ComponentLookupError(interface, name)
ComponentLookupError: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Portal: </title>
<link rel="stylesheet" type="text/css" href="http://nohost/cmf/zpt_stylesheet.css" />
</head>
<body>
<div>
<!-- hack around netscape 4.x to ensure table is solid -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<!-- Top bar -->
<table id="Masthead" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td id="PortalLogo">
<a href="http://nohost/cmf/"><img src="http://nohost/cmf/Zope_logo.gif" alt="Zope Logo" border="0" width="87" height="38" /></a>
</td>
<td id="PortalTitle">
<span>Portal</span>
</td>
<td id="NavBar">
<form action="http://nohost/cmf/search" method="get">
<a href="http://nohost/cmf/">home</a>
<a href="http://nohost/cmf/Members">members</a>
<a href="http://nohost/cmf/recent_news">news</a>
<a href="http://nohost/cmf/search_form">search</a>
<input name="SearchableText" size="16" />
<input type="image" name="go" value="go" src="http://nohost/cmf/go.gif" align="middle" />
</form>
</td>
</tr>
</table>
<!-- end topbar -->
</td>
</tr>
</table>
<!-- end NS4 hack -->
<!-- end top_bar-->
</div>
<div>
<!-- hack around netscape 4.x to ensure table is solid -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<!-- user_menu_bar -->
<table id="MemberActionsBox" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="ActionTitle">portal_owner</td>
<td class="ActionLink" align="right">
<a href="http://nohost/cmf/personalize_form">Preferences</a> |
<a href="http://nohost/cmf/logout">Log out</a>
</td>
</tr>
</table>
<!-- end user_menu_bar -->
</td>
</tr>
</table>
<!-- end NS4 hack -->
<!-- end user_menu_bar div-->
</div>
<div id="main_body">
<table class="Forematter" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="200px">
<!-- actions box -->
<table class="ContextActionsBox" width="100%" style="float: left;">
<!-- object actions -->
<tr class="ContextActionsRow">
<td class="ActionTitle">
<img src="http://nohost/cmf/cmf/folder_icon.gif" align="left" title="Type" alt="Folder" height="16" width="16" />
test_user_1_
</td>
</tr>
<tr class="ContextActionsRow">
<td class="ActionLink">
<span>
<a href="http://nohost/cmf/Members/test_user_1_">View</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/folder_edit_form">Edit</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/folder_localrole_form">Local Roles</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/folder_contents">Folder contents</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/synPropertiesForm">Syndication</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/edit-markers.html">Interfaces</a><br />
</span>
</td>
</tr>
<!-- workflow actions -->
<!-- folder actions -->
<!-- add actions -->
<tr class="ContextActionsRow">
<td class="ActionLink">
<span class="ObjectStatus">
Add...<br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++CMF%20BTree%20Folder">CMF BTree Folder</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++Document">Document</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++Favorite">Favorite</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++File">File</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++Folder">Folder</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++Image">Image</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++Link">Link</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++News%20Item">News Item</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++ATBIFolder">ATBIFolder</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++ComplexType">ComplexType</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++DDocument">Demo Doc</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++Fact">Fact</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++Refnode">Refnode</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++SimpleBTreeFolder">Simple BTree Folder</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++SimpleFile">Simple File Type</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++SimpleFolder">Simple Folder</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++SimpleProtectedType">SimpleProtectedType</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++SimpleType">Simple Type</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++MySimpleType">My Simple Type</a><br />
</span>
<span>
<a href="http://nohost/cmf/Members/test_user_1_/++add++MySimpleFolder">MySimpleFolder</a><br />
</span>
</td>
</tr>
<!-- global actions -->
<tr class="ContextActionsRow">
<td class="ActionLink">
<span>
<a href="http://nohost/cmf/members_manage_form">Manage members</a><br />
</span>
<span>
<a href="http://nohost/cmf/undo_form">Undo</a><br />
</span>
<span>
<a href="http://nohost/cmf/reconfig_form">Reconfigure Portal</a><br />
</span>
</td>
</tr>
</table>
<!-- end actions_box -->
</td>
<td width="16px"> </td>
<td id="ForematterCell">
<div id="Desktop">
<p id="Breadcrumbs">
<span><a href="http://nohost/cmf">root</a><span> / </span>
</span>
<span><a href="http://nohost/cmf/Members">Members</a><span> / </span>
</span>
<span><a href="http://nohost/cmf/Members/test_user_1_">test_user_1_</a>
</span>
</p>
<div>(<InterfaceClass plone.app.viewletmanager.interfaces.IViewletSettingsStorage>, '')</div>
<div>
<hr noshade />
<a href="http://nohost/cmf/error_log/showEntry?id=1223267604.540.439857583904">
Show Error Log Entry
</a>
</div>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
Failure in test /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/events.txt
Failed doctest test for events.txt
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/events.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/events.txt", line 35, in events.txt
Failed example:
handler.print_and_flush() #doctest: +ELLIPSIS
Differences (ndiff with -expected +actual):
- 9 events:...
? ^ ---
+ 10 events:
? ^^
+ [(<DDocument at a>,
+ <zope.app.event.objectevent.ObjectCreatedEvent object at 0x42a0a08c>),
+ (<DDocument at a>, <OFS.event.ObjectWillBeAddedEvent object at 0x42c0b30c>),
+ (<DDocument at /cmf/Members/test_user_1_/a>,
+ <Products.DCWorkflow.events.BeforeTransitionEvent object at 0x4311c1ac>),
+ (<DDocument at /cmf/Members/test_user_1_/a>,
+ <Products.DCWorkflow.events.AfterTransitionEvent object at 0x4311c58c>),
+ (<DDocument at /cmf/Members/test_user_1_/a>,
+ <zope.app.container.contained.ObjectAddedEvent object at 0x42c0b98c>),
+ (<DDocument at /cmf/Members/test_user_1_/a>,
+ <zope.app.event.objectevent.ObjectModifiedEvent object at 0x42c0b10c>),
+ (<DDocument at /cmf/Members/test_user_1_/a>,
+ <zope.app.event.objectevent.ObjectCreatedEvent object at 0x42c0b34c>),
+ (<DDocument at /cmf/Members/test_user_1_/a>,
+ <Products.DCWorkflow.events.BeforeTransitionEvent object at 0x42fdb46c>),
+ (<DDocument at /cmf/Members/test_user_1_/a>,
+ <Products.DCWorkflow.events.AfterTransitionEvent object at 0x42fdb4ac>),
+ (<DDocument at /cmf/Members/test_user_1_/a>,
+ <zope.app.container.contained.ObjectAddedEvent object at 0x4309978c>)]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/events.txt", line 71, in events.txt
Failed example:
print http(r"""
PUT /%s/some-document HTTP/1.1
Authorization: Basic %s:%s
Content-Type: text/plain; charset="utf-8"
Some Content
""" % ('/'.join(self.folder.getPhysicalPath()), user_name, user_password))
Differences (ndiff with -expected +actual):
- HTTP/1.1 201 Created
- ...
+ HTTP/1.1 500 Internal Server Error
+ Accept-Ranges: none
+ Connection: close
+ Content-Length: 7532
+ Content-Type: text/html; charset=utf-8
+ Date: Mon, 06 Oct 2008 04:33:33 GMT
+ <BLANKLINE>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+ <html>
+ <BLANKLINE>
+ <head>
+ <base href="http://localhost/cmf/Members/test_user_1_/some-document/" />
+ <BLANKLINE>
+ <title>Portal: </title>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <link rel="stylesheet" type="text/css" href="http://localhost/cmf/zpt_stylesheet.css" />
+ <BLANKLINE>
+ <BLANKLINE>
+ </head>
+ <BLANKLINE>
+ <body>
+ <BLANKLINE>
+ <div>
+ <BLANKLINE>
+ <!-- hack around netscape 4.x to ensure table is solid -->
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td>
+ <BLANKLINE>
+ <!-- Top bar -->
+ <table id="Masthead" width="100%" cellpadding="0" cellspacing="0" border="0">
+ <BLANKLINE>
+ <tr>
+ <td id="PortalLogo">
+ <a href="http://localhost/cmf/"><img src="http://localhost/cmf/Zope_logo.gif" alt="Zope Logo" border="0" width="87" height="38" /></a>
+ </td>
+ <BLANKLINE>
+ <td id="PortalTitle">
+ <span>Portal</span>
+ </td>
+ <BLANKLINE>
+ <td id="NavBar">
+ <form action="http://localhost/cmf/search" method="get">
+ <a href="http://localhost/cmf/">home</a>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members">members</a>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/recent_news">news</a>
+ <a href="http://localhost/cmf/search_form">search</a>
+ <BLANKLINE>
+ <input name="SearchableText" size="16" />
+ <input type="image" name="go" value="go" src="http://localhost/cmf/go.gif" align="middle" />
+ </form>
+ </td>
+ </tr>
+ <BLANKLINE>
+ </table>
+ <!-- end topbar -->
+ <BLANKLINE>
+ </td>
+ </tr>
+ </table>
+ <!-- end NS4 hack -->
+ <BLANKLINE>
+ <!-- end top_bar-->
+ </div>
+ <BLANKLINE>
+ <div>
+ <BLANKLINE>
+ <!-- hack around netscape 4.x to ensure table is solid -->
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td>
+ <BLANKLINE>
+ <!-- user_menu_bar -->
+ <table id="MemberActionsBox" width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="ActionTitle">test_user_1_</td>
+ <td class="ActionLink" align="right">
+ <BLANKLINE>
+ <a href="http://localhost/cmf/personalize_form">Preferences</a> |
+ <BLANKLINE>
+ <a href="http://localhost/cmf/logout">Log out</a> |
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/addtoFavorites">Add to favorites</a> |
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/folder_contents">My stuff</a>
+ </td>
+ </tr>
+ </table>
+ <!-- end user_menu_bar -->
+ <BLANKLINE>
+ </td>
+ </tr>
+ </table>
+ <!-- end NS4 hack -->
+ <BLANKLINE>
+ <!-- end user_menu_bar div-->
+ </div>
+ <BLANKLINE>
+ <div id="main_body">
+ <BLANKLINE>
+ <table class="Forematter" width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td width="200px">
+ <BLANKLINE>
+ <!-- actions box -->
+ <table class="ContextActionsBox" width="100%" style="float: left;">
+ <BLANKLINE>
+ <!-- object actions -->
+ <tr class="ContextActionsRow">
+ <BLANKLINE>
+ <td class="ActionTitle">
+ <BLANKLINE>
+ <img src="http://localhost/cmf/cmf/folder_icon.gif" align="left" title="Type" alt="Folder" height="16" width="16" />
+ <BLANKLINE>
+ test_user_1_
+ </td>
+ </tr>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <!-- workflow actions -->
+ <BLANKLINE>
+ <BLANKLINE>
+ <!-- folder actions -->
+ <tr class="ContextActionsRow">
+ <td class="ActionLink">
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/folder_contents">Folder contents</a><br />
+ </span>
+ </td>
+ </tr>
+ <BLANKLINE>
+ <!-- add actions -->
+ <tr class="ContextActionsRow">
+ <td class="ActionLink">
+ <span class="ObjectStatus">
+ Add...<br />
+ </span>
+ <BLANKLINE>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++CMF%20BTree%20Folder">CMF BTree Folder</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++Document">Document</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++Favorite">Favorite</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++File">File</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++Folder">Folder</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++Image">Image</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++Link">Link</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++News%20Item">News Item</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++ATBIFolder">ATBIFolder</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++ComplexType">ComplexType</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++DDocument">Demo Doc</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++Fact">Fact</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++Refnode">Refnode</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++SimpleBTreeFolder">Simple BTree Folder</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++SimpleFile">Simple File Type</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++SimpleFolder">Simple Folder</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++SimpleProtectedType">SimpleProtectedType</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++SimpleType">Simple Type</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++MySimpleType">My Simple Type</a><br />
+ </span>
+ </td>
+ </tr>
+ <BLANKLINE>
+ <!-- global actions -->
+ <tr class="ContextActionsRow">
+ <td class="ActionLink">
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/members_manage_form">Manage members</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/undo_form">Undo</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/reconfig_form">Reconfigure Portal</a><br />
+ </span>
+ </td>
+ </tr>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ </table>
+ <!-- end actions_box -->
+ <BLANKLINE>
+ </td>
+ <BLANKLINE>
+ <td width="16px"> </td>
+ <BLANKLINE>
+ <td id="ForematterCell">
+ <div id="Desktop">
+ <BLANKLINE>
+ <p id="Breadcrumbs">
+ <span><a href="http://localhost/cmf">root</a><span> / </span>
+ </span>
+ <span><a href="http://localhost/cmf/Members">Members</a><span> / </span>
+ </span>
+ <span><a href="http://localhost/cmf/Members/test_user_1_">test_user_1_</a>
+ </span>
+ </p>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <div>
+ <h2>Site Error</h2>
+ <BLANKLINE>
+ <p>An error was encountered while publishing this
+ resource.</p>
+ <BLANKLINE>
+ <p>
+ <strong>Error Type:
+ AttributeError
+ </strong>
+ <br />
+ <strong>Error Value:
+ portal_repository
+ </strong>
+ <br />
+ </p>
+ <BLANKLINE>
+ <hr noshade />
+ <BLANKLINE>
+ <p>Troubleshooting Suggestions</p>
+ <BLANKLINE>
+ <ul>
+ <BLANKLINE>
+ <li>The URL may be incorrect.</li>
+ <li>The parameters passed to this resource may be
+ incorrect.</li>
+ <li>A resource that this resource relies on may be
+ encountering an error.</li>
+ </ul>
+ <BLANKLINE>
+ <p>For more detailed information about the error, please
+ refer to the error log.
+ </p>
+ <BLANKLINE>
+ <p>If the error persists please contact the site
+ maintainer. Thank you for your patience.
+ </p>
+ <BLANKLINE>
+ </div>
+ <BLANKLINE>
+ <div>
+ <hr noshade />
+ <a href="http://localhost/cmf/error_log/showEntry?id=1223267613.440.641035315051">
+ Show Error Log Entry
+ </a>
+ </div>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ </div>
+ </td>
+ </tr>
+ </table>
+ <BLANKLINE>
+ </div>
+ <BLANKLINE>
+ </body>
+ </html>
+ <BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/events.txt", line 81, in events.txt
Failed example:
'some-document' in self.folder.objectIds()
Differences (ndiff with -expected +actual):
- True
+ False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/events.txt", line 84, in events.txt
Failed example:
print str(self.folder['some-document']['body'])
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest events.txt[30]>", line 1, in ?
print str(self.folder['some-document']['body'])
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 758, in __getitem__
raise KeyError, key
KeyError: 'some-document'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/events.txt", line 95, in events.txt
Failed example:
print http(r"""
PUT /%s/some-document HTTP/1.1
Authorization: Basic %s:%s
Content-Type: text/plain; charset="utf-8"
Some Other Content
""" % ('/'.join(self.folder.getPhysicalPath()), user_name, user_password))
Differences (ndiff with -expected +actual):
- HTTP/1.1 204 No Content
- ...
+ HTTP/1.1 500 Internal Server Error
+ Accept-Ranges: none
+ Connection: close
+ Content-Length: 7532
+ Content-Type: text/html; charset=utf-8
+ Date: Mon, 06 Oct 2008 04:33:33 GMT
+ <BLANKLINE>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+ <html>
+ <BLANKLINE>
+ <head>
+ <base href="http://localhost/cmf/Members/test_user_1_/some-document/" />
+ <BLANKLINE>
+ <title>Portal: </title>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <link rel="stylesheet" type="text/css" href="http://localhost/cmf/zpt_stylesheet.css" />
+ <BLANKLINE>
+ <BLANKLINE>
+ </head>
+ <BLANKLINE>
+ <body>
+ <BLANKLINE>
+ <div>
+ <BLANKLINE>
+ <!-- hack around netscape 4.x to ensure table is solid -->
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td>
+ <BLANKLINE>
+ <!-- Top bar -->
+ <table id="Masthead" width="100%" cellpadding="0" cellspacing="0" border="0">
+ <BLANKLINE>
+ <tr>
+ <td id="PortalLogo">
+ <a href="http://localhost/cmf/"><img src="http://localhost/cmf/Zope_logo.gif" alt="Zope Logo" border="0" width="87" height="38" /></a>
+ </td>
+ <BLANKLINE>
+ <td id="PortalTitle">
+ <span>Portal</span>
+ </td>
+ <BLANKLINE>
+ <td id="NavBar">
+ <form action="http://localhost/cmf/search" method="get">
+ <a href="http://localhost/cmf/">home</a>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members">members</a>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/recent_news">news</a>
+ <a href="http://localhost/cmf/search_form">search</a>
+ <BLANKLINE>
+ <input name="SearchableText" size="16" />
+ <input type="image" name="go" value="go" src="http://localhost/cmf/go.gif" align="middle" />
+ </form>
+ </td>
+ </tr>
+ <BLANKLINE>
+ </table>
+ <!-- end topbar -->
+ <BLANKLINE>
+ </td>
+ </tr>
+ </table>
+ <!-- end NS4 hack -->
+ <BLANKLINE>
+ <!-- end top_bar-->
+ </div>
+ <BLANKLINE>
+ <div>
+ <BLANKLINE>
+ <!-- hack around netscape 4.x to ensure table is solid -->
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td>
+ <BLANKLINE>
+ <!-- user_menu_bar -->
+ <table id="MemberActionsBox" width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="ActionTitle">test_user_1_</td>
+ <td class="ActionLink" align="right">
+ <BLANKLINE>
+ <a href="http://localhost/cmf/personalize_form">Preferences</a> |
+ <BLANKLINE>
+ <a href="http://localhost/cmf/logout">Log out</a> |
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/addtoFavorites">Add to favorites</a> |
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/folder_contents">My stuff</a>
+ </td>
+ </tr>
+ </table>
+ <!-- end user_menu_bar -->
+ <BLANKLINE>
+ </td>
+ </tr>
+ </table>
+ <!-- end NS4 hack -->
+ <BLANKLINE>
+ <!-- end user_menu_bar div-->
+ </div>
+ <BLANKLINE>
+ <div id="main_body">
+ <BLANKLINE>
+ <table class="Forematter" width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td width="200px">
+ <BLANKLINE>
+ <!-- actions box -->
+ <table class="ContextActionsBox" width="100%" style="float: left;">
+ <BLANKLINE>
+ <!-- object actions -->
+ <tr class="ContextActionsRow">
+ <BLANKLINE>
+ <td class="ActionTitle">
+ <BLANKLINE>
+ <img src="http://localhost/cmf/cmf/folder_icon.gif" align="left" title="Type" alt="Folder" height="16" width="16" />
+ <BLANKLINE>
+ test_user_1_
+ </td>
+ </tr>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <!-- workflow actions -->
+ <BLANKLINE>
+ <BLANKLINE>
+ <!-- folder actions -->
+ <tr class="ContextActionsRow">
+ <td class="ActionLink">
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/folder_contents">Folder contents</a><br />
+ </span>
+ </td>
+ </tr>
+ <BLANKLINE>
+ <!-- add actions -->
+ <tr class="ContextActionsRow">
+ <td class="ActionLink">
+ <span class="ObjectStatus">
+ Add...<br />
+ </span>
+ <BLANKLINE>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++CMF%20BTree%20Folder">CMF BTree Folder</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++Document">Document</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++Favorite">Favorite</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++File">File</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++Folder">Folder</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++Image">Image</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++Link">Link</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++News%20Item">News Item</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++ATBIFolder">ATBIFolder</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++ComplexType">ComplexType</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++DDocument">Demo Doc</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++Fact">Fact</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++Refnode">Refnode</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++SimpleBTreeFolder">Simple BTree Folder</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++SimpleFile">Simple File Type</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++SimpleFolder">Simple Folder</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++SimpleProtectedType">SimpleProtectedType</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++SimpleType">Simple Type</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/++add++MySimpleType">My Simple Type</a><br />
+ </span>
+ </td>
+ </tr>
+ <BLANKLINE>
+ <!-- global actions -->
+ <tr class="ContextActionsRow">
+ <td class="ActionLink">
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/members_manage_form">Manage members</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/undo_form">Undo</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/reconfig_form">Reconfigure Portal</a><br />
+ </span>
+ </td>
+ </tr>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ </table>
+ <!-- end actions_box -->
+ <BLANKLINE>
+ </td>
+ <BLANKLINE>
+ <td width="16px"> </td>
+ <BLANKLINE>
+ <td id="ForematterCell">
+ <div id="Desktop">
+ <BLANKLINE>
+ <p id="Breadcrumbs">
+ <span><a href="http://localhost/cmf">root</a><span> / </span>
+ </span>
+ <span><a href="http://localhost/cmf/Members">Members</a><span> / </span>
+ </span>
+ <span><a href="http://localhost/cmf/Members/test_user_1_">test_user_1_</a>
+ </span>
+ </p>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <div>
+ <h2>Site Error</h2>
+ <BLANKLINE>
+ <p>An error was encountered while publishing this
+ resource.</p>
+ <BLANKLINE>
+ <p>
+ <strong>Error Type:
+ AttributeError
+ </strong>
+ <br />
+ <strong>Error Value:
+ portal_repository
+ </strong>
+ <br />
+ </p>
+ <BLANKLINE>
+ <hr noshade />
+ <BLANKLINE>
+ <p>Troubleshooting Suggestions</p>
+ <BLANKLINE>
+ <ul>
+ <BLANKLINE>
+ <li>The URL may be incorrect.</li>
+ <li>The parameters passed to this resource may be
+ incorrect.</li>
+ <li>A resource that this resource relies on may be
+ encountering an error.</li>
+ </ul>
+ <BLANKLINE>
+ <p>For more detailed information about the error, please
+ refer to the error log.
+ </p>
+ <BLANKLINE>
+ <p>If the error persists please contact the site
+ maintainer. Thank you for your patience.
+ </p>
+ <BLANKLINE>
+ </div>
+ <BLANKLINE>
+ <div>
+ <hr noshade />
+ <a href="http://localhost/cmf/error_log/showEntry?id=1223267613.750.429251968472">
+ Show Error Log Entry
+ </a>
+ </div>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ </div>
+ </td>
+ </tr>
+ </table>
+ <BLANKLINE>
+ </div>
+ <BLANKLINE>
+ </body>
+ </html>
+ <BLANKLINE>
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/events.txt", line 105, in events.txt
Failed example:
print str(self.folder['some-document']['body'])
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest events.txt[33]>", line 1, in ?
print str(self.folder['some-document']['body'])
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 758, in __getitem__
raise KeyError, key
KeyError: 'some-document'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/events.txt", line 108, in events.txt
Failed example:
handler.print_and_flush() #doctest: +ELLIPSIS
Differences (ndiff with -expected +actual):
- 1 events:
+ 17 events:
? +
+ [(<DDocument at some-document>,
+ <zope.app.event.objectevent.ObjectCreatedEvent object at 0x42f365ac>),
+ (<DDocument at some-document>,
+ <OFS.event.ObjectWillBeAddedEvent object at 0x42f365cc>),
- [(<DDocument at /cmf/Members/test_user_1_/some-document>,
? ^
+ (<DDocument at /cmf/Members/test_user_1_/some-document>,
? ^
+ <Products.DCWorkflow.events.BeforeTransitionEvent object at 0x42cf4dec>),
+ (<DDocument at /cmf/Members/test_user_1_/some-document>,
+ <Products.DCWorkflow.events.AfterTransitionEvent object at 0x42cf4a0c>),
+ (<DDocument at /cmf/Members/test_user_1_/some-document>,
+ <zope.app.container.contained.ObjectAddedEvent object at 0x42f360cc>),
+ (<DDocument at /cmf/Members/test_user_1_/some-document>,
+ <zope.app.event.objectevent.ObjectModifiedEvent object at 0x42f361ac>),
+ (<DDocument at /cmf/Members/test_user_1_/some-document>,
+ <zope.app.event.objectevent.ObjectCreatedEvent object at 0x42f8014c>),
+ (<DDocument at /cmf/Members/test_user_1_/some-document>,
+ <Products.DCWorkflow.events.BeforeTransitionEvent object at 0x42e9958c>),
+ (<DDocument at /cmf/Members/test_user_1_/some-document>,
+ <Products.DCWorkflow.events.AfterTransitionEvent object at 0x42e99f0c>),
+ (<DDocument at /cmf/Members/test_user_1_/some-document>,
+ <zope.app.container.contained.ObjectAddedEvent object at 0x42ff6fec>),
+ (<DDocument at /cmf/Members/test_user_1_/some-document>,
+ <OFS.event.ObjectWillBeRemovedEvent object at 0x430cc12c>),
+ (<DDocument at /cmf/Members/test_user_1_/some-document>,
+ <zope.app.container.contained.ObjectRemovedEvent object at 0x430ccdec>),
+ (<DDocument at some-document>,
+ <OFS.event.ObjectWillBeAddedEvent object at 0x42e92d8c>),
+ (<DDocument at /cmf/Members/test_user_1_/some-document>,
+ <Products.DCWorkflow.events.BeforeTransitionEvent object at 0x42f8002c>),
+ (<DDocument at /cmf/Members/test_user_1_/some-document>,
+ <Products.DCWorkflow.events.AfterTransitionEvent object at 0x42f8020c>),
+ (<DDocument at /cmf/Members/test_user_1_/some-document>,
+ <zope.app.container.contained.ObjectAddedEvent object at 0x430ccc0c>),
+ (<DDocument at /cmf/Members/test_user_1_/some-document>,
- <Products.Archetypes.event.WebDAVObjectEditedEvent object at ...>)]
? ^^ ^^^
+ <Products.Archetypes.event.WebDAVObjectInitializedEvent object at 0x42f360ac>)]
? ^^ +++++ ^^^^^^^^^^
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/events.txt", line 121, in events.txt
Failed example:
print http(r"""
MKCOL /%s/some-folder HTTP/1.1
Authorization: Basic %s:%s
""" % ('/'.join(self.folder.f1.getPhysicalPath()), user_name, user_password))
Differences (ndiff with -expected +actual):
- HTTP/1.1 201 Created
- ...
+ HTTP/1.1 500 Internal Server Error
+ Accept-Ranges: none
+ Connection: close
+ Content-Length: 7701
+ Content-Type: text/html; charset=utf-8
+ Date: Mon, 06 Oct 2008 04:33:33 GMT
+ <BLANKLINE>
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+ <html>
+ <BLANKLINE>
+ <head>
+ <base href="http://localhost/cmf/Members/test_user_1_/f1/some-folder/" />
+ <BLANKLINE>
+ <title>Portal: </title>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <link rel="stylesheet" type="text/css" href="http://localhost/cmf/zpt_stylesheet.css" />
+ <BLANKLINE>
+ <BLANKLINE>
+ </head>
+ <BLANKLINE>
+ <body>
+ <BLANKLINE>
+ <div>
+ <BLANKLINE>
+ <!-- hack around netscape 4.x to ensure table is solid -->
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td>
+ <BLANKLINE>
+ <!-- Top bar -->
+ <table id="Masthead" width="100%" cellpadding="0" cellspacing="0" border="0">
+ <BLANKLINE>
+ <tr>
+ <td id="PortalLogo">
+ <a href="http://localhost/cmf/"><img src="http://localhost/cmf/Zope_logo.gif" alt="Zope Logo" border="0" width="87" height="38" /></a>
+ </td>
+ <BLANKLINE>
+ <td id="PortalTitle">
+ <span>Portal</span>
+ </td>
+ <BLANKLINE>
+ <td id="NavBar">
+ <form action="http://localhost/cmf/search" method="get">
+ <a href="http://localhost/cmf/">home</a>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members">members</a>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/recent_news">news</a>
+ <a href="http://localhost/cmf/search_form">search</a>
+ <BLANKLINE>
+ <input name="SearchableText" size="16" />
+ <input type="image" name="go" value="go" src="http://localhost/cmf/go.gif" align="middle" />
+ </form>
+ </td>
+ </tr>
+ <BLANKLINE>
+ </table>
+ <!-- end topbar -->
+ <BLANKLINE>
+ </td>
+ </tr>
+ </table>
+ <!-- end NS4 hack -->
+ <BLANKLINE>
+ <!-- end top_bar-->
+ </div>
+ <BLANKLINE>
+ <div>
+ <BLANKLINE>
+ <!-- hack around netscape 4.x to ensure table is solid -->
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td>
+ <BLANKLINE>
+ <!-- user_menu_bar -->
+ <table id="MemberActionsBox" width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="ActionTitle">test_user_1_</td>
+ <td class="ActionLink" align="right">
+ <BLANKLINE>
+ <a href="http://localhost/cmf/personalize_form">Preferences</a> |
+ <BLANKLINE>
+ <a href="http://localhost/cmf/logout">Log out</a> |
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/addtoFavorites">Add to favorites</a> |
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/folder_contents">My stuff</a>
+ </td>
+ </tr>
+ </table>
+ <!-- end user_menu_bar -->
+ <BLANKLINE>
+ </td>
+ </tr>
+ </table>
+ <!-- end NS4 hack -->
+ <BLANKLINE>
+ <!-- end user_menu_bar div-->
+ </div>
+ <BLANKLINE>
+ <div id="main_body">
+ <BLANKLINE>
+ <table class="Forematter" width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td width="200px">
+ <BLANKLINE>
+ <!-- actions box -->
+ <table class="ContextActionsBox" width="100%" style="float: left;">
+ <BLANKLINE>
+ <!-- object actions -->
+ <tr class="ContextActionsRow">
+ <BLANKLINE>
+ <td class="ActionTitle">
+ <BLANKLINE>
+ <img src="http://localhost/cmf/cmf/folder_icon.gif" align="left" title="Type" alt="Simple Folder" height="16" width="16" />
+ <BLANKLINE>
+ f1
+ </td>
+ </tr>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <!-- workflow actions -->
+ <BLANKLINE>
+ <BLANKLINE>
+ <!-- folder actions -->
+ <tr class="ContextActionsRow">
+ <td class="ActionLink">
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/folder_contents">Folder contents</a><br />
+ </span>
+ </td>
+ </tr>
+ <BLANKLINE>
+ <!-- add actions -->
+ <tr class="ContextActionsRow">
+ <td class="ActionLink">
+ <span class="ObjectStatus">
+ Add...<br />
+ </span>
+ <BLANKLINE>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++CMF%20BTree%20Folder">CMF BTree Folder</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++Document">Document</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++Favorite">Favorite</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++File">File</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++Folder">Folder</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++Image">Image</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++Link">Link</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++News%20Item">News Item</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++ATBIFolder">ATBIFolder</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++ComplexType">ComplexType</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++DDocument">Demo Doc</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++Fact">Fact</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++Refnode">Refnode</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++SimpleBTreeFolder">Simple BTree Folder</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++SimpleFile">Simple File Type</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++SimpleFolder">Simple Folder</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++SimpleProtectedType">SimpleProtectedType</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++SimpleType">Simple Type</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/Members/test_user_1_/f1/++add++MySimpleType">My Simple Type</a><br />
+ </span>
+ </td>
+ </tr>
+ <BLANKLINE>
+ <!-- global actions -->
+ <tr class="ContextActionsRow">
+ <td class="ActionLink">
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/members_manage_form">Manage members</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/undo_form">Undo</a><br />
+ </span>
+ <span>
+ <BLANKLINE>
+ <a href="http://localhost/cmf/reconfig_form">Reconfigure Portal</a><br />
+ </span>
+ </td>
+ </tr>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ </table>
+ <!-- end actions_box -->
+ <BLANKLINE>
+ </td>
+ <BLANKLINE>
+ <td width="16px"> </td>
+ <BLANKLINE>
+ <td id="ForematterCell">
+ <div id="Desktop">
+ <BLANKLINE>
+ <p id="Breadcrumbs">
+ <span><a href="http://localhost/cmf">root</a><span> / </span>
+ </span>
+ <span><a href="http://localhost/cmf/Members">Members</a><span> / </span>
+ </span>
+ <span><a href="http://localhost/cmf/Members/test_user_1_">test_user_1_</a><span> / </span>
+ </span>
+ <span><a href="http://localhost/cmf/Members/test_user_1_/f1">f1</a>
+ </span>
+ </p>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <div>
+ <h2>Site Error</h2>
+ <BLANKLINE>
+ <p>An error was encountered while publishing this
+ resource.</p>
+ <BLANKLINE>
+ <p>
+ <strong>Error Type:
+ AttributeError
+ </strong>
+ <br />
+ <strong>Error Value:
+ portal_repository
+ </strong>
+ <br />
+ </p>
+ <BLANKLINE>
+ <hr noshade />
+ <BLANKLINE>
+ <p>Troubleshooting Suggestions</p>
+ <BLANKLINE>
+ <ul>
+ <BLANKLINE>
+ <li>The URL may be incorrect.</li>
+ <li>The parameters passed to this resource may be
+ incorrect.</li>
+ <li>A resource that this resource relies on may be
+ encountering an error.</li>
+ </ul>
+ <BLANKLINE>
+ <p>For more detailed information about the error, please
+ refer to the error log.
+ </p>
+ <BLANKLINE>
+ <p>If the error persists please contact the site
+ maintainer. Thank you for your patience.
+ </p>
+ <BLANKLINE>
+ </div>
+ <BLANKLINE>
+ <div>
+ <hr noshade />
+ <a href="http://localhost/cmf/error_log/showEntry?id=1223267614.050.957461152943">
+ Show Error Log Entry
+ </a>
+ </div>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ <BLANKLINE>
+ </div>
+ </td>
+ </tr>
+ </table>
+ <BLANKLINE>
+ </div>
+ <BLANKLINE>
+ </body>
+ </html>
+ <BLANKLINE>
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_event.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
DeprecationWarning)
Failure in test test_createObjectViaWebDAV (Products.Archetypes.tests.test_functional.TestFunctionalObjectCreation)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/test_functional.py", line 210, in test_createObjectViaWebDAV
self.assertEqual(response.getStatus(), 201)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: 500 != 201
Failure in test /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/folder_marshall.txt
Failed doctest test for folder_marshall.txt
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/folder_marshall.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/folder_marshall.txt", line 75, in folder_marshall.txt
Failed example:
print http(r"""
PUT /%s/simple_folder HTTP/1.1
Authorization: Basic %s:%s
Content-Type: text/plain; charset="utf-8"
Depth: 0
description: Simple Folder Content
""" % (portal_name, user_name, user_password))
Expected:
HTTP/1.1 204 No Content
...
Got:
HTTP/1.1 500 Internal Server Error
Connection: close
Content-Length: 8155
Content-Location: http://localhost/cmf/simple_folder/
Content-Type: text/html; charset=utf-8
Date: Mon, 06 Oct 2008 04:34:13 GMT
<BLANKLINE>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<BLANKLINE>
<head>
<base href="http://localhost/cmf/simple_folder/" />
<BLANKLINE>
<title>Portal: </title>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<link rel="stylesheet" type="text/css" href="http://localhost/cmf/zpt_stylesheet.css" />
<BLANKLINE>
<BLANKLINE>
</head>
<BLANKLINE>
<body>
<BLANKLINE>
<div>
<BLANKLINE>
<!-- hack around netscape 4.x to ensure table is solid -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<BLANKLINE>
<!-- Top bar -->
<table id="Masthead" width="100%" cellpadding="0" cellspacing="0" border="0">
<BLANKLINE>
<tr>
<td id="PortalLogo">
<a href="http://localhost/cmf/"><img src="http://localhost/cmf/Zope_logo.gif" alt="Zope Logo" border="0" width="87" height="38" /></a>
</td>
<BLANKLINE>
<td id="PortalTitle">
<span>Portal</span>
</td>
<BLANKLINE>
<td id="NavBar">
<form action="http://localhost/cmf/search" method="get">
<a href="http://localhost/cmf/">home</a>
<BLANKLINE>
<a href="http://localhost/cmf/Members">members</a>
<BLANKLINE>
<a href="http://localhost/cmf/recent_news">news</a>
<a href="http://localhost/cmf/search_form">search</a>
<BLANKLINE>
<input name="SearchableText" size="16" />
<input type="image" name="go" value="go" src="http://localhost/cmf/go.gif" align="middle" />
</form>
</td>
</tr>
<BLANKLINE>
</table>
<!-- end topbar -->
<BLANKLINE>
</td>
</tr>
</table>
<!-- end NS4 hack -->
<BLANKLINE>
<!-- end top_bar-->
</div>
<BLANKLINE>
<div>
<BLANKLINE>
<!-- hack around netscape 4.x to ensure table is solid -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<BLANKLINE>
<!-- user_menu_bar -->
<table id="MemberActionsBox" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="ActionTitle">test_user_1_</td>
<td class="ActionLink" align="right">
<BLANKLINE>
<a href="http://localhost/cmf/personalize_form">Preferences</a> |
<BLANKLINE>
<a href="http://localhost/cmf/logout">Log out</a> |
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/addtoFavorites">Add to favorites</a> |
<BLANKLINE>
<a href="http://localhost/cmf/Members/test_user_1_/folder_contents">My stuff</a>
</td>
</tr>
</table>
<!-- end user_menu_bar -->
<BLANKLINE>
</td>
</tr>
</table>
<!-- end NS4 hack -->
<BLANKLINE>
<!-- end user_menu_bar div-->
</div>
<BLANKLINE>
<div id="main_body">
<BLANKLINE>
<table class="Forematter" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="200px">
<BLANKLINE>
<!-- actions box -->
<table class="ContextActionsBox" width="100%" style="float: left;">
<BLANKLINE>
<!-- object actions -->
<tr class="ContextActionsRow">
<BLANKLINE>
<td class="ActionTitle">
<BLANKLINE>
<img src="http://localhost/cmf/cmf/folder_icon.gif" align="left" title="Type" alt="Simple Folder" height="16" width="16" />
<BLANKLINE>
simple_folder
</td>
</tr>
<BLANKLINE>
<tr class="ContextActionsRow">
<BLANKLINE>
<td class="ActionLink">
<BLANKLINE>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/base_view">View</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/base_edit">Edit</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/base_metadata">Properties</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/synPropertiesForm">Syndication</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/edit-markers.html">Interfaces</a><br />
</span>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
</td>
</tr>
<BLANKLINE>
<!-- workflow actions -->
<tr class="ContextActionsRow">
<BLANKLINE>
<td class="ActionLink">
<BLANKLINE>
<span class="ObjectStatus">
Status:
private<br />
</span>
<BLANKLINE>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/content_publish_form">Publish</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/content_submit_form">Submit</a><br />
</span>
</td>
</tr>
<BLANKLINE>
<!-- folder actions -->
<BLANKLINE>
<BLANKLINE>
<!-- add actions -->
<tr class="ContextActionsRow">
<td class="ActionLink">
<span class="ObjectStatus">
Add...<br />
</span>
<BLANKLINE>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++CMF%20BTree%20Folder">CMF BTree Folder</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++Document">Document</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++Favorite">Favorite</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++File">File</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++Folder">Folder</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++Image">Image</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++Link">Link</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++News%20Item">News Item</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++ATBIFolder">ATBIFolder</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++ComplexType">ComplexType</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++DDocument">Demo Doc</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++Fact">Fact</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++Refnode">Refnode</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++SimpleBTreeFolder">Simple BTree Folder</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++SimpleFile">Simple File Type</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++SimpleFolder">Simple Folder</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++SimpleProtectedType">SimpleProtectedType</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++SimpleType">Simple Type</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++MySimpleType">My Simple Type</a><br />
</span>
</td>
</tr>
<BLANKLINE>
<!-- global actions -->
<tr class="ContextActionsRow">
<td class="ActionLink">
<span>
<BLANKLINE>
<a href="http://localhost/cmf/members_manage_form">Manage members</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/undo_form">Undo</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/reconfig_form">Reconfigure Portal</a><br />
</span>
</td>
</tr>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
</table>
<!-- end actions_box -->
<BLANKLINE>
</td>
<BLANKLINE>
<td width="16px"> </td>
<BLANKLINE>
<td id="ForematterCell">
<div id="Desktop">
<BLANKLINE>
<p id="Breadcrumbs">
<span><a href="http://localhost/cmf">root</a><span> / </span>
</span>
<span><a href="http://localhost/cmf/simple_folder">simple_folder</a>
</span>
</p>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<div>
<h2>Site Error</h2>
<BLANKLINE>
<p>An error was encountered while publishing this
resource.</p>
<BLANKLINE>
<p>
<strong>Error Type:
AttributeError
</strong>
<br />
<strong>Error Value:
portal_repository
</strong>
<br />
</p>
<BLANKLINE>
<hr noshade />
<BLANKLINE>
<p>Troubleshooting Suggestions</p>
<BLANKLINE>
<ul>
<BLANKLINE>
<li>The URL may be incorrect.</li>
<li>The parameters passed to this resource may be
incorrect.</li>
<li>A resource that this resource relies on may be
encountering an error.</li>
</ul>
<BLANKLINE>
<p>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site
maintainer. Thank you for your patience.
</p>
<BLANKLINE>
</div>
<BLANKLINE>
<div>
<hr noshade />
<a href="http://localhost/cmf/error_log/showEntry?id=1223267653.970.488064104886">
Show Error Log Entry
</a>
</div>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
</div>
</td>
</tr>
</table>
<BLANKLINE>
</div>
<BLANKLINE>
</body>
</html>
<BLANKLINE>
Failure in test /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/traversal.txt
Failed doctest test for traversal.txt
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/traversal.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/traversal.txt", line 259, in traversal.txt
Failed example:
print http(r"""
PUT /%s/simple_folder/test_document HTTP/1.1
Authorization: Basic %s:%s
Content-Type: text/plain; charset="utf-8"
Depth: 0
Simple Folder Document Content
""" % (portal_name, user_name, user_password))
Expected:
HTTP/1.1 201 Created
...
Got:
HTTP/1.1 500 Internal Server Error
Accept-Ranges: none
Connection: close
Content-Length: 7295
Content-Type: text/html; charset=utf-8
Date: Mon, 06 Oct 2008 04:34:15 GMT
<BLANKLINE>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<BLANKLINE>
<head>
<base href="http://localhost/cmf/simple_folder/test_document/" />
<BLANKLINE>
<title>Portal Title: </title>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<link rel="stylesheet" type="text/css" href="http://localhost/cmf/zpt_stylesheet.css" />
<BLANKLINE>
<BLANKLINE>
</head>
<BLANKLINE>
<body>
<BLANKLINE>
<div>
<BLANKLINE>
<!-- hack around netscape 4.x to ensure table is solid -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<BLANKLINE>
<!-- Top bar -->
<table id="Masthead" width="100%" cellpadding="0" cellspacing="0" border="0">
<BLANKLINE>
<tr>
<td id="PortalLogo">
<a href="http://localhost/cmf/"><img src="http://localhost/cmf/Zope_logo.gif" alt="Zope Logo" border="0" width="87" height="38" /></a>
</td>
<BLANKLINE>
<td id="PortalTitle">
<span>Portal Title</span>
</td>
<BLANKLINE>
<td id="NavBar">
<form action="http://localhost/cmf/search" method="get">
<a href="http://localhost/cmf/">home</a>
<BLANKLINE>
<a href="http://localhost/cmf/Members">members</a>
<BLANKLINE>
<a href="http://localhost/cmf/recent_news">news</a>
<a href="http://localhost/cmf/search_form">search</a>
<BLANKLINE>
<input name="SearchableText" size="16" />
<input type="image" name="go" value="go" src="http://localhost/cmf/go.gif" align="middle" />
</form>
</td>
</tr>
<BLANKLINE>
</table>
<!-- end topbar -->
<BLANKLINE>
</td>
</tr>
</table>
<!-- end NS4 hack -->
<BLANKLINE>
<!-- end top_bar-->
</div>
<BLANKLINE>
<div>
<BLANKLINE>
<!-- hack around netscape 4.x to ensure table is solid -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<BLANKLINE>
<!-- user_menu_bar -->
<table id="MemberActionsBox" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="ActionTitle">test_user_1_</td>
<td class="ActionLink" align="right">
<BLANKLINE>
<a href="http://localhost/cmf/personalize_form">Preferences</a> |
<BLANKLINE>
<a href="http://localhost/cmf/logout">Log out</a> |
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/addtoFavorites">Add to favorites</a> |
<BLANKLINE>
<a href="http://localhost/cmf/Members/test_user_1_/folder_contents">My stuff</a>
</td>
</tr>
</table>
<!-- end user_menu_bar -->
<BLANKLINE>
</td>
</tr>
</table>
<!-- end NS4 hack -->
<BLANKLINE>
<!-- end user_menu_bar div-->
</div>
<BLANKLINE>
<div id="main_body">
<BLANKLINE>
<table class="Forematter" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="200px">
<BLANKLINE>
<!-- actions box -->
<table class="ContextActionsBox" width="100%" style="float: left;">
<BLANKLINE>
<!-- object actions -->
<tr class="ContextActionsRow">
<BLANKLINE>
<td class="ActionTitle">
<BLANKLINE>
<img src="http://localhost/cmf/cmf/folder_icon.gif" align="left" title="Type" alt="Simple Folder" height="16" width="16" />
<BLANKLINE>
simple_folder
</td>
</tr>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<!-- workflow actions -->
<BLANKLINE>
<BLANKLINE>
<!-- folder actions -->
<tr class="ContextActionsRow">
<td class="ActionLink">
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/folder_contents">Folder contents</a><br />
</span>
</td>
</tr>
<BLANKLINE>
<!-- add actions -->
<tr class="ContextActionsRow">
<td class="ActionLink">
<span class="ObjectStatus">
Add...<br />
</span>
<BLANKLINE>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++CMF%20BTree%20Folder">CMF BTree Folder</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++Document">Document</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++Favorite">Favorite</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++File">File</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++Folder">Folder</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++Image">Image</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++Link">Link</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++News%20Item">News Item</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++ATBIFolder">ATBIFolder</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++ComplexType">ComplexType</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++DDocument">Demo Doc</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++Fact">Fact</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++Refnode">Refnode</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++SimpleBTreeFolder">Simple BTree Folder</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++SimpleFile">Simple File Type</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++SimpleFolder">Simple Folder</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++SimpleProtectedType">SimpleProtectedType</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++SimpleType">Simple Type</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/simple_folder/++add++MySimpleType">My Simple Type</a><br />
</span>
</td>
</tr>
<BLANKLINE>
<!-- global actions -->
<tr class="ContextActionsRow">
<td class="ActionLink">
<span>
<BLANKLINE>
<a href="http://localhost/cmf/members_manage_form">Manage members</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/undo_form">Undo</a><br />
</span>
<span>
<BLANKLINE>
<a href="http://localhost/cmf/reconfig_form">Reconfigure Portal</a><br />
</span>
</td>
</tr>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
</table>
<!-- end actions_box -->
<BLANKLINE>
</td>
<BLANKLINE>
<td width="16px"> </td>
<BLANKLINE>
<td id="ForematterCell">
<div id="Desktop">
<BLANKLINE>
<p id="Breadcrumbs">
<span><a href="http://localhost/cmf">root</a><span> / </span>
</span>
<span><a href="http://localhost/cmf/simple_folder">simple_folder</a>
</span>
</p>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<div>
<h2>Site Error</h2>
<BLANKLINE>
<p>An error was encountered while publishing this
resource.</p>
<BLANKLINE>
<p>
<strong>Error Type:
AttributeError
</strong>
<br />
<strong>Error Value:
portal_repository
</strong>
<br />
</p>
<BLANKLINE>
<hr noshade />
<BLANKLINE>
<p>Troubleshooting Suggestions</p>
<BLANKLINE>
<ul>
<BLANKLINE>
<li>The URL may be incorrect.</li>
<li>The parameters passed to this resource may be
incorrect.</li>
<li>A resource that this resource relies on may be
encountering an error.</li>
</ul>
<BLANKLINE>
<p>For more detailed information about the error, please
refer to the error log.
</p>
<BLANKLINE>
<p>If the error persists please contact the site
maintainer. Thank you for your patience.
</p>
<BLANKLINE>
</div>
<BLANKLINE>
<div>
<hr noshade />
<a href="http://localhost/cmf/error_log/showEntry?id=1223267655.950.350452850238">
Show Error Log Entry
</a>
</div>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
<BLANKLINE>
</div>
</td>
</tr>
</table>
<BLANKLINE>
</div>
<BLANKLINE>
</body>
</html>
<BLANKLINE>
Failure in test /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/reindex_sanity.txt
Failed doctest test for reindex_sanity.txt
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/reindex_sanity.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/reindex_sanity.txt", line 89, in reindex_sanity.txt
Failed example:
_ = self.folder.invokeFactory(type_name='DDocument',
id='new_doc1')
Expected:
Catalog: uid_catalog
Indexing: Members/test_user_1_/new_doc1 []
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 None
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 ['review_state']
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 ['allowedRolesAndUsers']
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 []
------------------------------------------------------------
Catalog: uid_catalog
Indexing: Members/test_user_1_/new_doc1 []
------------------------------------------------------------
Got:
Catalog: uid_catalog
Indexing: Members/test_user_1_/new_doc1 []
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 ['review_state']
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 None
------------------------------------------------------------
Catalog: uid_catalog
Indexing: Members/test_user_1_/new_doc1 []
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 ['review_state']
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 ['allowedRolesAndUsers']
------------------------------------------------------------
Catalog: portal_catalog
Indexing: /cmf/Members/test_user_1_/new_doc1 None
------------------------------------------------------------
Error in test test_fileFieldObjectWordReplace (Products.Archetypes.tests.test_marshaller.MarshallerTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/test_marshaller.py", line 97, in test_fileFieldObjectWordReplace
word.PUT(request, request.RESPONSE)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/WebDAVSupport.py", line 131, in PUT
event.notify(WebDAVObjectInitializedEvent(self))
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFEditions/subscriber.py", line 44, in webdavObjectInitialized
return webdavObjectEventHandler(event, comment='Initial revision')
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFEditions/subscriber.py", line 33, in webdavObjectEventHandler
changed = isObjectChanged(obj)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFEditions/utilities.py", line 92, in isObjectChanged
pr = getToolByName(obj, 'portal_repository')
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFCore/utils.py", line 125, in getToolByName
raise AttributeError, name
AttributeError: portal_repository
Error in test test_textFieldObjectRSTreplace (Products.Archetypes.tests.test_marshaller.MarshallerTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/test_marshaller.py", line 79, in test_textFieldObjectRSTreplace
rst.PUT(request, request.RESPONSE)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/WebDAVSupport.py", line 131, in PUT
event.notify(WebDAVObjectInitializedEvent(self))
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
subscription(*objects)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFEditions/subscriber.py", line 44, in webdavObjectInitialized
return webdavObjectEventHandler(event, comment='Initial revision')
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFEditions/subscriber.py", line 33, in webdavObjectEventHandler
changed = isObjectChanged(obj)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFEditions/utilities.py", line 92, in isObjectChanged
pr = getToolByName(obj, 'portal_repository')
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFCore/utils.py", line 125, in getToolByName
raise AttributeError, name
AttributeError: portal_repository
Failure in test test_recursive (Products.Archetypes.tests.test_rename.RenameTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/test_rename.py", line 159, in test_recursive
self.assertEquals(ADD_COUNTER.get(uid), 1)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: 2 != 1
Failure in test test_rename (Products.Archetypes.tests.test_rename.RenameTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/test_rename.py", line 140, in test_rename
self.assertEquals(ADD_COUNTER.get(uid), 2)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: 3 != 2
Ran 502 tests with 7 failures and 4 errors in 1 minutes 55.803 seconds.
Tearing down left over layers:
Tear down Products.CMFTestCase.layer.CMFSite in 0.328 seconds.
Tear down Products.CMFTestCase.layer.ZCML in 0.011 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 598 tests, 7 failures, 4 errors in 2 minutes 12.775 seconds.
FAILED (failures=7, errors=4)
More information about the Testbot
mailing list