[Testbot] FAILED (failures=30, errors=32) : Plone-4.0 Zope-2.12 Python-2.6.2

Plone Products Tests plone-tests at epy.co.at
Thu Oct 15 02:38:24 UTC 2009


Plone Products Tests : FAILED (failures=30, errors=32) 
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
/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/plone.app.folder/src/plone/app/folder/base.py:1: DeprecationWarning: InitializeClass is deprecated. import from App.class_init instead
  from Globals import InitializeClass
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.959 seconds.
  Ran 162 tests with 0 failures and 0 errors in 0.900 seconds.
Running Products.CMFTestCase.layer.CMFSite tests:
  Set up Products.CMFTestCase.layer.ZCML in 4.062 seconds.
  Set up Products.CMFTestCase.layer.CMFSite in 0.250 seconds.
  Ran 84 tests with 0 failures and 0 errors in 3.154 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Tear down Products.CMFTestCase.layer.CMFSite in 0.042 seconds.
  Tear down Products.CMFTestCase.layer.ZCML in 0.004 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 1.663 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 5.926 seconds.
/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py:73: DeprecationWarning: plone.app.blob.content.ATBlob.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)


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: ---  

+++  

@@ -138,6 +138,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: ---  

+++  

@@ -138,6 +138,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: ---  

+++  

@@ -138,6 +138,9 @@

     <h5 class="hiddenStructure">Sections</h5>
 
     
+</div>
+</div>
+
 
 	</div>
 </div>



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;"

/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py:73: DeprecationWarning: plone.app.blob.content.ATBlob.manage_beforeDelete is discouraged. You should use event subscribers instead.
  DeprecationWarning)


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" />'



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/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



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 44, 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 46, 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 46, example 15]>", 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 50, 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 50, example 16]>", 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 53, 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 53, example 17]>", 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 58, 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 58, example 18]>", 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 63, 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 63, example 19]>", 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 0x2ade71a6fa20>,
       'here': <ATFolder at /plone/folder1>,
       'loop': {},
       'nothing': None,
       'options': {'viewlets': []},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xbca0c68>,
       'request': <HTTPRequest, URL=http://nohost>,
       'root': <Application at >,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x774ed90>,
       'traverse_subpath': [],
       'user': <PloneUser 'test_user_1_'>,
       'view': <Products.Five.viewlet.manager.<ViewletManager providing IHtmlHeadStyles> object at 0xba21fd0>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xba26450>}
  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-cachekey9394.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-cachekey1528.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-cachekey0597.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-cachekey1444.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 0x2ade71a6fa20>,
       'here': <ATFolder at /plone/folder1>,
       'loop': {},
       'nothing': None,
       'options': {'viewlets': []},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xbed05f0>,
       'request': <HTTPRequest, URL=http://nohost>,
       'root': <Application at >,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x741cdd0>,
       'traverse_subpath': [],
       'user': <PloneUser 'test_user_1_'>,
       'view': <Products.Five.viewlet.manager.<ViewletManager providing IHtmlHeadScripts> object at 0xb7db850>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0xa520d50>}
  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-cachekey9662.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-cachekey6597.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-cachekey1331.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-cachekey4720.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-cachekey0054.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-cachekey1117.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-cachekey1816.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-cachekey1835.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 1367 tests with 30 failures and 32 errors in 3 minutes 43.013 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.407 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.015 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 129 tests with 0 failures and 0 errors in 0.055 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1754 tests, 30 failures, 32 errors in 4 minutes 1.639 seconds.

FAILED (failures=30, errors=32) 




More information about the Testbot mailing list