[Testbot] FAILED (failures=32, errors=33) : Plone-4.0 Zope-2.12 Python-2.6.2
Plone Products Tests
plone-tests at epy.co.at
Sat Oct 24 02:04:58 UTC 2009
Plone Products Tests : FAILED (failures=32, errors=33)
Plone-4.0 Zope-2.12 Python-2.6.2
Running /usr/local/python2.6/bin/python ./bin/test -q --no-color --no-progress --package Products.CMFPlone --package Products.CMFDynamicViewFTI --package Products.CMFFormController --package Products.CMFQuickInstallerTool --package Products.ExtendedPathIndex --package Products.PasswordResetTool --package Products.PloneLanguageTool --package Products.ResourceRegistries --package Products.statusmessages
Running Testing.ZopeTestCase.layer.ZopeLite tests:
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.901 seconds.
Ran 162 tests with 0 failures and 0 errors in 0.848 seconds.
Running Products.CMFTestCase.layer.CMFSite tests:
Set up Products.CMFTestCase.layer.ZCML in 2.989 seconds.
Set up Products.CMFTestCase.layer.CMFSite in 0.248 seconds.
Ran 84 tests with 0 failures and 0 errors in 4.122 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
Tear down Products.CMFTestCase.layer.CMFSite in 0.043 seconds.
Tear down Products.CMFTestCase.layer.ZCML in 0.004 seconds.
Set up Products.PloneTestCase.layer.ZCML in 1.675 seconds.
Ran 12 tests with 0 failures and 0 errors in 0.016 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
Set up Products.PloneTestCase.layer.PloneSite in 4.616 seconds.
Failure in test testBrowserDefaultMixinFileViewMethodGetsTemplate (Products.CMFPlone.tests.testBrowserDefault.TestPloneToolBrowserDefault)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testBrowserDefault.py", line 127, in testBrowserDefaultMixinFileViewMethodGetsTemplate
self.compareLayoutVsView(self.portal.atctfile, path="/view")
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testBrowserDefault.py", line 68, in compareLayoutVsView
self.fail("\n".join([line for line in diff]))
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 317, in fail
raise self.failureException, msg
AssertionError: ---
+++
@@ -139,6 +139,9 @@
<h5 class="hiddenStructure">Sections</h5>
+</div>
+</div>
+
</div>
</div>
Failure in test testCallWithBrowserDefaultMixinGetsSelectedLayout (Products.CMFPlone.tests.testBrowserDefault.TestPloneToolBrowserDefault)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testBrowserDefault.py", line 122, in testCallWithBrowserDefaultMixinGetsSelectedLayout
self.compareLayoutVsView(self.portal.atctdocument, path="")
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testBrowserDefault.py", line 68, in compareLayoutVsView
self.fail("\n".join([line for line in diff]))
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 317, in fail
raise self.failureException, msg
AssertionError: ---
+++
@@ -139,6 +139,9 @@
<h5 class="hiddenStructure">Sections</h5>
+</div>
+</div>
+
</div>
</div>
Failure in test testViewMethodWithBrowserDefaultMixinGetsSelectedLayout (Products.CMFPlone.tests.testBrowserDefault.TestPloneToolBrowserDefault)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testBrowserDefault.py", line 119, in testViewMethodWithBrowserDefaultMixinGetsSelectedLayout
self.compareLayoutVsView(self.portal.atctdocument, path="/view")
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testBrowserDefault.py", line 68, in compareLayoutVsView
self.fail("\n".join([line for line in diff]))
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 317, in fail
raise self.failureException, msg
AssertionError: ---
+++
@@ -139,6 +139,9 @@
<h5 class="hiddenStructure">Sections</h5>
+</div>
+</div>
+
</div>
</div>
Failure in test testDefaultJSIsInstalled (Products.CMFPlone.tests.testCSSandJSRegistry.TestJSRegistry)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testCSSandJSRegistry.py", line 83, in testDefaultJSIsInstalled
self.failUnless(e in installedScriptIds, e)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 325, in failUnless
if not expr: raise self.failureException, msg
AssertionError: highlightsearchterms.js
Failure in test testClearImageTitle (Products.CMFPlone.tests.testContentTypeScripts.TestContentTypeScripts)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testContentTypeScripts.py", line 125, in testClearImageTitle
self.assertEqual(self.folder.image.Title(), '')
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 'Foo' != ''
Failure in test testImageCreate (Products.CMFPlone.tests.testContentTypeScripts.TestContentTypeScripts)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testContentTypeScripts.py", line 83, in testImageCreate
self.assertEqual(str(self.folder.image.data), dummy.GIF)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: '' != "GIF89a\x10\x00\x10\x00\xf3\x00\x00\x00\x93\xc8\x12\x9a\xcb*\xa2\xcf>\xa8\xd2P\xaf\xd5a\xb6\xd9\x81\xc3\xe1\xac\xd7\xeb\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00!\xff\x0bNETSCAPE2.0\x03\x01\x00\x00\x00!\xf9\x04\t\x00\x00\t\x00,\x00\x00\x00\x00\x10\x00\x10\x00\x00\x04\xad0\xa5\x94\x0e\x01\x00\x00rR\x82)\xa5\x94\x06\x00\x80\x10\x00\x00\x1c)\xa5\x94\x02\x10'\xa5\x94\xe0\x11 \xa4\x94\x06()\x19\x03SJ\x89\x80\x91\x0e\x10)\x19\x08\x80I)%\x01\x0e\x01'\xc1d\x000)\xa5t\x00\x01\x00\xa6\x94\x921)\x19\x93\x12\x00\x10\x90\x94RJ)\x19\x00L\x82\x04\x00\x92RJ)%\x03\x004\x89\x00\x00RJ\xc9\x98\x94\xa01)\x01@\xc0I\xc9\x00\x00MJ)\x1d@\x0e\x10)\x19\x08\x80I)%\x01N\x1a\x80\xc0\x94\x8cI)%\x02FJ\t\x06 NJ)\x1d\x01BJ0\xa54\x00\x00\x84\x00\x00F\x82)\xa5\x94\xd2!\x00\x00@\x0eL)\xa5\x08\x00;"
Failure in test testImageEdit (Products.CMFPlone.tests.testContentTypeScripts.TestContentTypeScripts)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testContentTypeScripts.py", line 88, in testImageEdit
self.assertEqual(str(self.folder.image.data), dummy.GIF)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: '' != "GIF89a\x10\x00\x10\x00\xf3\x00\x00\x00\x93\xc8\x12\x9a\xcb*\xa2\xcf>\xa8\xd2P\xaf\xd5a\xb6\xd9\x81\xc3\xe1\xac\xd7\xeb\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00!\xff\x0bNETSCAPE2.0\x03\x01\x00\x00\x00!\xf9\x04\t\x00\x00\t\x00,\x00\x00\x00\x00\x10\x00\x10\x00\x00\x04\xad0\xa5\x94\x0e\x01\x00\x00rR\x82)\xa5\x94\x06\x00\x80\x10\x00\x00\x1c)\xa5\x94\x02\x10'\xa5\x94\xe0\x11 \xa4\x94\x06()\x19\x03SJ\x89\x80\x91\x0e\x10)\x19\x08\x80I)%\x01\x0e\x01'\xc1d\x000)\xa5t\x00\x01\x00\xa6\x94\x921)\x19\x93\x12\x00\x10\x90\x94RJ)\x19\x00L\x82\x04\x00\x92RJ)%\x03\x004\x89\x00\x00RJ\xc9\x98\x94\xa01)\x01@\xc0I\xc9\x00\x00MJ)\x1d@\x0e\x10)\x19\x08\x80I)%\x01N\x1a\x80\xc0\x94\x8cI)%\x02FJ\t\x06 NJ)\x1d\x01BJ0\xa54\x00\x00\x84\x00\x00F\x82)\xa5\x94\xd2!\x00\x00@\x0eL)\xa5\x08\x00;"
Failure in test testImageEditEmptyString (Products.CMFPlone.tests.testContentTypeScripts.TestEditShortName)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testContentTypeScripts.py", line 176, in testImageEditEmptyString
self.assertEqual(str(self.folder.image.data), dummy.GIF)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: '' != "GIF89a\x10\x00\x10\x00\xf3\x00\x00\x00\x93\xc8\x12\x9a\xcb*\xa2\xcf>\xa8\xd2P\xaf\xd5a\xb6\xd9\x81\xc3\xe1\xac\xd7\xeb\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00!\xff\x0bNETSCAPE2.0\x03\x01\x00\x00\x00!\xf9\x04\t\x00\x00\t\x00,\x00\x00\x00\x00\x10\x00\x10\x00\x00\x04\xad0\xa5\x94\x0e\x01\x00\x00rR\x82)\xa5\x94\x06\x00\x80\x10\x00\x00\x1c)\xa5\x94\x02\x10'\xa5\x94\xe0\x11 \xa4\x94\x06()\x19\x03SJ\x89\x80\x91\x0e\x10)\x19\x08\x80I)%\x01\x0e\x01'\xc1d\x000)\xa5t\x00\x01\x00\xa6\x94\x921)\x19\x93\x12\x00\x10\x90\x94RJ)\x19\x00L\x82\x04\x00\x92RJ)%\x03\x004\x89\x00\x00RJ\xc9\x98\x94\xa01)\x01@\xc0I\xc9\x00\x00MJ)\x1d@\x0e\x10)\x19\x08\x80I)%\x01N\x1a\x80\xc0\x94\x8cI)%\x02FJ\t\x06 NJ)\x1d\x01BJ0\xa54\x00\x00\x84\x00\x00F\x82)\xa5\x94\xd2!\x00\x00@\x0eL)\xa5\x08\x00;"
Failure in test testImageEditNone (Products.CMFPlone.tests.testContentTypeScripts.TestEditShortName)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testContentTypeScripts.py", line 162, in testImageEditNone
self.assertEqual(str(self.folder.image.data), dummy.GIF)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: '' != "GIF89a\x10\x00\x10\x00\xf3\x00\x00\x00\x93\xc8\x12\x9a\xcb*\xa2\xcf>\xa8\xd2P\xaf\xd5a\xb6\xd9\x81\xc3\xe1\xac\xd7\xeb\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00!\xff\x0bNETSCAPE2.0\x03\x01\x00\x00\x00!\xf9\x04\t\x00\x00\t\x00,\x00\x00\x00\x00\x10\x00\x10\x00\x00\x04\xad0\xa5\x94\x0e\x01\x00\x00rR\x82)\xa5\x94\x06\x00\x80\x10\x00\x00\x1c)\xa5\x94\x02\x10'\xa5\x94\xe0\x11 \xa4\x94\x06()\x19\x03SJ\x89\x80\x91\x0e\x10)\x19\x08\x80I)%\x01\x0e\x01'\xc1d\x000)\xa5t\x00\x01\x00\xa6\x94\x921)\x19\x93\x12\x00\x10\x90\x94RJ)\x19\x00L\x82\x04\x00\x92RJ)%\x03\x004\x89\x00\x00RJ\xc9\x98\x94\xa01)\x01@\xc0I\xc9\x00\x00MJ)\x1d@\x0e\x10)\x19\x08\x80I)%\x01N\x1a\x80\xc0\x94\x8cI)%\x02FJ\t\x06 NJ)\x1d\x01BJ0\xa54\x00\x00\x84\x00\x00F\x82)\xa5\x94\xd2!\x00\x00@\x0eL)\xa5\x08\x00;"
Failure in test testImageEditShortName (Products.CMFPlone.tests.testContentTypeScripts.TestEditShortName)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testContentTypeScripts.py", line 198, in testImageEditShortName
self.failUnless('fred' in self.folder)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 325, in failUnless
if not expr: raise self.failureException, msg
AssertionError
Failure in test testImageEditString (Products.CMFPlone.tests.testContentTypeScripts.TestEditShortName)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testContentTypeScripts.py", line 188, in testImageEditString
self.assertEqual(str(self.folder.image.data), dummy.GIF)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: '' != "GIF89a\x10\x00\x10\x00\xf3\x00\x00\x00\x93\xc8\x12\x9a\xcb*\xa2\xcf>\xa8\xd2P\xaf\xd5a\xb6\xd9\x81\xc3\xe1\xac\xd7\xeb\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00!\xff\x0bNETSCAPE2.0\x03\x01\x00\x00\x00!\xf9\x04\t\x00\x00\t\x00,\x00\x00\x00\x00\x10\x00\x10\x00\x00\x04\xad0\xa5\x94\x0e\x01\x00\x00rR\x82)\xa5\x94\x06\x00\x80\x10\x00\x00\x1c)\xa5\x94\x02\x10'\xa5\x94\xe0\x11 \xa4\x94\x06()\x19\x03SJ\x89\x80\x91\x0e\x10)\x19\x08\x80I)%\x01\x0e\x01'\xc1d\x000)\xa5t\x00\x01\x00\xa6\x94\x921)\x19\x93\x12\x00\x10\x90\x94RJ)\x19\x00L\x82\x04\x00\x92RJ)%\x03\x004\x89\x00\x00RJ\xc9\x98\x94\xa01)\x01@\xc0I\xc9\x00\x00MJ)\x1d@\x0e\x10)\x19\x08\x80I)%\x01N\x1a\x80\xc0\x94\x8cI)%\x02FJ\t\x06 NJ)\x1d\x01BJ0\xa54\x00\x00\x84\x00\x00F\x82)\xa5\x94\xd2!\x00\x00@\x0eL)\xa5\x08\x00;"
/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PortalTransforms/Products/PortalTransforms/libtransforms/commandtransform.py:97: DeprecationWarning: os.popen4 is deprecated. Use the subprocess module.
cin, couterr = os.popen4(command, 'b')
Failure in test testImageEditKeepsMimeType (Products.CMFPlone.tests.testContentTypeScripts.TestEditFileKeepsMimeType)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testContentTypeScripts.py", line 228, in testImageEditKeepsMimeType
self.assertEqual(self.folder.image.Format(), 'image/gif')
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 'text/plain' != 'image/gif'
Failure in test testImageMimeType (Products.CMFPlone.tests.testContentTypeScripts.TestEditFileKeepsMimeType)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testContentTypeScripts.py", line 216, in testImageMimeType
self.assertEqual(self.folder.image.Format(), 'image/gif')
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 'text/plain' != 'image/gif'
Failure in test testImageRenameKeepsMimeType (Products.CMFPlone.tests.testContentTypeScripts.TestEditFileKeepsMimeType)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testContentTypeScripts.py", line 244, in testImageRenameKeepsMimeType
self.assertEqual(self.folder.image.Format(), 'image/gif')
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 'text/plain' != 'image/gif'
Failure in test testImageEdit (Products.CMFPlone.tests.testContentTypes.TestContentTypes)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testContentTypes.py", line 87, in testImageEdit
self.assertEqual(str(self.folder.image.data), dummy.GIF)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: '' != "GIF89a\x10\x00\x10\x00\xf3\x00\x00\x00\x93\xc8\x12\x9a\xcb*\xa2\xcf>\xa8\xd2P\xaf\xd5a\xb6\xd9\x81\xc3\xe1\xac\xd7\xeb\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00!\xff\x0bNETSCAPE2.0\x03\x01\x00\x00\x00!\xf9\x04\t\x00\x00\t\x00,\x00\x00\x00\x00\x10\x00\x10\x00\x00\x04\xad0\xa5\x94\x0e\x01\x00\x00rR\x82)\xa5\x94\x06\x00\x80\x10\x00\x00\x1c)\xa5\x94\x02\x10'\xa5\x94\xe0\x11 \xa4\x94\x06()\x19\x03SJ\x89\x80\x91\x0e\x10)\x19\x08\x80I)%\x01\x0e\x01'\xc1d\x000)\xa5t\x00\x01\x00\xa6\x94\x921)\x19\x93\x12\x00\x10\x90\x94RJ)\x19\x00L\x82\x04\x00\x92RJ)%\x03\x004\x89\x00\x00RJ\xc9\x98\x94\xa01)\x01@\xc0I\xc9\x00\x00MJ)\x1d@\x0e\x10)\x19\x08\x80I)%\x01N\x1a\x80\xc0\x94\x8cI)%\x02FJ\t\x06 NJ)\x1d\x01BJ0\xa54\x00\x00\x84\x00\x00F\x82)\xa5\x94\xd2!\x00\x00@\x0eL)\xa5\x08\x00;"
Failure in test testEditFormatMetadataOfImage (Products.CMFPlone.tests.testPloneTool.TestPloneTool)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testPloneTool.py", line 108, in testEditFormatMetadataOfImage
self.assertEqual(self.folder.image.Format(), 'application/zip')
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 'text/plain' != 'application/zip'
Failure in test testImagePatch (Products.CMFPlone.tests.testPortalCreation.TestPortalCreation)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testPortalCreation.py", line 173, in testImagePatch
self.assertEqual(self.folder.foo.tag()[-len(endswith):], endswith)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 'e" alt="" title="" height="0" width="0" />' != ' alt="" title="" height="16" width="16" />'
Error in test testRenderSearchForm (Products.CMFPlone.tests.testQueryCatalog.TestSearchForms)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testQueryCatalog.py", line 235, in testRenderSearchForm
self.portal.search_form()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 324, in __call__
return self._bindAndExec(args, kw, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Shared/DC/Scripts/Bindings.py", line 361, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 240, in _exec
result = self.pt_render(extra_context=bound_names)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 180, in pt_render
self, source, extra_context
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/PageTemplate.py", line 80, in pt_render
showtal=showtal)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.pagetemplate-3.5.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 531, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 531, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 531, in do_optTag_tal
self.no_tag(stuff[-2], stuff[-1])
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 522, in do_optTag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
self.interpret(slot)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
self.interpret(macro)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 821, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 821, in do_loop_tal
self.interpret(block)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 633, in do_insertI18nText_tal
text = self.engine.evaluateText(stuff[0])
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/Expressions.py", line 202, in evaluateText
text = self.evaluate(expr)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
- file:/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/skins/plone_forms/search_form.pt
- Line 159, Column 20
- Expression: <PythonExpr portal_types.getTypeInfo(type).Title()>
- Names:
{'container': <PloneSite at /plone>,
'context': <PloneSite at /plone>,
'default': <object object at 0x2b0ef3c36a20>,
'here': <PloneSite at /plone>,
'loop': {u'sublist': <Products.PageTemplates.Expressions.PathIterator object at 0x831b710>,
u'type': <Products.PageTemplates.Expressions.PathIterator object at 0x82a2510>},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x9700908>,
'request': <HTTPRequest, URL=http://nohost>,
'root': <Application at >,
'template': <FSPageTemplate at /plone/search_form>,
'traverse_subpath': [],
'user': <PloneUser 'test_user_1_'>}
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/ZRPythonExpr.py", line 49, in __call__
return eval(self._code, vars, {})
- __traceback_info__: portal_types.getTypeInfo(type).Title()
File "PythonExpr", line 1, in <expression>
AttributeError: 'NoneType' object has no attribute 'Title'
Failure in test testPUTImage (Products.CMFPlone.tests.testWebDAV.TestPUTObjects)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testWebDAV.py", line 150, in testPUTImage
self.assertEqual(str(self.folder.new_image.getImage().data), dummy.GIF)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: '' != "GIF89a\x10\x00\x10\x00\xf3\x00\x00\x00\x93\xc8\x12\x9a\xcb*\xa2\xcf>\xa8\xd2P\xaf\xd5a\xb6\xd9\x81\xc3\xe1\xac\xd7\xeb\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00!\xff\x0bNETSCAPE2.0\x03\x01\x00\x00\x00!\xf9\x04\t\x00\x00\t\x00,\x00\x00\x00\x00\x10\x00\x10\x00\x00\x04\xad0\xa5\x94\x0e\x01\x00\x00rR\x82)\xa5\x94\x06\x00\x80\x10\x00\x00\x1c)\xa5\x94\x02\x10'\xa5\x94\xe0\x11 \xa4\x94\x06()\x19\x03SJ\x89\x80\x91\x0e\x10)\x19\x08\x80I)%\x01\x0e\x01'\xc1d\x000)\xa5t\x00\x01\x00\xa6\x94\x921)\x19\x93\x12\x00\x10\x90\x94RJ)\x19\x00L\x82\x04\x00\x92RJ)%\x03\x004\x89\x00\x00RJ\xc9\x98\x94\xa01)\x01@\xc0I\xc9\x00\x00MJ)\x1d@\x0e\x10)\x19\x08\x80I)%\x01N\x1a\x80\xc0\x94\x8cI)%\x02FJ\t\x06 NJ)\x1d\x01BJ0\xa54\x00\x00\x84\x00\x00F\x82)\xa5\x94\xd2!\x00\x00@\x0eL)\xa5\x08\x00;"
Failure in test testPUTImageGIFNoContentType (Products.CMFPlone.tests.testWebDAV.TestPUTObjects)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testWebDAV.py", line 167, in testPUTImageGIFNoContentType
self.assertEqual(str(self.folder['test.gif'].getImage().data), dummy.GIF)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: '' != "GIF89a\x10\x00\x10\x00\xf3\x00\x00\x00\x93\xc8\x12\x9a\xcb*\xa2\xcf>\xa8\xd2P\xaf\xd5a\xb6\xd9\x81\xc3\xe1\xac\xd7\xeb\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00!\xff\x0bNETSCAPE2.0\x03\x01\x00\x00\x00!\xf9\x04\t\x00\x00\t\x00,\x00\x00\x00\x00\x10\x00\x10\x00\x00\x04\xad0\xa5\x94\x0e\x01\x00\x00rR\x82)\xa5\x94\x06\x00\x80\x10\x00\x00\x1c)\xa5\x94\x02\x10'\xa5\x94\xe0\x11 \xa4\x94\x06()\x19\x03SJ\x89\x80\x91\x0e\x10)\x19\x08\x80I)%\x01\x0e\x01'\xc1d\x000)\xa5t\x00\x01\x00\xa6\x94\x921)\x19\x93\x12\x00\x10\x90\x94RJ)\x19\x00L\x82\x04\x00\x92RJ)%\x03\x004\x89\x00\x00RJ\xc9\x98\x94\xa01)\x01@\xc0I\xc9\x00\x00MJ)\x1d@\x0e\x10)\x19\x08\x80I)%\x01N\x1a\x80\xc0\x94\x8cI)%\x02FJ\t\x06 NJ)\x1d\x01BJ0\xa54\x00\x00\x84\x00\x00F\x82)\xa5\x94\xd2!\x00\x00@\x0eL)\xa5\x08\x00;"
Failure in test testPUTImageICONoContentType (Products.CMFPlone.tests.testWebDAV.TestPUTObjects)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testWebDAV.py", line 237, in testPUTImageICONoContentType
self.assertEqual(str(self.folder['test.ico'].getImage().data), dummy.GIF)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: '' != "GIF89a\x10\x00\x10\x00\xf3\x00\x00\x00\x93\xc8\x12\x9a\xcb*\xa2\xcf>\xa8\xd2P\xaf\xd5a\xb6\xd9\x81\xc3\xe1\xac\xd7\xeb\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00!\xff\x0bNETSCAPE2.0\x03\x01\x00\x00\x00!\xf9\x04\t\x00\x00\t\x00,\x00\x00\x00\x00\x10\x00\x10\x00\x00\x04\xad0\xa5\x94\x0e\x01\x00\x00rR\x82)\xa5\x94\x06\x00\x80\x10\x00\x00\x1c)\xa5\x94\x02\x10'\xa5\x94\xe0\x11 \xa4\x94\x06()\x19\x03SJ\x89\x80\x91\x0e\x10)\x19\x08\x80I)%\x01\x0e\x01'\xc1d\x000)\xa5t\x00\x01\x00\xa6\x94\x921)\x19\x93\x12\x00\x10\x90\x94RJ)\x19\x00L\x82\x04\x00\x92RJ)%\x03\x004\x89\x00\x00RJ\xc9\x98\x94\xa01)\x01@\xc0I\xc9\x00\x00MJ)\x1d@\x0e\x10)\x19\x08\x80I)%\x01N\x1a\x80\xc0\x94\x8cI)%\x02FJ\t\x06 NJ)\x1d\x01BJ0\xa54\x00\x00\x84\x00\x00F\x82)\xa5\x94\xd2!\x00\x00@\x0eL)\xa5\x08\x00;"
Failure in test testPUTImageJPGNoContentType (Products.CMFPlone.tests.testWebDAV.TestPUTObjects)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testWebDAV.py", line 184, in testPUTImageJPGNoContentType
self.assertEqual(str(self.folder['test.jpg'].getImage().data), dummy.GIF)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: '' != "GIF89a\x10\x00\x10\x00\xf3\x00\x00\x00\x93\xc8\x12\x9a\xcb*\xa2\xcf>\xa8\xd2P\xaf\xd5a\xb6\xd9\x81\xc3\xe1\xac\xd7\xeb\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00!\xff\x0bNETSCAPE2.0\x03\x01\x00\x00\x00!\xf9\x04\t\x00\x00\t\x00,\x00\x00\x00\x00\x10\x00\x10\x00\x00\x04\xad0\xa5\x94\x0e\x01\x00\x00rR\x82)\xa5\x94\x06\x00\x80\x10\x00\x00\x1c)\xa5\x94\x02\x10'\xa5\x94\xe0\x11 \xa4\x94\x06()\x19\x03SJ\x89\x80\x91\x0e\x10)\x19\x08\x80I)%\x01\x0e\x01'\xc1d\x000)\xa5t\x00\x01\x00\xa6\x94\x921)\x19\x93\x12\x00\x10\x90\x94RJ)\x19\x00L\x82\x04\x00\x92RJ)%\x03\x004\x89\x00\x00RJ\xc9\x98\x94\xa01)\x01@\xc0I\xc9\x00\x00MJ)\x1d@\x0e\x10)\x19\x08\x80I)%\x01N\x1a\x80\xc0\x94\x8cI)%\x02FJ\t\x06 NJ)\x1d\x01BJ0\xa54\x00\x00\x84\x00\x00F\x82)\xa5\x94\xd2!\x00\x00@\x0eL)\xa5\x08\x00;"
Failure in test testPUTImagePNGNoContentType (Products.CMFPlone.tests.testWebDAV.TestPUTObjects)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testWebDAV.py", line 201, in testPUTImagePNGNoContentType
self.assertEqual(str(self.folder['test.png'].getImage().data), dummy.GIF)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: '' != "GIF89a\x10\x00\x10\x00\xf3\x00\x00\x00\x93\xc8\x12\x9a\xcb*\xa2\xcf>\xa8\xd2P\xaf\xd5a\xb6\xd9\x81\xc3\xe1\xac\xd7\xeb\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00!\xff\x0bNETSCAPE2.0\x03\x01\x00\x00\x00!\xf9\x04\t\x00\x00\t\x00,\x00\x00\x00\x00\x10\x00\x10\x00\x00\x04\xad0\xa5\x94\x0e\x01\x00\x00rR\x82)\xa5\x94\x06\x00\x80\x10\x00\x00\x1c)\xa5\x94\x02\x10'\xa5\x94\xe0\x11 \xa4\x94\x06()\x19\x03SJ\x89\x80\x91\x0e\x10)\x19\x08\x80I)%\x01\x0e\x01'\xc1d\x000)\xa5t\x00\x01\x00\xa6\x94\x921)\x19\x93\x12\x00\x10\x90\x94RJ)\x19\x00L\x82\x04\x00\x92RJ)%\x03\x004\x89\x00\x00RJ\xc9\x98\x94\xa01)\x01@\xc0I\xc9\x00\x00MJ)\x1d@\x0e\x10)\x19\x08\x80I)%\x01N\x1a\x80\xc0\x94\x8cI)%\x02FJ\t\x06 NJ)\x1d\x01BJ0\xa54\x00\x00\x84\x00\x00F\x82)\xa5\x94\xd2!\x00\x00@\x0eL)\xa5\x08\x00;"
Failure in test testPUTImageTIFFNoContentType (Products.CMFPlone.tests.testWebDAV.TestPUTObjects)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testWebDAV.py", line 218, in testPUTImageTIFFNoContentType
self.assertEqual(str(self.folder['test.tiff'].getImage().data), dummy.GIF)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: '' != "GIF89a\x10\x00\x10\x00\xf3\x00\x00\x00\x93\xc8\x12\x9a\xcb*\xa2\xcf>\xa8\xd2P\xaf\xd5a\xb6\xd9\x81\xc3\xe1\xac\xd7\xeb\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00!\xff\x0bNETSCAPE2.0\x03\x01\x00\x00\x00!\xf9\x04\t\x00\x00\t\x00,\x00\x00\x00\x00\x10\x00\x10\x00\x00\x04\xad0\xa5\x94\x0e\x01\x00\x00rR\x82)\xa5\x94\x06\x00\x80\x10\x00\x00\x1c)\xa5\x94\x02\x10'\xa5\x94\xe0\x11 \xa4\x94\x06()\x19\x03SJ\x89\x80\x91\x0e\x10)\x19\x08\x80I)%\x01\x0e\x01'\xc1d\x000)\xa5t\x00\x01\x00\xa6\x94\x921)\x19\x93\x12\x00\x10\x90\x94RJ)\x19\x00L\x82\x04\x00\x92RJ)%\x03\x004\x89\x00\x00RJ\xc9\x98\x94\xa01)\x01@\xc0I\xc9\x00\x00MJ)\x1d@\x0e\x10)\x19\x08\x80I)%\x01N\x1a\x80\xc0\x94\x8cI)%\x02FJ\t\x06 NJ)\x1d\x01BJ0\xa54\x00\x00\x84\x00\x00F\x82)\xa5\x94\xd2!\x00\x00@\x0eL)\xa5\x08\x00;"
Failure in test testPUTIndexHtmlImage (Products.CMFPlone.tests.testWebDAV.TestPUTObjects)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testWebDAV.py", line 250, in testPUTIndexHtmlImage
self.assertEqual(str(self.folder.index_html.getImage().data), dummy.GIF)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: '' != "GIF89a\x10\x00\x10\x00\xf3\x00\x00\x00\x93\xc8\x12\x9a\xcb*\xa2\xcf>\xa8\xd2P\xaf\xd5a\xb6\xd9\x81\xc3\xe1\xac\xd7\xeb\xff\xff\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00!\xff\x0bNETSCAPE2.0\x03\x01\x00\x00\x00!\xf9\x04\t\x00\x00\t\x00,\x00\x00\x00\x00\x10\x00\x10\x00\x00\x04\xad0\xa5\x94\x0e\x01\x00\x00rR\x82)\xa5\x94\x06\x00\x80\x10\x00\x00\x1c)\xa5\x94\x02\x10'\xa5\x94\xe0\x11 \xa4\x94\x06()\x19\x03SJ\x89\x80\x91\x0e\x10)\x19\x08\x80I)%\x01\x0e\x01'\xc1d\x000)\xa5t\x00\x01\x00\xa6\x94\x921)\x19\x93\x12\x00\x10\x90\x94RJ)\x19\x00L\x82\x04\x00\x92RJ)%\x03\x004\x89\x00\x00RJ\xc9\x98\x94\xa01)\x01@\xc0I\xc9\x00\x00MJ)\x1d@\x0e\x10)\x19\x08\x80I)%\x01N\x1a\x80\xc0\x94\x8cI)%\x02FJ\t\x06 NJ)\x1d\x01BJ0\xa54\x00\x00\x84\x00\x00F\x82)\xa5\x94\xd2!\x00\x00@\x0eL)\xa5\x08\x00;"
Failure in test /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt
Failed doctest test for LoginAndLogout.txt
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 40, in LoginAndLogout.txt
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 40, example 18]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 41, in LoginAndLogout.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/logged_out'
Got:
'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 52, in LoginAndLogout.txt
Failed example:
browser.getControl('Login Name').value = 'test_user_1_'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 52, example 22]>", line 1, in <module>
browser.getControl('Login Name').value = 'test_user_1_'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Login Name'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 53, in LoginAndLogout.txt
Failed example:
browser.getControl('Password').value = 'wrongpassword'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 53, example 23]>", line 1, in <module>
browser.getControl('Password').value = 'wrongpassword'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 54, in LoginAndLogout.txt
Failed example:
browser.getControl('Log in').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 54, example 24]>", line 1, in <module>
browser.getControl('Log in').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Log in'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 55, in LoginAndLogout.txt
Failed example:
"Login failed" in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 57, in LoginAndLogout.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/login_form'
Got:
'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 65, in LoginAndLogout.txt
Failed example:
browser.getControl('Login Name').value = 'test_user_1_'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 65, example 29]>", line 1, in <module>
browser.getControl('Login Name').value = 'test_user_1_'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Login Name'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 66, in LoginAndLogout.txt
Failed example:
browser.getControl('Password').value = 'secret'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 66, example 30]>", line 1, in <module>
browser.getControl('Password').value = 'secret'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 67, in LoginAndLogout.txt
Failed example:
browser.getControl('Log in').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 67, example 31]>", line 1, in <module>
browser.getControl('Log in').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Log in'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 71, in LoginAndLogout.txt
Failed example:
'You are now logged in' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 82, in LoginAndLogout.txt
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 82, example 35]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 83, in LoginAndLogout.txt
Failed example:
'You are now logged out' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 94, in LoginAndLogout.txt
Failed example:
browser.getControl('Login Name').value = 'rootuser'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 94, example 39]>", line 1, in <module>
browser.getControl('Login Name').value = 'rootuser'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Login Name'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 95, in LoginAndLogout.txt
Failed example:
browser.getControl('Password').value = 'secret'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 95, example 40]>", line 1, in <module>
browser.getControl('Password').value = 'secret'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 96, in LoginAndLogout.txt
Failed example:
browser.getControl('Log in').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 96, example 41]>", line 1, in <module>
browser.getControl('Log in').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Log in'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 97, in LoginAndLogout.txt
Failed example:
'You are now logged in' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 107, in LoginAndLogout.txt
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 107, example 44]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 109, in LoginAndLogout.txt
Failed example:
'require_login' in browser.url
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 112, in LoginAndLogout.txt
Failed example:
browser.getControl('Login Name').value = 'test_user_1_'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 112, example 47]>", line 1, in <module>
browser.getControl('Login Name').value = 'test_user_1_'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Login Name'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 113, in LoginAndLogout.txt
Failed example:
browser.getControl('Password').value = 'secret'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 113, example 48]>", line 1, in <module>
browser.getControl('Password').value = 'secret'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 114, in LoginAndLogout.txt
Failed example:
browser.getControl('Log in').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 114, example 49]>", line 1, in <module>
browser.getControl('Log in').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Log in'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 188, in LoginAndLogout.txt
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest LoginAndLogout.txt[line 188, example 74]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 189, in LoginAndLogout.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/logged_out'
Got:
'http://nohost/plone/'
Failure in test /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/browser.txt
Failed doctest test for browser.txt
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/browser.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/browser.txt", line 23, in browser.txt
Failed example:
browser.contents
Expected:
'...<body class=" template-dashboard"...'
Got:
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\n<html xmlns="http://www.w3.org/1999/xhtml" lang="en">\n\n<!-- TODO: Can we do this in the @@plone view? -->\n\n\t\n \n \n \n \n\n\n\n<head>\n\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n\n\t<!-- Forces IE8+ into newest rendering engine even if on an intranet. This has to be defined before any script/style tags. -->\n\t<meta http-equiv="X-UA-Compatible" content="IE=edge" /> \n\t<!-- Enables iPhone web app use, fullscreen when added to home screen -->\n\t<meta name="apple-mobile-web-app-capable" content="yes" />\n\n\t\n\t\t<base href="http://nohost/plone/" /><!--[if lt IE 7]></base><![endif]-->\n\t\n\n\t\n\n<link rel="kss-base-url" href="http://nohost/plone/" />\n\n \n <style type="text/css" media="screen">@import url(http://nohost/plone/portal_css/Sunburst%20Theme/member-cachekey6053.css);</style>\n <style type="text/css">@import url(http://nohost/plone/portal_css/Sunburst%20Theme/base-cachekey2298.css);</style>\n <!--[if lt IE 8]> \n \n <style type="text/css" media="screen">@import url(http://nohost/plone/portal_css/Sunburst%20Theme/IEFixes-cachekey3178.css);</style>\n <![endif]-->\n \n <style type="text/css" media="all">@import url(http://nohost/plone/portal_css/Sunburst%20Theme/ploneCustom-cachekey0657.css);</style>\n\n \n <link rel="kinetic-stylesheet" type="text/css" href="http://nohost/plone/portal_kss/Sunburst%20Theme/resourcetinymce.ksstinymce-cachekey0963.kss" />\n <link rel="kinetic-stylesheet" type="text/css" href="http://nohost/plone/portal_kss/Sunburst%20Theme/at-cachekey9274.kss" />\n \n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/jquery-cachekey3508.js"></script>\n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/dropdown-cachekey2487.js"></script>\n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/sarissa-cachekey8044.js"></script>\n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/resourcebase2-dom-fp-cachekey9863.js"></script>\n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/resourcekukit-cachekey6263.js"></script>\n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/tiny_mce-cachekey8158.js"></script>\n <!--[if lt IE 8]>\n \n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/IE8-cachekey8628.js"></script>\n <![endif]-->\n \n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/jqtbling-cachekey9646.js"></script>\n\n\n<title>Plone site</title>\n\t\n <link rel="author" href="http://nohost/plone/author/" title="Author information" />\n\n\n\n <link rel="shortcut icon" type="image/x-icon" href="http://nohost/plone/favicon.ico" />\n\n\n\n <link rel="home" href="http://nohost/plone" title="Front page" />\n\n <link rel="contents" href="http://nohost/plone/sitemap" title="Site Map" />\n\n\n\n\n\n\n <link rel="search" href="http://nohost/plone/search_form" title="Search this site" />\n\n\n\n\t\n\t\n\t\n\t\n\t\n\n\t<meta name="viewport" content="width=320; initial-scale=0.6666; maximum-scale=1.0; minimum-scale=0.6666" />\n\t<meta name="generator" content="Plone - http://plone.org" />\n</head>\n\n<!-- TODO: Can we do this in the @@plone view? -->\n<body class=" template-insufficient_privileges" dir="ltr">\n\n<div id="visual-portal-wrapper">\n\n\t\t<div id="portal-top" class="row">\n<div class="cell width-full position-0"> <!-- TODO: Temporary, this one should be in the template that is inserted -->\n\t\t\t<div id="portal-header">\n <p class="hiddenStructure">\n <a accesskey="2" href="http://nohost/plone/acl_users/credentials_cookie_auth/require_login?came_from=http://nohost/plone/@@dashboard#documentContent">Skip to content.</a> |\n\n <a accesskey="6" href="http://nohost/plone/acl_users/credentials_cookie_auth/require_login?came_from=http://nohost/plone/@@dashboard#portlet-navigation-tree">Skip to navigation</a>\n</p>\n\n<div id="portal-searchbox">\n <form name="searchform" action="http://nohost/plone/search">\n\n <label for="searchGadget" class="hiddenStructure">Search Site</label>\n\n <div class="LSBox">\n <input name="SearchableText" type="text" size="18" title="Search Site" accesskey="4" class="inputLabel" id="searchGadget" />\n\n <input class="searchButton" type="submit" value="Search" />\n \n <div class="searchSection">\n <input id="searchbox_currentfolder_only" class="noborder" type="checkbox" name="path" value="/plone" />\n <label for="searchbox_currentfolder_only" style="cursor: pointer">\n only in current section\n </label>\n </div>\n\n <div class="LSResult" id="LSResult" style=""><div class="LSShadow" id="LSShadow"></div></div>\n </div>\n </form>\n\n <div id="portal-advanced-search" class="hiddenStructure">\n <a href="http://nohost/plone/search_form" accesskey="5">\n Advanced Search…\n </a>\n </div>\n\n</div>\n\n<a id="portal-logo" accesskey="1" href="http://nohost/plone">\n <img src="http://nohost/plone/logo.png" alt="" title="" height="56" width="215" /></a>\n\n\n <h5 class="hiddenStructure">Sections</h5>\n\n <ul id="portal-globalnav"><li id="portaltab-index_html" class="selected"><a href="http://nohost/plone" title="">Home</a></li><li id="portaltab-news" class="plain"><a href="http://nohost/plone/news" title="Site News">News</a></li><li id="portaltab-events" class="plain"><a href="http://nohost/plone/events" title="Site Events">Events</a></li><li id="portaltab-Members" class="plain"><a href="http://nohost/plone/Members" title="Container for users\' home directories">Users</a></li></ul>\n\n</div>\n\n\n \n\n\n<div id="portal-breadcrumbs">\n\n <span id="breadcrumbs-you-are-here">You\nare here:</span>\n <span id="breadcrumbs-home">\n <a href="http://nohost/plone">Home</a>\n \n </span>\n\n</div>\n\n</div>\n\t\t</div>\n\t<div id="portal-columns" class="row">\n\n\t\t<!-- TODO: There is probably be a more elegant way to do this ;) -->\n\t\t\n\t\t\n\t\t\n\t\t<div id="portal-column-content" class="cell width-full position-0">\n\n\t\t\t<div class="">\n\n\t\t\t\t\n \n\t\t\t\t<div id="region-content" class="documentContent">\n\n\t\t\t\t\t<a name="documentContent"></a>\n\n\t\t\t\t\t\n\n <dl class="portalMessage info" id="kssPortalMessage" style="display:none">\n <dt>Info</dt>\n <dd></dd>\n </dl>\n\n\n\n\t\t\t\t\t<div id="viewlet-above-content"></div>\n\n\t\t\t\t\t\n\t\t\t\t\t\t<div id="content">\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<div>\n <div>\n <h1 class="documentFirstHeading">Insufficient Privileges</h1>\n\n <p>\n You do not have sufficient privileges to view this page. If you believe\n you are receiving this message in error, contact the\n <span><a href="http://nohost/plone/contact-info">site administration</a></span>.\n </p>\n </div>\n</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\n\t\t</div>\n\n\t\t\n\n\t\t\n\t</div>\n\n<div class="visualClear"></div> <!-- TODO: Temporary workaround -->\n\n\t<!-- TODO: Can we do this in the @@plone view? -->\n\t\n\n\t\n<div class="row"> <!-- TODO: Also temporary, should be in the proper template -->\n\t<div class="cell width-full position-0">\n\t\t<div id="portal-footer">\n\n<p>\n \n The\n <a href="http://plone.org">Plone<sup>®</sup> CMS — Open Source Content Management System</a>\n is\n <acronym title="Copyright">©</acronym>\n 2000-2009\n by the\n <a href="http://plone.org/foundation">Plone Foundation</a>\n et al.\n \n</p>\n\n<p>\n \n Plone<sup>®</sup> and the Plone logo are registered trademarks of the\n <a href="http://plone.org/foundation">Plone Foundation</a>.\n \n\n \n Distributed under the\n <a href="http://creativecommons.org/licenses/GPL/2.0/">GNU GPL license</a>.\n \n</p>\n\n</div>\n\n<div id="portal-colophon">\n\n<div class="colophonWrapper">\n<ul>\n <li>\n <a href="http://plone.org" title="This site was built using Plone CMS, the Open Source Content Management System. Click for more information.">\n Powered by Plone</a>\n </li>\n</ul>\n</div>\n</div>\n\n\n\t</div>\n</div>\n\t\n\n</div>\n\n<!-- TODO: This needs to go away. -->\n<!-- <div id="kss-spinner"><img tal:attributes="src string:${portal_url}/spinner.png" alt="" /></div> -->\n\n</body>\n</html>\n\n\n'
Failure in test /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/csrf.txt
Failed doctest test for csrf.txt
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/csrf.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/csrf.txt", line 46, in csrf.txt
Failed example:
browser.getLink('Site Setup')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[line 46, example 11]>", line 1, in <module>
browser.getLink('Site Setup')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/csrf.txt", line 194, in csrf.txt
Failed example:
browser.contents
Expected:
'...Info...User added...'
Got:
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\n<html xmlns="http://www.w3.org/1999/xhtml" lang="en">\n\n<!-- TODO: Can we do this in the @@plone view? -->\n\n\t\n \n \n \n \n\n\n\n<head>\n\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n\n\t<!-- Forces IE8+ into newest rendering engine even if on an intranet. This has to be defined before any script/style tags. -->\n\t<meta http-equiv="X-UA-Compatible" content="IE=edge" /> \n\t<!-- Enables iPhone web app use, fullscreen when added to home screen -->\n\t<meta name="apple-mobile-web-app-capable" content="yes" />\n\n\t\n\t\t<base href="http://nohost/plone/" /><!--[if lt IE 7]></base><![endif]-->\n\t\n\n\t\n\n<link rel="kss-base-url" href="http://nohost/plone/" />\n\n \n <style type="text/css" media="screen">@import url(http://nohost/plone/portal_css/Sunburst%20Theme/member-cachekey6053.css);</style>\n <style type="text/css">@import url(http://nohost/plone/portal_css/Sunburst%20Theme/base-cachekey2298.css);</style>\n <!--[if lt IE 8]> \n \n <style type="text/css" media="screen">@import url(http://nohost/plone/portal_css/Sunburst%20Theme/IEFixes-cachekey3178.css);</style>\n <![endif]-->\n \n <style type="text/css" media="all">@import url(http://nohost/plone/portal_css/Sunburst%20Theme/ploneCustom-cachekey0657.css);</style>\n\n \n <link rel="kinetic-stylesheet" type="text/css" href="http://nohost/plone/portal_kss/Sunburst%20Theme/resourcetinymce.ksstinymce-cachekey0963.kss" />\n <link rel="kinetic-stylesheet" type="text/css" href="http://nohost/plone/portal_kss/Sunburst%20Theme/at-cachekey9274.kss" />\n \n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/jquery-cachekey3508.js"></script>\n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/dropdown-cachekey2487.js"></script>\n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/sarissa-cachekey8044.js"></script>\n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/resourcebase2-dom-fp-cachekey9863.js"></script>\n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/resourcekukit-cachekey6263.js"></script>\n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/tiny_mce-cachekey8158.js"></script>\n <!--[if lt IE 8]>\n \n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/IE8-cachekey8628.js"></script>\n <![endif]-->\n \n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/jqtbling-cachekey9646.js"></script>\n\n\n<title>Plone site</title>\n\t\n <link rel="author" href="http://nohost/plone/author/" title="Author information" />\n\n\n\n <link rel="shortcut icon" type="image/x-icon" href="http://nohost/plone/favicon.ico" />\n\n\n\n <link rel="home" href="http://nohost/plone" title="Front page" />\n\n <link rel="contents" href="http://nohost/plone/sitemap" title="Site Map" />\n\n\n\n\n\n\n <link rel="search" href="http://nohost/plone/search_form" title="Search this site" />\n\n\n\n\t\n\t\n\t\n\t\n\t\n\n\t<meta name="viewport" content="width=320; initial-scale=0.6666; maximum-scale=1.0; minimum-scale=0.6666" />\n\t<meta name="generator" content="Plone - http://plone.org" />\n</head>\n\n<!-- TODO: Can we do this in the @@plone view? -->\n<body class=" template-registered" dir="ltr">\n\n<div id="visual-portal-wrapper">\n\n\t\t<div id="portal-top" class="row">\n<div class="cell width-full position-0"> <!-- TODO: Temporary, this one should be in the template that is inserted -->\n\t\t\t<div id="portal-header">\n <p class="hiddenStructure">\n <a accesskey="2" href="http://nohost/plone/@@join_form#documentContent">Skip to content.</a> |\n\n <a accesskey="6" href="http://nohost/plone/@@join_form#portlet-navigation-tree">Skip to navigation</a>\n</p>\n\n<div id="portal-searchbox">\n <form name="searchform" action="http://nohost/plone/search">\n\n <label for="searchGadget" class="hiddenStructure">Search Site</label>\n\n <div class="LSBox">\n <input name="SearchableText" type="text" size="18" title="Search Site" accesskey="4" class="inputLabel" id="searchGadget" />\n\n <input class="searchButton" type="submit" value="Search" />\n \n <div class="searchSection">\n <input id="searchbox_currentfolder_only" class="noborder" type="checkbox" name="path" value="/plone" />\n <label for="searchbox_currentfolder_only" style="cursor: pointer">\n only in current section\n </label>\n </div>\n\n <div class="LSResult" id="LSResult" style=""><div class="LSShadow" id="LSShadow"></div></div>\n </div>\n </form>\n\n <div id="portal-advanced-search" class="hiddenStructure">\n <a href="http://nohost/plone/search_form" accesskey="5">\n Advanced Search…\n </a>\n </div>\n\n</div>\n\n<a id="portal-logo" accesskey="1" href="http://nohost/plone">\n <img src="http://nohost/plone/logo.png" alt="" title="" height="56" width="215" /></a>\n\n\n <h5 class="hiddenStructure">Sections</h5>\n\n <ul id="portal-globalnav"><li id="portaltab-index_html" class="selected"><a href="http://nohost/plone" title="">Home</a></li><li id="portaltab-news" class="plain"><a href="http://nohost/plone/news" title="Site News">News</a></li><li id="portaltab-events" class="plain"><a href="http://nohost/plone/events" title="Site Events">Events</a></li><li id="portaltab-Members" class="plain"><a href="http://nohost/plone/Members" title="Container for users\' home directories">Users</a></li></ul>\n\n</div>\n\n\n \n\n\n<div id="portal-breadcrumbs">\n\n <span id="breadcrumbs-you-are-here">You\nare here:</span>\n <span id="breadcrumbs-home">\n <a href="http://nohost/plone">Home</a>\n \n </span>\n\n</div>\n\n</div>\n\t\t</div>\n\t<div id="portal-columns" class="row">\n\n\t\t<!-- TODO: There is probably be a more elegant way to do this ;) -->\n\t\t\n\t\t<div id="portal-column-content" class="cell width-3:4 position-0">\n\t\t\n\t\t\n\n\t\t\t<div class="documentEditable">\n\n\t\t\t\t<div id="edit-bar">\n\n \n\n <h5 class="hiddenStructure">Views</h5>\n\n <ul class="contentViews" id="content-views">\n\n \n <li id="contentview-folderContents" class="plain">\n <a href="http://nohost/plone/folder_contents">Contents</a>\n </li>\n \n \n <li id="contentview-view" class="selected">\n <a href="http://nohost/plone">View</a>\n </li>\n \n \n <li id="contentview-contentrules" class="plain">\n <a href="http://nohost/plone/@@manage-content-rules">Rules</a>\n </li>\n \n \n <li id="contentview-local_roles" class="plain">\n <a href="http://nohost/plone/@@sharing">Sharing</a>\n </li>\n \n\n </ul>\n \n \n\n\n<div class="contentActions">\n\n</div></div>\n \n\t\t\t\t<div id="region-content" class="documentContent">\n\n\t\t\t\t\t<a name="documentContent"></a>\n\n\t\t\t\t\t\n\n <dl class="portalMessage info" id="kssPortalMessage" style="display:none">\n <dt>Info</dt>\n <dd></dd>\n </dl>\n\n\n\n\t\t\t\t\t<div id="viewlet-above-content"></div>\n\n\t\t\t\t\t\n\t\t\t\t\t\t<div id="content">\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<div>\n\n\n\n<div>\n\n<h1 class="documentFirstHeading">\n Welcome!\n</h1>\n\n<p>\n You have been registered.\n</p>\n\n\n\n\n <p>\n Click the button to log in immediately.\n </p>\n\n <dl class="portalMessage error" id="enable_cookies_message" style="display:none">\n <dt>\n Error\n </dt>\n <dd>\n Cookies are not enabled. You must enable cookies before you can log in.\n </dd>\n </dl>\n\n\n <form action="http://nohost/plone/login_form" method="post">\n\n <input type="hidden" name="form.submitted" value="1" />\n <input type="hidden" name="js_enabled" id="js_enabled" value="0" />\n <input type="hidden" name="cookies_enabled" id="cookies_enabled" value="0" />\n <input type="hidden" name="login_name" id="login_name" value="" />\n <input type="hidden" name="pwd_empty" id="pwd_empty" value="0" />\n\n <input type="hidden" name="came_from" />\n <input type="hidden" name="__ac_name" value="johnny" id="__ac_name" />\n <input type="hidden" name="__ac_password" value="y0d4Wg!" id="__ac_password" />\n <input class="standalone" type="submit" value="Log in" />\n </form>\n\n\n</div>\n\n</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\n\t\t</div>\n\n\t\t\n\n\t\t<div id="portal-column-two" class="cell width-1:4 position-3:4">\n\t\t\t\n\t\t\t\t\n<div id="portletwrapper-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a6e657773" class="portletWrapper kssattr-portlethash-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a6e657773"><dl class="portlet portletNews" xmlns="http://www.w3.org/1999/xhtml">\n\n <dt class="portletHeader">\n <span class="portletTopLeft"></span>\n <a href="http://nohost/plone/news" class="tile">News</a>\n <span class="portletTopRight"></span>\n </dt>\n\n \n <dd class="portletItem odd">\n\n <a href="http://nohost/plone/Members/test_user_1_/important" class="tile" title="">\n <img width="16" height="16" src="http://nohost/plone/newsitem_icon.png" alt="News Item" />\n some important news!\n <span class="portletItemDetails">Oct 24, 2009</span>\n </a>\n </dd>\n \n\n <dd class="portletFooter">\n <span class="portletBottomLeft"></span>\n <a href="http://nohost/plone/news">\n More news…\n </a>\n <span class="portletBottomRight"></span>\n </dd>\n \n</dl>\n</div>\n\n\n<div class="managePortletsLink">\n <a title="View portlet management screen" href="http://nohost/plone/@@manage-portlets">Manage portlets</a>\n</div>\n\n\t\t\t\n\t\t</div>\n\t</div>\n\n<div class="visualClear"></div> <!-- TODO: Temporary workaround -->\n\n\t<!-- TODO: Can we do this in the @@plone view? -->\n\t\n\n\t\n<div class="row"> <!-- TODO: Also temporary, should be in the proper template -->\n\t<div class="cell width-full position-0">\n\t\t<div id="portal-footer">\n\n<p>\n \n The\n <a href="http://plone.org">Plone<sup>®</sup> CMS — Open Source Content Management System</a>\n is\n <acronym title="Copyright">©</acronym>\n 2000-2009\n by the\n <a href="http://plone.org/foundation">Plone Foundation</a>\n et al.\n \n</p>\n\n<p>\n \n Plone<sup>®</sup> and the Plone logo are registered trademarks of the\n <a href="http://plone.org/foundation">Plone Foundation</a>.\n \n\n \n Distributed under the\n <a href="http://creativecommons.org/licenses/GPL/2.0/">GNU GPL license</a>.\n \n</p>\n\n</div>\n\n<div id="portal-colophon">\n\n<div class="colophonWrapper">\n<ul>\n <li>\n <a href="http://plone.org" title="This site was built using Plone CMS, the Open Source Content Management System. Click for more information.">\n Powered by Plone</a>\n </li>\n</ul>\n</div>\n</div>\n\n\n\t</div>\n</div>\n\t\n\n</div>\n\n<!-- TODO: This needs to go away. -->\n<!-- <div id="kss-spinner"><img tal:attributes="src string:${portal_url}/spinner.png" alt="" /></div> -->\n\n</body>\n</html>\n\n\n'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/csrf.txt", line 197, in csrf.txt
Failed example:
browser.getLink('Users and Groups').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[line 197, example 76]>", line 1, in <module>
browser.getLink('Users and Groups').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/csrf.txt", line 198, in csrf.txt
Failed example:
browser.getControl('Show all').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[line 198, example 77]>", line 1, in <module>
browser.getControl('Show all').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Show all'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/csrf.txt", line 199, in csrf.txt
Failed example:
browser.getControl(name='users.roles:list:records').value = ['Manager'] * 3
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[line 199, example 78]>", line 1, in <module>
browser.getControl(name='users.roles:list:records').value = ['Manager'] * 3
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'users.roles:list:records'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/csrf.txt", line 200, in csrf.txt
Failed example:
browser.getControl('Apply Changes').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[line 200, example 79]>", line 1, in <module>
browser.getControl('Apply Changes').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Apply Changes'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/csrf.txt", line 201, in csrf.txt
Failed example:
browser.contents
Expected:
'...Info...Changes applied...'
Got:
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n\n<html xmlns="http://www.w3.org/1999/xhtml" lang="en">\n\n<!-- TODO: Can we do this in the @@plone view? -->\n\n\t\n \n \n \n \n\n\n\n<head>\n\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n\n\t<!-- Forces IE8+ into newest rendering engine even if on an intranet. This has to be defined before any script/style tags. -->\n\t<meta http-equiv="X-UA-Compatible" content="IE=edge" /> \n\t<!-- Enables iPhone web app use, fullscreen when added to home screen -->\n\t<meta name="apple-mobile-web-app-capable" content="yes" />\n\n\t\n\t\t<base href="http://nohost/plone/" /><!--[if lt IE 7]></base><![endif]-->\n\t\n\n\t\n\n<link rel="kss-base-url" href="http://nohost/plone/" />\n\n \n <style type="text/css" media="screen">@import url(http://nohost/plone/portal_css/Sunburst%20Theme/member-cachekey6053.css);</style>\n <style type="text/css">@import url(http://nohost/plone/portal_css/Sunburst%20Theme/base-cachekey2298.css);</style>\n <!--[if lt IE 8]> \n \n <style type="text/css" media="screen">@import url(http://nohost/plone/portal_css/Sunburst%20Theme/IEFixes-cachekey3178.css);</style>\n <![endif]-->\n \n <style type="text/css" media="all">@import url(http://nohost/plone/portal_css/Sunburst%20Theme/ploneCustom-cachekey0657.css);</style>\n\n \n <link rel="kinetic-stylesheet" type="text/css" href="http://nohost/plone/portal_kss/Sunburst%20Theme/resourcetinymce.ksstinymce-cachekey0963.kss" />\n <link rel="kinetic-stylesheet" type="text/css" href="http://nohost/plone/portal_kss/Sunburst%20Theme/at-cachekey9274.kss" />\n \n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/jquery-cachekey3508.js"></script>\n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/dropdown-cachekey2487.js"></script>\n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/sarissa-cachekey8044.js"></script>\n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/resourcebase2-dom-fp-cachekey9863.js"></script>\n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/resourcekukit-cachekey6263.js"></script>\n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/tiny_mce-cachekey8158.js"></script>\n <!--[if lt IE 8]>\n \n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/IE8-cachekey8628.js"></script>\n <![endif]-->\n \n <script type="text/javascript" src="http://nohost/plone/portal_javascripts/Sunburst%20Theme/jqtbling-cachekey9646.js"></script>\n\n\n<title>Plone site</title>\n\t\n <link rel="author" href="http://nohost/plone/author/" title="Author information" />\n\n\n\n <link rel="shortcut icon" type="image/x-icon" href="http://nohost/plone/favicon.ico" />\n\n\n\n <link rel="home" href="http://nohost/plone" title="Front page" />\n\n <link rel="contents" href="http://nohost/plone/sitemap" title="Site Map" />\n\n\n\n\n\n\n <link rel="search" href="http://nohost/plone/search_form" title="Search this site" />\n\n\n\n\t\n\t\n\t\n\t\n\t\n\n\t<meta name="viewport" content="width=320; initial-scale=0.6666; maximum-scale=1.0; minimum-scale=0.6666" />\n\t<meta name="generator" content="Plone - http://plone.org" />\n</head>\n\n<!-- TODO: Can we do this in the @@plone view? -->\n<body class=" template-registered" dir="ltr">\n\n<div id="visual-portal-wrapper">\n\n\t\t<div id="portal-top" class="row">\n<div class="cell width-full position-0"> <!-- TODO: Temporary, this one should be in the template that is inserted -->\n\t\t\t<div id="portal-header">\n <p class="hiddenStructure">\n <a accesskey="2" href="http://nohost/plone/@@join_form#documentContent">Skip to content.</a> |\n\n <a accesskey="6" href="http://nohost/plone/@@join_form#portlet-navigation-tree">Skip to navigation</a>\n</p>\n\n<div id="portal-searchbox">\n <form name="searchform" action="http://nohost/plone/search">\n\n <label for="searchGadget" class="hiddenStructure">Search Site</label>\n\n <div class="LSBox">\n <input name="SearchableText" type="text" size="18" title="Search Site" accesskey="4" class="inputLabel" id="searchGadget" />\n\n <input class="searchButton" type="submit" value="Search" />\n \n <div class="searchSection">\n <input id="searchbox_currentfolder_only" class="noborder" type="checkbox" name="path" value="/plone" />\n <label for="searchbox_currentfolder_only" style="cursor: pointer">\n only in current section\n </label>\n </div>\n\n <div class="LSResult" id="LSResult" style=""><div class="LSShadow" id="LSShadow"></div></div>\n </div>\n </form>\n\n <div id="portal-advanced-search" class="hiddenStructure">\n <a href="http://nohost/plone/search_form" accesskey="5">\n Advanced Search…\n </a>\n </div>\n\n</div>\n\n<a id="portal-logo" accesskey="1" href="http://nohost/plone">\n <img src="http://nohost/plone/logo.png" alt="" title="" height="56" width="215" /></a>\n\n\n <h5 class="hiddenStructure">Sections</h5>\n\n <ul id="portal-globalnav"><li id="portaltab-index_html" class="selected"><a href="http://nohost/plone" title="">Home</a></li><li id="portaltab-news" class="plain"><a href="http://nohost/plone/news" title="Site News">News</a></li><li id="portaltab-events" class="plain"><a href="http://nohost/plone/events" title="Site Events">Events</a></li><li id="portaltab-Members" class="plain"><a href="http://nohost/plone/Members" title="Container for users\' home directories">Users</a></li></ul>\n\n</div>\n\n\n \n\n\n<div id="portal-breadcrumbs">\n\n <span id="breadcrumbs-you-are-here">You\nare here:</span>\n <span id="breadcrumbs-home">\n <a href="http://nohost/plone">Home</a>\n \n </span>\n\n</div>\n\n</div>\n\t\t</div>\n\t<div id="portal-columns" class="row">\n\n\t\t<!-- TODO: There is probably be a more elegant way to do this ;) -->\n\t\t\n\t\t<div id="portal-column-content" class="cell width-3:4 position-0">\n\t\t\n\t\t\n\n\t\t\t<div class="documentEditable">\n\n\t\t\t\t<div id="edit-bar">\n\n \n\n <h5 class="hiddenStructure">Views</h5>\n\n <ul class="contentViews" id="content-views">\n\n \n <li id="contentview-folderContents" class="plain">\n <a href="http://nohost/plone/folder_contents">Contents</a>\n </li>\n \n \n <li id="contentview-view" class="selected">\n <a href="http://nohost/plone">View</a>\n </li>\n \n \n <li id="contentview-contentrules" class="plain">\n <a href="http://nohost/plone/@@manage-content-rules">Rules</a>\n </li>\n \n \n <li id="contentview-local_roles" class="plain">\n <a href="http://nohost/plone/@@sharing">Sharing</a>\n </li>\n \n\n </ul>\n \n \n\n\n<div class="contentActions">\n\n</div></div>\n \n\t\t\t\t<div id="region-content" class="documentContent">\n\n\t\t\t\t\t<a name="documentContent"></a>\n\n\t\t\t\t\t\n\n <dl class="portalMessage info" id="kssPortalMessage" style="display:none">\n <dt>Info</dt>\n <dd></dd>\n </dl>\n\n\n\n\t\t\t\t\t<div id="viewlet-above-content"></div>\n\n\t\t\t\t\t\n\t\t\t\t\t\t<div id="content">\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<div>\n\n\n\n<div>\n\n<h1 class="documentFirstHeading">\n Welcome!\n</h1>\n\n<p>\n You have been registered.\n</p>\n\n\n\n\n <p>\n Click the button to log in immediately.\n </p>\n\n <dl class="portalMessage error" id="enable_cookies_message" style="display:none">\n <dt>\n Error\n </dt>\n <dd>\n Cookies are not enabled. You must enable cookies before you can log in.\n </dd>\n </dl>\n\n\n <form action="http://nohost/plone/login_form" method="post">\n\n <input type="hidden" name="form.submitted" value="1" />\n <input type="hidden" name="js_enabled" id="js_enabled" value="0" />\n <input type="hidden" name="cookies_enabled" id="cookies_enabled" value="0" />\n <input type="hidden" name="login_name" id="login_name" value="" />\n <input type="hidden" name="pwd_empty" id="pwd_empty" value="0" />\n\n <input type="hidden" name="came_from" />\n <input type="hidden" name="__ac_name" value="johnny" id="__ac_name" />\n <input type="hidden" name="__ac_password" value="y0d4Wg!" id="__ac_password" />\n <input class="standalone" type="submit" value="Log in" />\n </form>\n\n\n</div>\n\n</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\n\t\t</div>\n\n\t\t\n\n\t\t<div id="portal-column-two" class="cell width-1:4 position-3:4">\n\t\t\t\n\t\t\t\t\n<div id="portletwrapper-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a6e657773" class="portletWrapper kssattr-portlethash-706c6f6e652e7269676874636f6c756d6e0a636f6e746578740a2f706c6f6e650a6e657773"><dl class="portlet portletNews" xmlns="http://www.w3.org/1999/xhtml">\n\n <dt class="portletHeader">\n <span class="portletTopLeft"></span>\n <a href="http://nohost/plone/news" class="tile">News</a>\n <span class="portletTopRight"></span>\n </dt>\n\n \n <dd class="portletItem odd">\n\n <a href="http://nohost/plone/Members/test_user_1_/important" class="tile" title="">\n <img width="16" height="16" src="http://nohost/plone/newsitem_icon.png" alt="News Item" />\n some important news!\n <span class="portletItemDetails">Oct 24, 2009</span>\n </a>\n </dd>\n \n\n <dd class="portletFooter">\n <span class="portletBottomLeft"></span>\n <a href="http://nohost/plone/news">\n More news…\n </a>\n <span class="portletBottomRight"></span>\n </dd>\n \n</dl>\n</div>\n\n\n<div class="managePortletsLink">\n <a title="View portlet management screen" href="http://nohost/plone/@@manage-portlets">Manage portlets</a>\n</div>\n\n\t\t\t\n\t\t</div>\n\t</div>\n\n<div class="visualClear"></div> <!-- TODO: Temporary workaround -->\n\n\t<!-- TODO: Can we do this in the @@plone view? -->\n\t\n\n\t\n<div class="row"> <!-- TODO: Also temporary, should be in the proper template -->\n\t<div class="cell width-full position-0">\n\t\t<div id="portal-footer">\n\n<p>\n \n The\n <a href="http://plone.org">Plone<sup>®</sup> CMS — Open Source Content Management System</a>\n is\n <acronym title="Copyright">©</acronym>\n 2000-2009\n by the\n <a href="http://plone.org/foundation">Plone Foundation</a>\n et al.\n \n</p>\n\n<p>\n \n Plone<sup>®</sup> and the Plone logo are registered trademarks of the\n <a href="http://plone.org/foundation">Plone Foundation</a>.\n \n\n \n Distributed under the\n <a href="http://creativecommons.org/licenses/GPL/2.0/">GNU GPL license</a>.\n \n</p>\n\n</div>\n\n<div id="portal-colophon">\n\n<div class="colophonWrapper">\n<ul>\n <li>\n <a href="http://plone.org" title="This site was built using Plone CMS, the Open Source Content Management System. Click for more information.">\n Powered by Plone</a>\n </li>\n</ul>\n</div>\n</div>\n\n\n\t</div>\n</div>\n\t\n\n</div>\n\n<!-- TODO: This needs to go away. -->\n<!-- <div id="kss-spinner"><img tal:attributes="src string:${portal_url}/spinner.png" alt="" /></div> -->\n\n</body>\n</html>\n\n\n'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/csrf.txt", line 206, in csrf.txt
Failed example:
browser.getControl(name='users.roles:list:records').value = ['Manager'] * 3
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[line 206, example 83]>", line 1, in <module>
browser.getControl(name='users.roles:list:records').value = ['Manager'] * 3
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'users.roles:list:records'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/csrf.txt", line 207, in csrf.txt
Failed example:
browser.getControl('Apply Changes').click()
Expected:
Traceback (most recent call last):
...
HTTPError: HTTP Error 403: Forbidden
Got:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest csrf.txt[line 207, example 84]>", line 1, in <module>
browser.getControl('Apply Changes').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Apply Changes'
Failure in test /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt
Failed doctest test for mails.txt
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 20, in mails.txt
Failed example:
browser.getLink('Contact').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[line 20, example 5]>", line 1, in <module>
browser.getLink('Contact').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 21, in mails.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/contact-info'
Got:
'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 26, in mails.txt
Failed example:
form = browser.getForm(name='feedback_form')
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[line 26, example 7]>", line 1, in <module>
form = browser.getForm(name='feedback_form')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 398, in getForm
form = disambiguate(matching_forms, '', index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 28, in mails.txt
Failed example:
form.getControl(name='sender_fullname').value = 'T\xc3\xa4st user'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[line 28, example 8]>", line 1, in <module>
form.getControl(name='sender_fullname').value = 'T\xc3\xa4st user'
NameError: name 'form' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 29, in mails.txt
Failed example:
form.getControl(name='sender_from_address').value = 'test at plone.test'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[line 29, example 9]>", line 1, in <module>
form.getControl(name='sender_from_address').value = 'test at plone.test'
NameError: name 'form' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 30, in mails.txt
Failed example:
form.getControl(name='subject').value = 'Some t\xc3\xa4st subject.'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[line 30, example 10]>", line 1, in <module>
form.getControl(name='subject').value = 'Some t\xc3\xa4st subject.'
NameError: name 'form' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 31, in mails.txt
Failed example:
form.getControl(name='message').value = 'Another t\xc3\xa4st message.'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[line 31, example 11]>", line 1, in <module>
form.getControl(name='message').value = 'Another t\xc3\xa4st message.'
NameError: name 'form' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 35, in mails.txt
Failed example:
form.submit()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[line 35, example 12]>", line 1, in <module>
form.submit()
NameError: name 'form' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 37, in mails.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/contact-info'
Got:
'http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 40, in mails.txt
Failed example:
'Mail sent' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 47, in mails.txt
Failed example:
len(mailhost.messages)
Expected:
1
Got:
0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 49, in mails.txt
Failed example:
msg = mailhost.messages[0]
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[line 49, example 16]>", line 1, in <module>
msg = mailhost.messages[0]
File "/usr/local/python2.6/lib/python2.6/UserList.py", line 31, in __getitem__
def __getitem__(self, i): return self.data[i]
IndexError: list index out of range
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 53, in mails.txt
Failed example:
'To: mail at plone.test' in msg
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[line 53, example 17]>", line 1, in <module>
'To: mail at plone.test' in msg
NameError: name 'msg' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 56, in mails.txt
Failed example:
'From: mail at plone.test' in msg
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[line 56, example 18]>", line 1, in <module>
'From: mail at plone.test' in msg
NameError: name 'msg' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 61, in mails.txt
Failed example:
'Subject: =?utf-8?q?Some_t=C3=A4st_subject=2E?=' in msg
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[line 61, example 19]>", line 1, in <module>
'Subject: =?utf-8?q?Some_t=C3=A4st_subject=2E?=' in msg
NameError: name 'msg' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 66, in mails.txt
Failed example:
msg
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest mails.txt[line 66, example 20]>", line 1, in <module>
msg
NameError: name 'msg' is not defined
Failure in test /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt
Failed doctest test for browser.txt
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 85, in browser.txt
Failed example:
browser.getLink('Log in').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 85, example 5]>", line 1, in <module>
browser.getLink('Log in').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 103, in browser.txt
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 103, example 16]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 104, in browser.txt
Failed example:
"You are now logged out" in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 127, in browser.txt
Failed example:
browser.getLink('Log in').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 127, example 26]>", line 1, in <module>
browser.getLink('Log in').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 128, in browser.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/login_form'
Got:
'http://nohost/plone/join_form'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 132, in browser.txt
Failed example:
browser.getControl(name='submit').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 132, example 30]>", line 1, in <module>
browser.getControl(name='submit').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'submit'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 133, in browser.txt
Failed example:
"You are now logged in" in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 138, in browser.txt
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 138, example 32]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 139, in browser.txt
Failed example:
"You are now logged out" in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 205, in browser.txt
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 205, example 63]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 206, in browser.txt
Failed example:
"You are now logged out" in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 230, in browser.txt
Failed example:
browser.getLink('Site Setup').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 230, example 70]>", line 1, in <module>
browser.getLink('Site Setup').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 231, in browser.txt
Failed example:
browser.getLink('Users and Groups').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 231, example 71]>", line 1, in <module>
browser.getLink('Users and Groups').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 232, in browser.txt
Failed example:
browser.getControl('Add New User').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 232, example 72]>", line 1, in <module>
browser.getControl('Add New User').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Add New User'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 233, in browser.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/join_form?came_from_prefs=1'
Got:
'http://nohost/plone/login_form'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 236, in browser.txt
Failed example:
browser.getControl(name='username').value = 'wsmith'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 236, example 74]>", line 1, in <module>
browser.getControl(name='username').value = 'wsmith'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'username'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 237, in browser.txt
Failed example:
browser.getControl(name='email').value = 'wsmith at example.com'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 237, example 75]>", line 1, in <module>
browser.getControl(name='email').value = 'wsmith at example.com'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'email'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 238, in browser.txt
Failed example:
browser.getControl(name='password').value = 'supersecret'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 238, example 76]>", line 1, in <module>
browser.getControl(name='password').value = 'supersecret'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 239, in browser.txt
Failed example:
browser.getControl(name='password_confirm').value = 'supersecret'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 239, example 77]>", line 1, in <module>
browser.getControl(name='password_confirm').value = 'supersecret'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'password_confirm'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 240, in browser.txt
Failed example:
browser.getControl(name='form.button.Register').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 240, example 78]>", line 1, in <module>
browser.getControl(name='form.button.Register').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'form.button.Register'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 241, in browser.txt
Failed example:
'User added.' in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 248, in browser.txt
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 248, example 80]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 256, in browser.txt
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 256, example 86]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 278, in browser.txt
Failed example:
ctrl = browser.getControl("Let users select their own passwords")
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 278, example 93]>", line 1, in <module>
ctrl = browser.getControl("Let users select their own passwords")
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Let users select their own passwords'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 279, in browser.txt
Failed example:
ctrl.selected = False
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 279, example 94]>", line 1, in <module>
ctrl.selected = False
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 100, in __setattr__
getattr(self, name)
AttributeError: 'ListControl' object has no attribute 'selected'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 280, in browser.txt
Failed example:
browser.getControl('Save').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 280, example 95]>", line 1, in <module>
browser.getControl('Save').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Save'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 284, in browser.txt
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 284, example 96]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 285, in browser.txt
Failed example:
"You are now logged out" in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 288, in browser.txt
Failed example:
browser.getLink('Register').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 288, example 98]>", line 1, in <module>
browser.getLink('Register').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 289, in browser.txt
Failed example:
browser.getControl(name='username').value = 'bsmith'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 289, example 99]>", line 1, in <module>
browser.getControl(name='username').value = 'bsmith'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'username'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 290, in browser.txt
Failed example:
browser.getControl(name='email').value = 'bsmith at example.com'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 290, example 100]>", line 1, in <module>
browser.getControl(name='email').value = 'bsmith at example.com'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'email'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 301, in browser.txt
Failed example:
browser.getControl(name='form.button.Register').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 301, example 102]>", line 1, in <module>
browser.getControl(name='form.button.Register').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'form.button.Register'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 302, in browser.txt
Failed example:
"You have been registered" in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 308, in browser.txt
Failed example:
len(mailhost.messages)
Expected:
2
Got:
1
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 315, in browser.txt
Failed example:
"To: bsmith at example.com" in msg
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 318, in browser.txt
Failed example:
please_visit_text in msg
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 320, in browser.txt
Failed example:
url_index = msg.index(please_visit_text) + len(please_visit_text)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 320, example 110]>", line 1, in <module>
url_index = msg.index(please_visit_text) + len(please_visit_text)
ValueError: substring not found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 327, in browser.txt
Failed example:
browser.open(address)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 327, example 113]>", line 1, in <module>
browser.open(address)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 239, in open
self.mech_browser.open(url, data)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 209, in open
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 261, in _mech_open
HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 328, in browser.txt
Failed example:
"Please fill out the form below to set your password" in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 330, in browser.txt
Failed example:
browser.getControl(name='password').value = 'secret'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 330, example 115]>", line 1, in <module>
browser.getControl(name='password').value = 'secret'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 331, in browser.txt
Failed example:
browser.getControl(name='password2').value = 'secret'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 331, example 116]>", line 1, in <module>
browser.getControl(name='password2').value = 'secret'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'password2'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 332, in browser.txt
Failed example:
browser.getControl("Set my password").click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 332, example 117]>", line 1, in <module>
browser.getControl("Set my password").click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Set my password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 333, in browser.txt
Failed example:
"Your password has been set successfully." in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 347, in browser.txt
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 347, example 124]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 348, in browser.txt
Failed example:
"You are now logged out" in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 370, in browser.txt
Failed example:
browser.getLink('Site Setup').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 370, example 132]>", line 1, in <module>
browser.getLink('Site Setup').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 371, in browser.txt
Failed example:
browser.getLink('Users and Groups').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 371, example 133]>", line 1, in <module>
browser.getLink('Users and Groups').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 372, in browser.txt
Failed example:
browser.getControl('Add New User').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 372, example 134]>", line 1, in <module>
browser.getControl('Add New User').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Add New User'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 373, in browser.txt
Failed example:
browser.url
Expected:
'http://nohost/plone/join_form?came_from_prefs=1'
Got:
'http://nohost/plone/login_form'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 376, in browser.txt
Failed example:
browser.getControl(name='username').value = 'wwwsmith'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 376, example 136]>", line 1, in <module>
browser.getControl(name='username').value = 'wwwsmith'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'username'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 377, in browser.txt
Failed example:
browser.getControl(name='email').value = 'wwwsmith at example.com'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 377, example 137]>", line 1, in <module>
browser.getControl(name='email').value = 'wwwsmith at example.com'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'email'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 388, in browser.txt
Failed example:
browser.getControl(name='form.button.Register').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 388, example 139]>", line 1, in <module>
browser.getControl(name='form.button.Register').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'form.button.Register'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 389, in browser.txt
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 389, example 140]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 390, in browser.txt
Failed example:
"You are now logged out" in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 396, in browser.txt
Failed example:
len(mailhost.messages)
Expected:
3
Got:
1
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 403, in browser.txt
Failed example:
"To: wwwsmith at example.com" in msg
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 405, in browser.txt
Failed example:
please_visit_text in msg
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 407, in browser.txt
Failed example:
url_index = msg.index(please_visit_text) + len(please_visit_text)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 407, example 147]>", line 1, in <module>
url_index = msg.index(please_visit_text) + len(please_visit_text)
ValueError: substring not found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 414, in browser.txt
Failed example:
browser.open(address)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 414, example 150]>", line 1, in <module>
browser.open(address)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 239, in open
self.mech_browser.open(url, data)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 209, in open
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 261, in _mech_open
HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 415, in browser.txt
Failed example:
"Please fill out the form below to set your password" in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 417, in browser.txt
Failed example:
browser.getControl(name='password').value = 'superstr0ng'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 417, example 152]>", line 1, in <module>
browser.getControl(name='password').value = 'superstr0ng'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 418, in browser.txt
Failed example:
browser.getControl(name='password2').value = 'superstr0ng'
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 418, example 153]>", line 1, in <module>
browser.getControl(name='password2').value = 'superstr0ng'
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: name 'password2'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 419, in browser.txt
Failed example:
browser.getControl("Set my password").click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 419, example 154]>", line 1, in <module>
browser.getControl("Set my password").click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
control, form = disambiguate(intermediate, msg, index)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
raise LookupError(msg)
LookupError: label 'Set my password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 420, in browser.txt
Failed example:
"Your password has been set successfully." in browser.contents
Expected:
True
Got:
False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 432, in browser.txt
Failed example:
browser.getLink('Log out').click()
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
compileflags, 1) in test.globs
File "<doctest browser.txt[line 432, example 161]>", line 1, in <module>
browser.getLink('Log out').click()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
return Link(self.mech_browser.find_link(**args), self)
File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
LinkNotFoundError
Error in test testContextDependantInlineCSS (Products.ResourceRegistries.tests.testCSSRegistry.TestZODBTraversal)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testCSSRegistry.py", line 591, in testContextDependantInlineCSS
content = viewletmanager.render()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.viewlet-3.5.0-py2.6.egg/zope/viewlet/manager.py", line 124, in render
return self.template(viewlets=self.viewlets)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 126, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 60, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.pagetemplate-3.5.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 819, in do_loop_tal
iterator = self.engine.setRepeat(name, expr)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/tales.py", line 682, in setRepeat
expr = self.evaluate(expr)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
- /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/browser/styles.pt
- Line 1, Column 0
- Expression: <PathExpr standard:u'view/styles'>
- Names:
{'args': (),
'container': <ATFolder at /plone/folder1>,
'context': <ATFolder at /plone/folder1>,
'default': <object object at 0x2b0ef3c36a20>,
'here': <ATFolder at /plone/folder1>,
'loop': {},
'nothing': None,
'options': {'viewlets': []},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xb568290>,
'request': <HTTPRequest, URL=http://nohost>,
'root': <Application at >,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x60e0790>,
'traverse_subpath': [],
'user': <PloneUser 'test_user_1_'>,
'view': <Products.Five.viewlet.manager.<ViewletManager providing IHtmlHeadStyles> object at 0xb86c610>,
'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xba23850>}
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/Expressions.py", line 135, in _eval
return render(ob, econtext.vars)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/Expressions.py", line 99, in render
ob = ob()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/browser/styles.py", line 43, in styles
content = registry.getInlineResource(style.getId(), context)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 840, in getInlineResource
output = self.getResourceContent(item, context)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testGetItemTraversal (Products.ResourceRegistries.tests.testCSSRegistry.TestZODBTraversal)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testCSSRegistry.py", line 542, in testGetItemTraversal
self.failUnless(self.tool['testroot.css'])
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testGetItemTraversalContent (Products.ResourceRegistries.tests.testCSSRegistry.TestZODBTraversal)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testCSSRegistry.py", line 546, in testGetItemTraversalContent
self.failUnless('red' in str(self.tool['testroot.css']))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testRestrictedTraverseComposition (Products.ResourceRegistries.tests.testCSSRegistry.TestZODBTraversal)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testCSSRegistry.py", line 566, in testRestrictedTraverseComposition
content = str(self.portal.restrictedTraverse('portal_css/%s' % magicId))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot-cachekey2169.css')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testRestrictedTraverseContent (Products.ResourceRegistries.tests.testCSSRegistry.TestZODBTraversal)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testCSSRegistry.py", line 554, in testRestrictedTraverseContent
self.portal.restrictedTraverse('portal_css/testroot.css')))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot.css')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testCompositionWithFirstUncooked (Products.ResourceRegistries.tests.testCSSRegistry.TestMergingDisabled)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testCSSRegistry.py", line 668, in testCompositionWithFirstUncooked
content = str(self.portal.restrictedTraverse('portal_css/%s' % magicId))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot-cachekey8481.css')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testCompositionWithLastUncooked (Products.ResourceRegistries.tests.testCSSRegistry.TestMergingDisabled)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testCSSRegistry.py", line 644, in testCompositionWithLastUncooked
content = str(self.portal.restrictedTraverse('portal_css/%s' % magicIds[-2]))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot-cachekey9339.css')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testCompositionWithMiddleUncooked (Products.ResourceRegistries.tests.testCSSRegistry.TestMergingDisabled)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testCSSRegistry.py", line 687, in testCompositionWithMiddleUncooked
content = str(self.portal.restrictedTraverse('portal_css/testroot.css'))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot.css')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testLargerCompositionWithMiddleUncooked (Products.ResourceRegistries.tests.testCSSRegistry.TestMergingDisabled)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testCSSRegistry.py", line 719, in testLargerCompositionWithMiddleUncooked
content = str(self.portal.restrictedTraverse('portal_css/%s' % magicIds[0]))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot-cachekey4758.css')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testAuthorizedGetItem (Products.ResourceRegistries.tests.testCSSRegistry.TestResourcePermissions)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testCSSRegistry.py", line 864, in testAuthorizedGetItem
content = str(self.tool['testroot.css'])
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Failure in test testAuthorizedOnPublish (Products.ResourceRegistries.tests.testCSSRegistry.TestResourcePermissions)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testCSSRegistry.py", line 878, in testAuthorizedOnPublish
self.failUnlessEqual(response.getStatus(), 200)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Error in test testAuthorizedTraversal (Products.ResourceRegistries.tests.testCSSRegistry.TestResourcePermissions)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testCSSRegistry.py", line 871, in testAuthorizedTraversal
content = str(self.portal.restrictedTraverse('portal_css/testroot.css'))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot.css')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testContextDependantInlineJS (Products.ResourceRegistries.tests.testJSRegistry.TestZODBTraversal)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testJSRegistry.py", line 608, in testContextDependantInlineJS
content = viewletmanager.render()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.viewlet-3.5.0-py2.6.egg/zope/viewlet/manager.py", line 124, in render
return self.template(viewlets=self.viewlets)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 126, in __call__
return self.im_func(im_self, *args, **kw)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/Five/browser/pagetemplatefile.py", line 60, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.pagetemplate-3.5.0-py2.6.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations)()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tal-3.5.1-py2.6.egg/zope/tal/talinterpreter.py", line 819, in do_loop_tal
iterator = self.engine.setRepeat(name, expr)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/tales.py", line 682, in setRepeat
expr = self.evaluate(expr)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
- /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/browser/scripts.pt
- Line 1, Column 0
- Expression: <PathExpr standard:u'view/scripts'>
- Names:
{'args': (),
'container': <ATFolder at /plone/folder1>,
'context': <ATFolder at /plone/folder1>,
'default': <object object at 0x2b0ef3c36a20>,
'here': <ATFolder at /plone/folder1>,
'loop': {},
'nothing': None,
'options': {'viewlets': []},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xaf6c638>,
'request': <HTTPRequest, URL=http://nohost>,
'root': <Application at >,
'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x5ef3890>,
'traverse_subpath': [],
'user': <PloneUser 'test_user_1_'>,
'view': <Products.Five.viewlet.manager.<ViewletManager providing IHtmlHeadScripts> object at 0x9af0f90>,
'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xb3b0890>}
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.tales-3.4.0-py2.6.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/Expressions.py", line 135, in _eval
return render(ob, econtext.vars)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/Products/PageTemplates/Expressions.py", line 99, in render
ob = ob()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/browser/scripts.py", line 27, in scripts
content = registry.getInlineResource(script.getId(), context)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 840, in getInlineResource
output = self.getResourceContent(item, context)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/JSRegistry.py", line 258, in getResourceContent
output = BaseRegistryTool.getResourceContent(self, item, context, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testGetItemTraversal (Products.ResourceRegistries.tests.testJSRegistry.TestZODBTraversal)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testJSRegistry.py", line 560, in testGetItemTraversal
self.failUnless(self.tool['testroot.js'])
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/JSRegistry.py", line 258, in getResourceContent
output = BaseRegistryTool.getResourceContent(self, item, context, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testGetItemTraversalContent (Products.ResourceRegistries.tests.testJSRegistry.TestZODBTraversal)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testJSRegistry.py", line 564, in testGetItemTraversalContent
self.failUnless('red' in str(self.tool['testroot.js']))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/JSRegistry.py", line 258, in getResourceContent
output = BaseRegistryTool.getResourceContent(self, item, context, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testRestrictedTraverseComposition (Products.ResourceRegistries.tests.testJSRegistry.TestZODBTraversal)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testJSRegistry.py", line 584, in testRestrictedTraverseComposition
content = str(self.portal.restrictedTraverse('portal_javascripts/%s' % magicId))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot-cachekey5026.js')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/JSRegistry.py", line 258, in getResourceContent
output = BaseRegistryTool.getResourceContent(self, item, context, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testRestrictedTraverseContent (Products.ResourceRegistries.tests.testJSRegistry.TestZODBTraversal)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testJSRegistry.py", line 572, in testRestrictedTraverseContent
self.portal.restrictedTraverse('portal_javascripts/testroot.js')))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot.js')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/JSRegistry.py", line 258, in getResourceContent
output = BaseRegistryTool.getResourceContent(self, item, context, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testCompositionWithFirstUncooked (Products.ResourceRegistries.tests.testJSRegistry.TestMergingDisabled)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testJSRegistry.py", line 786, in testCompositionWithFirstUncooked
content = str(self.portal.restrictedTraverse('portal_javascripts/%s' % magicId))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot-cachekey0524.js')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/JSRegistry.py", line 258, in getResourceContent
output = BaseRegistryTool.getResourceContent(self, item, context, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testCompositionWithLastUncooked (Products.ResourceRegistries.tests.testJSRegistry.TestMergingDisabled)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testJSRegistry.py", line 762, in testCompositionWithLastUncooked
content = str(self.portal.restrictedTraverse('portal_javascripts/%s' % magicIds[-2]))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot-cachekey8754.js')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/JSRegistry.py", line 258, in getResourceContent
output = BaseRegistryTool.getResourceContent(self, item, context, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testCompositionWithMiddleUncooked (Products.ResourceRegistries.tests.testJSRegistry.TestMergingDisabled)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testJSRegistry.py", line 801, in testCompositionWithMiddleUncooked
content = str(self.portal.restrictedTraverse('portal_javascripts/simple2.js'))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'simple2.js')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/JSRegistry.py", line 258, in getResourceContent
output = BaseRegistryTool.getResourceContent(self, item, context, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testLargerCompositionWithMiddleUncooked (Products.ResourceRegistries.tests.testJSRegistry.TestMergingDisabled)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testJSRegistry.py", line 837, in testLargerCompositionWithMiddleUncooked
content = str(self.portal.restrictedTraverse('portal_javascripts/%s' % magicIds[0]))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot-cachekey0107.js')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/JSRegistry.py", line 258, in getResourceContent
output = BaseRegistryTool.getResourceContent(self, item, context, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testAuthorizedGetItem (Products.ResourceRegistries.tests.testJSRegistry.TestResourcePermissions)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testJSRegistry.py", line 698, in testAuthorizedGetItem
content = str(self.tool['testroot.js'])
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/JSRegistry.py", line 258, in getResourceContent
output = BaseRegistryTool.getResourceContent(self, item, context, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Failure in test testAuthorizedOnPublish (Products.ResourceRegistries.tests.testJSRegistry.TestResourcePermissions)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testJSRegistry.py", line 712, in testAuthorizedOnPublish
self.failUnlessEqual(response.getStatus(), 200)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Error in test testGetOriginal (Products.ResourceRegistries.tests.testJSRegistry.TestUnicodeAwareness)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testJSRegistry.py", line 881, in testGetOriginal
content = self.tool.getResourceContent(magicId, self.portal, original=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/JSRegistry.py", line 258, in getResourceContent
output = BaseRegistryTool.getResourceContent(self, item, context, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testGetItemTraversal (Products.ResourceRegistries.tests.testKSSRegistry.TestZODBTraversal)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testKSSRegistry.py", line 452, in testGetItemTraversal
self.failUnless(self.tool['testroot.kss'])
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testGetItemTraversalContent (Products.ResourceRegistries.tests.testKSSRegistry.TestZODBTraversal)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testKSSRegistry.py", line 456, in testGetItemTraversalContent
self.failUnless('red' in str(self.tool['testroot.kss']))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testRestrictedTraverseComposition (Products.ResourceRegistries.tests.testKSSRegistry.TestZODBTraversal)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testKSSRegistry.py", line 476, in testRestrictedTraverseComposition
content = str(self.portal.restrictedTraverse('portal_kss/%s' % magicId))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot-cachekey7975.kss')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testRestrictedTraverseContent (Products.ResourceRegistries.tests.testKSSRegistry.TestZODBTraversal)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testKSSRegistry.py", line 464, in testRestrictedTraverseContent
self.portal.restrictedTraverse('portal_kss/testroot.kss')))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot.kss')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testCompositionWithFirstUncooked (Products.ResourceRegistries.tests.testKSSRegistry.TestMergingDisabled)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testKSSRegistry.py", line 549, in testCompositionWithFirstUncooked
content = str(self.portal.restrictedTraverse('portal_kss/%s' % magicId))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot-cachekey9297.kss')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testCompositionWithLastUncooked (Products.ResourceRegistries.tests.testKSSRegistry.TestMergingDisabled)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testKSSRegistry.py", line 525, in testCompositionWithLastUncooked
content = str(self.portal.restrictedTraverse('portal_kss/%s' % magicIds[-2]))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot-cachekey7405.kss')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testCompositionWithMiddleUncooked (Products.ResourceRegistries.tests.testKSSRegistry.TestMergingDisabled)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testKSSRegistry.py", line 568, in testCompositionWithMiddleUncooked
content = str(self.portal.restrictedTraverse('portal_kss/testroot.kss'))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot.kss')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testLargerCompositionWithMiddleUncooked (Products.ResourceRegistries.tests.testKSSRegistry.TestMergingDisabled)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testKSSRegistry.py", line 600, in testLargerCompositionWithMiddleUncooked
content = str(self.portal.restrictedTraverse('portal_kss/%s' % magicIds[0]))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot-cachekey8980.kss')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Error in test testAuthorizedGetItem (Products.ResourceRegistries.tests.testKSSRegistry.TestResourcePermissions)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testKSSRegistry.py", line 729, in testAuthorizedGetItem
content = str(self.tool['testroot.kss'])
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Failure in test testAuthorizedOnPublish (Products.ResourceRegistries.tests.testKSSRegistry.TestResourcePermissions)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testKSSRegistry.py", line 743, in testAuthorizedOnPublish
self.failUnlessEqual(response.getStatus(), 200)
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 500 != 200
Error in test testAuthorizedTraversal (Products.ResourceRegistries.tests.testKSSRegistry.TestResourcePermissions)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testKSSRegistry.py", line 736, in testAuthorizedTraversal
content = str(self.portal.restrictedTraverse('portal_kss/testroot.kss'))
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 310, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/Traversable.py", line 211, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
- __traceback_info__: ([], 'testroot.kss')
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 321, in __bobo_traverse__
self.deferredGetContent(deferred, name, None)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 266, in deferredGetContent
data = self.__getitem__(name)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 237, in __getitem__
output = self.getResourceContent(item, self, original)
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tools/BaseRegistry.py", line 627, in getResourceContent
content = unicode(content, default_charset)
TypeError: coercing to Unicode: need string or buffer, BlobStreamIterator found
Ran 1368 tests with 32 failures and 33 errors in 3 minutes 38.796 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
Tear down Products.PloneTestCase.layer.PloneSite in 0.409 seconds.
Tear down Products.PloneTestCase.layer.ZCML in 0.014 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Ran 133 tests with 0 failures and 0 errors in 0.056 seconds.
Tearing down left over layers:
Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1759 tests, 32 failures, 33 errors in 3 minutes 55.940 seconds.
FAILED (failures=32, errors=33)
More information about the Testbot
mailing list