[Testbot] FAILED (failures=1, errors=1) : AT-trunk Plone-trunk Zope-trunk Python-2.4.4
Archetypes Tests
plone-tests at epy.co.at
Tue Dec 18 05:05:43 UTC 2007
Archetypes Tests : FAILED (failures=1, errors=1)
AT-trunk Plone-trunk Zope-trunk 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-cmf21-plone35/lib/python/Products/CMFPlone/utils.py:27: DeprecationWarning: ITranslatable: Please use Products.LinguaPlone.interfaces.ITranslatable instead. This interface will be removed in Plone 4.0
from Products.CMFPlone.interfaces.Translatable import ITranslatable
/home/stefan/autotest/temp/python24-zope211-cmf21-plone35/lib/python/Products/GenericSetup/registry.py:570: UserWarning: Version for profile Products.Archetypes:Archetypes_sampletypes 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-cmf21-plone35/lib/python/Products/PloneLanguageTool/interfaces.py:7: DeprecationWarning: ITranslatable: Please use Products.LinguaPlone.interfaces.ITranslatable instead. This interface will be removed in Plone 4.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])
/home/stefan/autotest/temp/python24-zope211-cmf21-plone35/lib/python/Products/GenericSetup/registry.py:570: UserWarning: Version for profile Products.CMFDefault: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-cmf21-plone35/lib/python/Products/GenericSetup/registry.py:570: UserWarning: Version for profile Products.CMFDefault:views_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-cmf21-plone35/lib/python/Products/GenericSetup/registry.py:570: UserWarning: Version for profile Products.CMFDefault:sample_content taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
Failed to import ZPsycopgDA
Failed to import ZMySQLDA
Parsing /home/stefan/autotest/temp/python24-zope211-cmf21-plone35/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-cmf21-plone35/Products/PortalTransforms/transforms/rest.py", line 5, in rest
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone35/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 0xb632ef4c>
Failure
/home/stefan/autotest/temp/python24-zope211-cmf21-plone35/lib/python/Products/GenericSetup/registry.py:570: 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-cmf21-plone35/lib/python/Products/GenericSetup/registry.py:570: 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-cmf21-plone35/lib/python/Products/GenericSetup/registry.py:570: 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-cmf21-plone35/lib/python/Products/GenericSetup/registry.py:570: 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-cmf21-plone35/lib/python/Products/GenericSetup/registry.py:570: 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-cmf21-plone35/lib/python/Products/GenericSetup/registry.py:570: 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. '
Ran 16 tests with 1 failures and 0 errors in 0.861 seconds.
Running Products.CMFTestCase.layer.ZCML tests:
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.308 seconds.
Set up Products.CMFTestCase.layer.ZCML in 2.410 seconds.
/home/stefan/autotest/temp/python24-zope211-cmf21-plone35/lib/python/Products/GenericSetup/registry.py:211: UserWarning: The version parameter for registerStep.ImportStepRegistry is deprecated.
warn('The version parameter for registerStep.ImportStepRegistry '
Ran 71 tests with 0 failures and 0 errors in 3.196 seconds.
Running Products.CMFTestCase.layer.CMFSite tests:
Set up Products.CMFTestCase.layer.CMFSite in 2.184 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-cmf21-plone35/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 80, 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 247, 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-cmf21-plone35/lib/python/plone/app/content/browser/foldercontents.py", line 40, in icon
icon = ploneview.getIcon(self.context)
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone35/lib/python/Products/CMFPlone/browser/ploneview.py", line 389, in getIcon
if not self.icons_visible():
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone35/lib/python/plone/memoize/view.py", line 55, in memogetter
value = cache[key] = func(*args, **kwargs)
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone35/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=1197953785.870.511141323752">
Show Error Log Entry
</a>
</div>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
/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)
Ran 482 tests with 0 failures and 1 errors in 115.474 seconds.
Tearing down left over layers:
Tear down Products.CMFTestCase.layer.CMFSite in 0.178 seconds.
Tear down Products.CMFTestCase.layer.ZCML in 0.019 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 569 tests, 1 failures, 1 errors
FAILED (failures=1, errors=1)
More information about the Testbot
mailing list