[Testbot] FAILED (failures=27, errors=23) : AT-trunk Plone-trunk Zope-2.11 Python-2.4.4
Archetypes Tests
plone-tests at epy.co.at
Wed Feb 13 05:43:51 UTC 2008
Archetypes Tests : FAILED (failures=27, errors=23)
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
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/utils.py:28: DeprecationWarning: ITranslatable: Please use Products.LinguaPlone.interfaces.ITranslatable instead. This interface will be removed in Plone 5.0
from Products.CMFPlone.interfaces.Translatable import ITranslatable
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PloneLanguageTool/interfaces.py:7: DeprecationWarning: ITranslatable: Please use Products.LinguaPlone.interfaces.ITranslatable instead. This interface will be removed in Plone 5.0
from Products.CMFPlone.interfaces.Translatable import ITranslatable
/home/stefan/autotest/temp/python24-zope211/lib/python/zope/configuration/xmlconfig.py:331: DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.app.annotation will become unsupported in Zope 3.5
__import__(arguments[0])
Failed to import ZPsycopgDA
Failed to import ZMySQLDA
Parsing /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/etc/zope.conf
Running unit tests:
Failure in test rest (Products.PortalTransforms.transforms.rest)
Failed doctest test for Products.PortalTransforms.transforms.rest.rest
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/transforms/rest.py", line 5, in rest
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/PortalTransforms/transforms/rest.py", line 21, in Products.PortalTransforms.transforms.rest.rest
Failed example:
try:
transform.convert('.. raw:: html\n :file: <isonum.txt>', D())
except NotImplementedError:
print 'Good'
else:
print 'Failure'
Expected:
Good
Got:
<Products.PortalTransforms.transforms.rest.D instance at 0xb621748c>
Failure
Ran 16 tests with 1 failures and 0 errors in 1.305 seconds.
Running Products.CMFTestCase.layer.ZCML tests:
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.642 seconds.
Set up Products.CMFTestCase.layer.ZCML/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFActionIcons:actionicons taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFCalendar:default taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFCalendar:skins_support taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFTopic:default taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.CMFUid:default taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/GenericSetup/registry.py:740: UserWarning: Version for profile Products.DCWorkflow:revision2 taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
in 4.052 seconds.
Ran 72 tests with 0 failures and 0 errors in 3.912 seconds.
Running Products.CMFTestCase.layer.CMFSite tests:
Set up Products.CMFTestCase.layer.CMFSite in 2.329 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 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 89, in pt_render
return super(PageTemplate, self).pt_render(c, source=source)
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/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 139, in _eval
return render(ob, econtext.vars)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/PageTemplates/Expressions.py", line 103, in render
ob = ob()
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/plone/app/content/browser/foldercontents.py", line 40, in icon
icon = ploneview.getIcon(self.context)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/browser/ploneview.py", line 389, in getIcon
if not self.icons_visible():
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/plone/memoize/view.py", line 55, in memogetter
value = cache[key] = func(*args, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/CMFPlone/browser/ploneview.py", line 372, in icons_visible
site_properties = getattr(properties, 'site_properties')
AttributeError: <!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 -->
<!-- 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>
<h2>Site Error</h2>
<p>An error was encountered while publishing this
resource.</p>
<p>
<strong>Error Type:
AttributeError
</strong>
<br />
<strong>Error Value:
site_properties
</strong>
<br />
</p>
<hr noshade />
<p>Troubleshooting Suggestions</p>
<ul>
<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>
<p>For more detailed information about the error, please
refer to the error log.
</p>
<p>If the error persists please contact the site
maintainer. Thank you for your patience.
</p>
</div>
<div>
<hr noshade />
<a href="http://nohost/cmf/error_log/showEntry?id=1202880892.130.957244060262">
Show Error Log Entry
</a>
</div>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
Failure in test set (Products.Archetypes.Field.ReferenceField)
Failed doctest test for Products.Archetypes.Field.ReferenceField.set
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Field.py", line 1681, in set
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Field.py", line 1694, in Products.Archetypes.Field.ReferenceField.set
Failed example:
nodes[0].setLinks(nodes[1:])
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 Products.Archetypes.Field.ReferenceField.set[2]>", line 1, in ?
nodes[0].setLinks(nodes[1:])
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ClassGen.py", line 76, in generatedMutator
return schema[name].set(self, value, **kw)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Field.py", line 1767, in set
tool.addReference(instance, uid, self.relationship, **addRef_kw)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ReferenceEngine.py", line 336, in addReference
annotation._delObject(existing.id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 388, in _delObject
self._delOb(id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 285, in _delOb
delattr(self, id)
AttributeError: eeedeef39a6faaa8997aea1bbc83d7b4
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 31, in events.txt
Failed example:
handler.print_and_flush() #doctest: +ELLIPSIS
Differences (ndiff with -expected +actual):
- 6 events:
? ^
+ 9 events:
? ^
[(<DDocument at a>,
- <zope.app.event.objectevent.ObjectCreatedEvent object at ...>),
? ^^^
+ <zope.app.event.objectevent.ObjectCreatedEvent object at 0xb50ba3ac>),
? ^^^^^^^^^^
- (<DDocument at a>, <OFS.event.ObjectWillBeAddedEvent object at ...>),
? ^^^
+ (<DDocument at a>, <OFS.event.ObjectWillBeAddedEvent object at 0xb4f1e3cc>),
? ^^^^^^^^^^
- (<DDocument at /.../Members/test_user_1_/a>,
? ^^^
+ (<DDocument at /cmf/Members/test_user_1_/a>,
? ^^^
- <zope.app.container.contained.ObjectAddedEvent object at ...>),
+ <Products.DCWorkflow.events.BeforeTransitionEvent object at 0xb4f1edcc>),
- (<DDocument at /.../Members/test_user_1_/a>,
? ^^^
+ (<DDocument at /cmf/Members/test_user_1_/a>,
? ^^^
- <zope.app.event.objectevent.ObjectModifiedEvent object at ...),
+ <Products.DCWorkflow.events.AfterTransitionEvent object at 0xb4f1edec>),
- (<DDocument at /.../Members/test_user_1_/a>,
? ^^^
+ (<DDocument at /cmf/Members/test_user_1_/a>,
? ^^^
- <Products.DCWorkflow.events.BeforeTransitionEvent object at ...>),
+ <zope.app.container.contained.ObjectAddedEvent object at 0xb4f1e38c>),
- (<DDocument at /.../Members/test_user_1_/a>,
? ^^^
+ (<DDocument at /cmf/Members/test_user_1_/a>,
? ^^^
+ <zope.app.event.objectevent.ObjectModifiedEvent object at 0xb5145fac>),
+ (<DDocument at /cmf/Members/test_user_1_/a>,
+ <Products.DCWorkflow.events.BeforeTransitionEvent object at 0xb4f1486c>),
+ (<DDocument at /cmf/Members/test_user_1_/a>,
- <Products.DCWorkflow.events.AfterTransitionEvent object at ...>)]
? ^^^ ^
+ <Products.DCWorkflow.events.AfterTransitionEvent object at 0xb4f148cc>),
? ^^^^^^^^^^ ^
+ (<DDocument at /cmf/Members/test_user_1_/a>,
+ <zope.app.container.contained.ObjectAddedEvent object at 0xb4f1e3ac>)]
/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 /home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/webdav_operations.txt
Failed doctest test for webdav_operations.txt
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/webdav_operations.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/tests/webdav_operations.txt", line 15, in webdav_operations.txt
Failed example:
_ = b.addReference(a, "KnowsAbout")
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 webdav_operations.txt[6]>", line 1, in ?
_ = b.addReference(a, "KnowsAbout")
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Referenceable.py", line 57, in addReference
updateReferences, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ReferenceEngine.py", line 336, in addReference
annotation._delObject(existing.id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 379, in _delObject
ob = self._getOb(id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 295, in _getOb
raise AttributeError, id
AttributeError: 57dcb3e3b59ee38e1add19e44c40bede
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
------------------------------------------------------------
Failure in test test_cascaderef (Products.Archetypes.tests.test_referenceCatalog.ReferenceCatalogTests)
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_referenceCatalog.py", line 174, in test_cascaderef
self.failIf('obj6' in items)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 305, in failIf
if expr: raise self.failureException, msg
AssertionError
Error in test test_create (Products.Archetypes.tests.test_referenceCatalog.ReferenceCatalogTests)
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_referenceCatalog.py", line 122, in test_create
obj2.addReference(obj, 'betaRelationship', this="that")
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Referenceable.py", line 57, in addReference
updateReferences, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ReferenceEngine.py", line 336, in addReference
annotation._delObject(existing.id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 379, in _delObject
ob = self._getOb(id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 295, in _getOb
raise AttributeError, id
AttributeError: 224b216373354ade469c419909024272
Error in test test_delete (Products.Archetypes.tests.test_referenceCatalog.ReferenceCatalogTests)
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_referenceCatalog.py", line 198, in test_delete
self.failIf(uid1 in uc.uniqueValuesFor('UID'))
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/ZCatalog.py", line 574, in uniqueValuesFor
return self._catalog.uniqueValuesFor(name)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/Catalog.py", line 405, in uniqueValuesFor
return self.getIndex(name).uniqueValues()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/Catalog.py", line 270, in getIndex
return self.indexes[name].__of__(self)
KeyError: 'UID'
Failure in test test_holdingref (Products.Archetypes.tests.test_referenceCatalog.ReferenceCatalogTests)
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_referenceCatalog.py", line 141, in test_holdingref
self.failUnless(obj2 in obj1.getRefs('uses'))
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 309, in failUnless
if not expr: raise self.failureException, msg
AssertionError
Error in test test_UIDclash (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 218, in test_UIDclash
uniq = catalog.uniqueValuesFor('UID')
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/ZCatalog.py", line 574, in uniqueValuesFor
return self._catalog.uniqueValuesFor(name)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/Catalog.py", line 405, in uniqueValuesFor
return self.getIndex(name).uniqueValues()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/Catalog.py", line 270, in getIndex
return self.indexes[name].__of__(self)
KeyError: 'UID'
Error in test test_back_relationships (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 359, in test_back_relationships
future_payment.addReference(payment2, "Owns")
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Referenceable.py", line 57, in addReference
updateReferences, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ReferenceEngine.py", line 336, in addReference
annotation._delObject(existing.id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 379, in _delObject
ob = self._getOb(id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 295, in _getOb
raise AttributeError, id
AttributeError: e1bc83966346527fb1c33c92c291c7ac
Failure in test test_copyPasteSupport (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 605, in test_copyPasteSupport
self.failUnlessEqual(b.getBRefs(), [a])
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [<SimpleFolder at /cmf/Members/test_user_1_/org_folder>] != [<DDocument at /cmf/Members/test_user_1_/org_folder/a>]
Failure in test test_cutPasteSupport (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 646, in test_cutPasteSupport
self.failUnlessEqual(copy_a.getRefs(), [b])
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [<SimpleFolder at /cmf/Members/test_user_1_/org_folder>] != [<DDocument at /cmf/Members/test_user_1_/org_folder/b>]
Failure in test test_folderCopyPasteSupport (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 667, in test_folderCopyPasteSupport
self.failUnlessEqual(b.getBRefs(), [a])
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [<SimpleFolder at /cmf/Members/test_user_1_/org_folder>] != [<DDocument at /cmf/Members/test_user_1_/org_folder/my_folder/a>]
Failure in test test_folderCutPasteSupport (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 709, in test_folderCutPasteSupport
self.failUnlessEqual(b.getBRefs(), [a])
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [<SimpleFolder at /cmf/Members/test_user_1_/org_folder>] != [<DDocument at /cmf/Members/test_user_1_/org_folder/my_folder/a>]
Error in test test_folderishDeleteCleanup (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 479, in test_folderishDeleteCleanup
uids = uc.uniqueValuesFor('UID')
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/ZCatalog.py", line 574, in uniqueValuesFor
return self._catalog.uniqueValuesFor(name)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/Catalog.py", line 405, in uniqueValuesFor
return self.getIndex(name).uniqueValues()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/Catalog.py", line 270, in getIndex
return self.indexes[name].__of__(self)
KeyError: 'UID'
Failure in test test_hasRelationship (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 443, in test_hasRelationship
self.assertEquals(a.hasRelationshipTo(b, "Foo"), 0)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: True != 0
Error in test test_multipleReferences (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 412, in test_multipleReferences
a.addReference(b, 'Flogs')
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Referenceable.py", line 57, in addReference
updateReferences, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ReferenceEngine.py", line 336, in addReference
annotation._delObject(existing.id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 388, in _delObject
self._delOb(id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 285, in _delOb
delattr(self, id)
AttributeError: 04f205f75840d77891640df3531ae2b0
Error in test test_referenceFieldVocab (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 539, in test_referenceFieldVocab
got = field.Vocabulary(dummy)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Field.py", line 1800, in Vocabulary
return self._Vocabulary(content_instance).sortedByValue()
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Field.py", line 1885, in _Vocabulary
return DisplayList(pairs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/utils.py", line 322, in __init__
self.fromList(data)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/utils.py", line 337, in fromList
self.add(*item)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/utils.py", line 361, in add
raise TypeError('DisplayList keys must be strings, got %s' %
TypeError: DisplayList keys must be strings, got <type 'instancemethod'>
Error in test test_referenceReference (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 517, in test_referenceReference
c.addReference(ref)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Referenceable.py", line 57, in addReference
updateReferences, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ReferenceEngine.py", line 336, in addReference
annotation._delObject(existing.id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 379, in _delObject
ob = self._getOb(id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 295, in _getOb
raise AttributeError, id
AttributeError: 660d6c3aead39193903aa5e27da9c309
Failure in test test_reindexUIDCatalog (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 504, in test_reindexUIDCatalog
self.assertEquals(brain.Title, doc.Title())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: <bound method CMFSite.Title of <CMFSite at /cmf>> != u'sometitle'
Error in test test_relationships (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 311, in test_relationships
a.addReference(c, "Owns")
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Referenceable.py", line 57, in addReference
updateReferences, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ReferenceEngine.py", line 336, in addReference
annotation._delObject(existing.id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 388, in _delObject
self._delOb(id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 285, in _delOb
delattr(self, id)
AttributeError: 1ee32461caa8b61ff49ef368d8e1c38f
Failure in test test_renameKeepsReferences (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 109, in test_renameKeepsReferences
self.assertEquals(obj2.getBRefs(), [obj1])
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [<SimpleFolder at /cmf/Members/test_user_1_/container>] != [<SimpleType at /cmf/Members/test_user_1_/container/foo>]
Failure in test test_renamecontainerKeepsReferences (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 143, in test_renamecontainerKeepsReferences
self.assertEquals(obj2.getBRefs(), [obj1])
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [<SimpleFolder at /cmf/Members/test_user_1_/container>] != [<SimpleType at /cmf/Members/test_user_1_/container/obj1>]
Failure in test test_renamecontainerKeepsReferences2 (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 181, in test_renamecontainerKeepsReferences2
self.assertEquals(objB.getBRefs(), [objA])
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [<SimpleFolder at /cmf/Members/test_user_1_/folderA>] != [<SimpleType at /cmf/Members/test_user_1_/folderA/objA>]
Error in test test_renamedontchangeUID (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 78, in test_renamedontchangeUID
self.failUnless(UID in catalog.uniqueValuesFor('UID'))
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/ZCatalog.py", line 574, in uniqueValuesFor
return self._catalog.uniqueValuesFor(name)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/Catalog.py", line 405, in uniqueValuesFor
return self.getIndex(name).uniqueValues()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/Catalog.py", line 270, in getIndex
return self.indexes[name].__of__(self)
KeyError: 'UID'
Error in test test_setUID_keeps_relationships (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 236, in test_setUID_keeps_relationships
b.addReference(a, "KnowsAbout")
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Referenceable.py", line 57, in addReference
updateReferences, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ReferenceEngine.py", line 336, in addReference
annotation._delObject(existing.id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 379, in _delObject
ob = self._getOb(id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 295, in _getOb
raise AttributeError, id
AttributeError: 2f1a7687ef92ebec2becd47ac176c49d
Error in test test_singleReference (Products.Archetypes.tests.test_referenceable.SimpleFolderReferenceableTests)
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_referenceable.py", line 390, in test_singleReference
a.addReference(b, "KnowsAbout")
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Referenceable.py", line 57, in addReference
updateReferences, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ReferenceEngine.py", line 336, in addReference
annotation._delObject(existing.id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 388, in _delObject
self._delOb(id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 285, in _delOb
delattr(self, id)
AttributeError: da7197eea691a628112242d496652c74
Error in test test_UIDclash (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 218, in test_UIDclash
uniq = catalog.uniqueValuesFor('UID')
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/ZCatalog.py", line 574, in uniqueValuesFor
return self._catalog.uniqueValuesFor(name)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/Catalog.py", line 405, in uniqueValuesFor
return self.getIndex(name).uniqueValues()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/Catalog.py", line 270, in getIndex
return self.indexes[name].__of__(self)
KeyError: 'UID'
Error in test test_back_relationships (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 359, in test_back_relationships
future_payment.addReference(payment2, "Owns")
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Referenceable.py", line 57, in addReference
updateReferences, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ReferenceEngine.py", line 336, in addReference
annotation._delObject(existing.id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 379, in _delObject
ob = self._getOb(id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 295, in _getOb
raise AttributeError, id
AttributeError: c4cccdbeed58bf7269876d572003257f
Failure in test test_copyPasteSupport (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 605, in test_copyPasteSupport
self.failUnlessEqual(b.getBRefs(), [a])
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [<SimpleBTreeFolder at /cmf/Members/test_user_1_/org_folder>] != [<DDocument at /cmf/Members/test_user_1_/org_folder/a>]
Failure in test test_cutPasteSupport (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 646, in test_cutPasteSupport
self.failUnlessEqual(copy_a.getRefs(), [b])
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [<SimpleBTreeFolder at /cmf/Members/test_user_1_/org_folder>] != [<DDocument at /cmf/Members/test_user_1_/org_folder/b>]
Failure in test test_folderCopyPasteSupport (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 667, in test_folderCopyPasteSupport
self.failUnlessEqual(b.getBRefs(), [a])
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [<SimpleBTreeFolder at /cmf/Members/test_user_1_/org_folder>] != [<DDocument at /cmf/Members/test_user_1_/org_folder/my_folder/a>]
Failure in test test_folderCutPasteSupport (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 709, in test_folderCutPasteSupport
self.failUnlessEqual(b.getBRefs(), [a])
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [<SimpleBTreeFolder at /cmf/Members/test_user_1_/org_folder>] != [<DDocument at /cmf/Members/test_user_1_/org_folder/my_folder/a>]
Error in test test_folderishDeleteCleanup (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 479, in test_folderishDeleteCleanup
uids = uc.uniqueValuesFor('UID')
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/ZCatalog.py", line 574, in uniqueValuesFor
return self._catalog.uniqueValuesFor(name)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/Catalog.py", line 405, in uniqueValuesFor
return self.getIndex(name).uniqueValues()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/Catalog.py", line 270, in getIndex
return self.indexes[name].__of__(self)
KeyError: 'UID'
Failure in test test_hasRelationship (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 443, in test_hasRelationship
self.assertEquals(a.hasRelationshipTo(b, "Foo"), 0)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: True != 0
Error in test test_multipleReferences (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 412, in test_multipleReferences
a.addReference(b, 'Flogs')
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Referenceable.py", line 57, in addReference
updateReferences, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ReferenceEngine.py", line 336, in addReference
annotation._delObject(existing.id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 388, in _delObject
self._delOb(id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 285, in _delOb
delattr(self, id)
AttributeError: df923cb80fdf4e9adbf1246d0ac79802
Error in test test_referenceFieldVocab (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 539, in test_referenceFieldVocab
got = field.Vocabulary(dummy)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Field.py", line 1800, in Vocabulary
return self._Vocabulary(content_instance).sortedByValue()
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Field.py", line 1885, in _Vocabulary
return DisplayList(pairs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/utils.py", line 322, in __init__
self.fromList(data)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/utils.py", line 337, in fromList
self.add(*item)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/utils.py", line 361, in add
raise TypeError('DisplayList keys must be strings, got %s' %
TypeError: DisplayList keys must be strings, got <type 'instancemethod'>
Error in test test_referenceReference (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 517, in test_referenceReference
c.addReference(ref)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Referenceable.py", line 57, in addReference
updateReferences, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ReferenceEngine.py", line 336, in addReference
annotation._delObject(existing.id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 379, in _delObject
ob = self._getOb(id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 295, in _getOb
raise AttributeError, id
AttributeError: a2a12abb57b288d68e86da1ce8de9820
Failure in test test_reindexUIDCatalog (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 504, in test_reindexUIDCatalog
self.assertEquals(brain.Title, doc.Title())
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: <bound method CMFSite.Title of <CMFSite at /cmf>> != u'sometitle'
Error in test test_relationships (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 311, in test_relationships
a.addReference(c, "Owns")
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Referenceable.py", line 57, in addReference
updateReferences, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ReferenceEngine.py", line 336, in addReference
annotation._delObject(existing.id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 388, in _delObject
self._delOb(id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 285, in _delOb
delattr(self, id)
AttributeError: bd267004ce839f22c1e0052e7a774c6a
Failure in test test_renameKeepsReferences (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 109, in test_renameKeepsReferences
self.assertEquals(obj2.getBRefs(), [obj1])
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [<SimpleBTreeFolder at /cmf/Members/test_user_1_/container>] != [<SimpleType at /cmf/Members/test_user_1_/container/foo>]
Failure in test test_renamecontainerKeepsReferences (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 143, in test_renamecontainerKeepsReferences
self.assertEquals(obj2.getBRefs(), [obj1])
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [<SimpleBTreeFolder at /cmf/Members/test_user_1_/container>] != [<SimpleType at /cmf/Members/test_user_1_/container/obj1>]
Failure in test test_renamecontainerKeepsReferences2 (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 181, in test_renamecontainerKeepsReferences2
self.assertEquals(objB.getBRefs(), [objA])
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: [<SimpleBTreeFolder at /cmf/Members/test_user_1_/folderA>] != [<SimpleType at /cmf/Members/test_user_1_/folderA/objA>]
Error in test test_renamedontchangeUID (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 78, in test_renamedontchangeUID
self.failUnless(UID in catalog.uniqueValuesFor('UID'))
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/ZCatalog.py", line 574, in uniqueValuesFor
return self._catalog.uniqueValuesFor(name)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/Catalog.py", line 405, in uniqueValuesFor
return self.getIndex(name).uniqueValues()
File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/Catalog.py", line 270, in getIndex
return self.indexes[name].__of__(self)
KeyError: 'UID'
Error in test test_setUID_keeps_relationships (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 236, in test_setUID_keeps_relationships
b.addReference(a, "KnowsAbout")
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Referenceable.py", line 57, in addReference
updateReferences, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ReferenceEngine.py", line 336, in addReference
annotation._delObject(existing.id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 379, in _delObject
ob = self._getOb(id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 295, in _getOb
raise AttributeError, id
AttributeError: ccd22c8d1459ed39ebdfaf2f87954974
Error in test test_singleReference (Products.Archetypes.tests.test_referenceable.SimpleBTreeFolderReferenceableTests)
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_referenceable.py", line 390, in test_singleReference
a.addReference(b, "KnowsAbout")
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/Referenceable.py", line 57, in addReference
updateReferences, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf22-plone40/lib/python/Products/Archetypes/ReferenceEngine.py", line 336, in addReference
annotation._delObject(existing.id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 388, in _delObject
self._delOb(id)
File "/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/ObjectManager.py", line 285, in _delOb
delattr(self, id)
AttributeError: 63ead2ebc73b742f5c4541815a95b3db
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 487 tests with 26 failures and 23 errors in 1 minutes 37.250 seconds.
Tearing down left over layers:
Tear down Products.CMFTestCase.layer.CMFSite in 0.176 seconds.
Tear down Products.CMFTestCase.layer.ZCML in 0.020 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 575 tests, 27 failures, 23 errors in 1 minutes 50.163 seconds.
FAILED (failures=27, errors=23)
More information about the Testbot
mailing list