Failure in test /Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/octopolite.txt
Failed doctest test for octopolite.txt
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/octopolite.txt", line 0
----------------------------------------------------------------------
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/octopolite.txt", line 79, in octopolite.txt
Failed example:
view()
Expected:
eggs of the devil!
"<html><body> ['dummy'] </body></html>"
Got:
eggs of the devil!
'<html><head><meta http-equiv="x-deliverance-no-theme" content="1"/></head><body> [\'dummy\'] </body></html>'
.....................
Ran 27 tests with 1 failures and 0 errors in 0.123 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
2007-10-08 16:46:35 WARNING Init Class Products.Five.metaclass.SimpleViewClass from /Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/wiki/wicked_link.pt has a security declaration for nonexistent method 'chunk'
2007-10-08 16:46:35 WARNING Init Class Products.Five.metaclass.SimpleViewClass from /Users/rmarianski/env/opentrunk/src/opencore/opencore/project/browser/project_listing.pt has a security declaration for nonexistent method 'getProjects'
2007-10-08 16:46:35 WARNING Init Class Products.listen.content.mail_message.MailMessage has a security declaration for nonexistent method 'from_addr'
2007-10-08 16:46:35 WARNING Init Class Products.listen.content.mail_message.MailMessage has a security declaration for nonexistent method 'date'
2007-10-08 16:46:35 WARNING Init Class Products.listen.content.mail_message.MailMessage has a security declaration for nonexistent method 'subject'
Set up Products.PloneTestCase.layer.ZCML in 1.959 seconds.
Running:
................................
Ran 32 tests with 0 failures and 0 errors in 0.338 seconds.
Running opencore.testing.layer.SiteSetupLayer tests:
2007-10-08 16:46:36 WARNING Plone Deprecation Warning
correctFolderContentsAction is deprecated and will be removed in Plone 3.0
2007-10-08 16:46:36 WARNING Plone Deprecation Warning
CatalogTool._initIndexes is deprecated, please use a GenericSetup profile instead.
Set up Products.PloneTestCase.layer.PloneSite in 7.414 seconds.
2007-10-08 16:46:44 WARNING Plone Deprecation Warning
correctFolderContentsAction is deprecated and will be removed in Plone 3.0
2007-10-08 16:46:44 WARNING Plone Deprecation Warning
CatalogTool._initIndexes is deprecated, please use a GenericSetup profile instead.
2007-10-08 16:46:44 WARNING Plone Deprecation Warning
correctFolderContentsAction is deprecated and will be removed in Plone 3.0
2007-10-08 16:46:44 WARNING Plone Deprecation Warning
CatalogTool._initIndexes is deprecated, please use a GenericSetup profile instead.
Installing OpenPlans ... done (0.132s)
Set up opencore.testing.layer.SiteSetupLayer in 1.139 seconds.
Running:
....
Ran 4 tests with 0 failures and 0 errors in 0.897 seconds.
Running opencore.testing.layer.OpenPlansLayer tests:
Set up opencore.testing.layer.OpenPlansLayer in 5.529 seconds.
Running:
........................
Ran 24 tests with 0 failures and 0 errors in 14.029 seconds.
Running opencore.testing.layer.OpencoreContent tests:
Set up opencore.testing.layer.OpencoreContent in 7.951 seconds.
Running:
...............................................................................................................................
Failure in test /Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/member/README.txt
Failed doctest test for README.txt
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/member/README.txt", line 0
----------------------------------------------------------------------
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/member/README.txt", line 22, in README.txt
Failed example:
member.setPortrait(portrait)
Exception raised:
Traceback (most recent call last):
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[6]>", line 1, in ?
member.setPortrait(portrait)
File "/Users/rmarianski/env/opentrunk/zope/Products/Archetypes/ClassGen.py", line 78, in generatedMutator
return schema[name].set(self, value, **kw)
File "/Users/rmarianski/env/opentrunk/zope/Products/Archetypes/Field.py", line 2096, in set
data = self.rescaleOriginal(value, **kwargs)
File "/Users/rmarianski/env/opentrunk/zope/Products/Archetypes/Field.py", line 2163, in rescaleOriginal
fvalue, format = self.scale(data, w, h)
File "/Users/rmarianski/env/opentrunk/zope/Products/Archetypes/Field.py", line 2273, in scale
image.thumbnail(size, self.pil_resize_algo)
File "/Users/rmarianski/env/opentrunk/lib/python/PIL/Image.py", line 1422, in thumbnail
self.load()
File "/Users/rmarianski/env/opentrunk/lib/python/PIL/ImageFile.py", line 155, in load
self.load_prepare()
File "/Users/rmarianski/env/opentrunk/lib/python/PIL/ImageFile.py", line 221, in load_prepare
self.im = Image.core.new(self.mode, self.size)
File "/Users/rmarianski/env/opentrunk/lib/python/PIL/Image.py", line 35, in __getattr__
raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed
----------------------------------------------------------------------
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/member/README.txt", line 26, in README.txt
Failed example:
member.restrictedTraverse("portrait_thumb")
Exception raised:
Traceback (most recent call last):
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[7]>", line 1, in ?
member.restrictedTraverse("portrait_thumb")
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/OFS/Traversable.py", line 250, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=1)
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/OFS/Traversable.py", line 187, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/content/member.py", line 330, in __bobo_traverse__
return FolderishMember.__bobo_traverse__(self, REQUEST, name)
File "/Users/rmarianski/env/opentrunk/zope/Products/Five/traversable.py", line 126, in __bobo_traverse__
return getattr(self, name)
AttributeError: portrait_thumb
----------------------------------------------------------------------
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/member/README.txt", line 29, in README.txt
Failed example:
member.restrictedTraverse("portrait_icon")
Exception raised:
Traceback (most recent call last):
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[8]>", line 1, in ?
member.restrictedTraverse("portrait_icon")
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/OFS/Traversable.py", line 250, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=1)
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/OFS/Traversable.py", line 187, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/content/member.py", line 330, in __bobo_traverse__
return FolderishMember.__bobo_traverse__(self, REQUEST, name)
File "/Users/rmarianski/env/opentrunk/zope/Products/Five/traversable.py", line 126, in __bobo_traverse__
return getattr(self, name)
AttributeError: portrait_icon
----------------------------------------------------------------------
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/member/README.txt", line 34, in README.txt
Failed example:
member.restrictedTraverse("portrait_thumb").width
Exception raised:
Traceback (most recent call last):
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[9]>", line 1, in ?
member.restrictedTraverse("portrait_thumb").width
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/OFS/Traversable.py", line 250, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=1)
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/OFS/Traversable.py", line 187, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/content/member.py", line 330, in __bobo_traverse__
return FolderishMember.__bobo_traverse__(self, REQUEST, name)
File "/Users/rmarianski/env/opentrunk/zope/Products/Five/traversable.py", line 126, in __bobo_traverse__
return getattr(self, name)
AttributeError: portrait_thumb
----------------------------------------------------------------------
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/member/README.txt", line 37, in README.txt
Failed example:
member.restrictedTraverse("portrait_thumb").height
Exception raised:
Traceback (most recent call last):
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest README.txt[10]>", line 1, in ?
member.restrictedTraverse("portrait_thumb").height
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/OFS/Traversable.py", line 250, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=1)
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/OFS/Traversable.py", line 187, in unrestrictedTraverse
next = bobo_traverse(REQUEST, name)
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/content/member.py", line 330, in __bobo_traverse__
return FolderishMember.__bobo_traverse__(self, REQUEST, name)
File "/Users/rmarianski/env/opentrunk/zope/Products/Five/traversable.py", line 126, in __bobo_traverse__
return getattr(self, name)
AttributeError: portrait_thumb
.............
Failure in test /Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/project/contents.txt
Failed doctest test for contents.txt
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/project/contents.txt", line 0
----------------------------------------------------------------------
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/project/contents.txt", line 172, in contents.txt
Failed example:
dehtml(view())
Exception raised:
Traceback (most recent call last):
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest contents.txt[52]>", line 1, in ?
dehtml(view())
File "<doctest contents.txt[0]>", line 6, in dehtml
return eval(html)
File "<string>", line 1
<html><head><meta http-equiv="x-deliverance-no-theme" content="1"/></head><body> {'new1': {'action': 'replace', 'html': '\n <tr class="oc-js-liveEdit" id="new1">\n <td>\n \n <input type="checkbox" class="oc-js-checkAll-never"\n name="deletes:list" disabled="True"\n value="new1" />\n \n \n </td>\n <td>\n <div class="oc-js-liveEdit-value">\n <a href="http://nohost/plone/projects/p2/new1">\n Hume\n </a>\n </div>\n \n <div class="oc-js-liveEdit-editForm oc-liveEdit-editForm">\n\t <!-- this is a hack. oh, this whole file is a hack. -->\n <input type="text" name="new1_title" value="Hume" />\n <input type="submit" class="oc-js-actionButton"\n value="Save" name="task|new1|update" />\n or\n <a href="" class="oc-js-liveEdit_hideForm">\n Cancel\n </a>\n\t\n </div>\n </td>\n \n <td>\n today\n \n by\n <a href="http://nohost/plone/people/portal_owner/profile">\n portal_owner\n </a>\n \n </td>\n <td>\n <ul class="oc-actions oc-dataTable-row-actions">\n <li>\n <a href="#" class="oc-js-liveEdit_showForm oc-actionLink">Rename</a></li>\n \n </ul>\n </td>\n </tr>\n\n', 'effects': 'highlight'}, 'oc-statusMessage-container': {'action': 'replace', 'html': '\n <div id="oc-statusMessage-container">\n </div>\n\n', 'effects': 'blink'}}
^
SyntaxError: invalid syntax
----------------------------------------------------------------------
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/project/contents.txt", line 189, in contents.txt
Failed example:
sorted(dehtml(view()))
Exception raised:
Traceback (most recent call last):
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest contents.txt[58]>", line 1, in ?
sorted(dehtml(view()))
File "<doctest contents.txt[0]>", line 6, in dehtml
return eval(html)
File "<string>", line 1
<html><head><meta http-equiv="x-deliverance-no-theme" content="1"/></head><body> {'fa2': {'action': 'delete'}, 'new1': {'action': 'delete'}, 'oc-statusMessage-container': {'action': 'replace', 'html': '\n <div id="oc-statusMessage-container">\n </div>\n\n', 'effects': 'blink'}}
^
SyntaxError: invalid syntax
----------------------------------------------------------------------
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/project/contents.txt", line 246, in contents.txt
Failed example:
sorted(dehtml(view()).keys())
Exception raised:
Traceback (most recent call last):
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest contents.txt[68]>", line 1, in ?
sorted(dehtml(view()).keys())
File "<doctest contents.txt[0]>", line 6, in dehtml
return eval(html)
File "<string>", line 1
<html><head><meta http-equiv="x-deliverance-no-theme" content="1"/></head><body> {'img1': {'action': 'replace', 'html': '\n <tr class="oc-js-liveEdit" id="img1">\n <td>\n \n <input type="checkbox" class="oc-js-checkAll-never"\n name="deletes:list" disabled="True"\n value="img1" />\n \n \n </td>\n <td>\n <div class="oc-js-liveEdit-value">\n <a href="http://nohost/plone/projects/p2/img1">\n Polydeuces\n </a>\n </div>\n \n <div class="oc-js-liveEdit-editForm oc-liveEdit-editForm">\n\t <!-- this is a hack. oh, this whole file is a hack. -->\n <input type="text" name="img1_title"\n value="Polydeuces" />\n <input type="submit" class="oc-js-actionButton"\n value="Save" name="task|img1|update" />\n or\n <a href="" class="oc-js-liveEdit_hideForm">\n Cancel\n </a>\n\t\n </div>\n </td>\n <td>\n 0 kB\n </td>\n <td>\n today\n \n by\n <a href="http://nohost/plone/people/portal_owner/profile">\n portal_owner\n </a>\n \n </td>\n <td>\n <ul class="oc-actions oc-dataTable-row-actions">\n <li>\n <a href="#" class="oc-js-liveEdit_showForm oc-actionLink">Rename</a></li>\n \n </ul>\n </td>\n </tr>\n\n', 'effects': 'highlight'}, 'fa1': {'action': 'replace', 'html': '\n <tr class="oc-js-liveEdit" id="fa1">\n <td>\n \n <input type="checkbox" class="oc-js-checkAll-never"\n name="deletes:list" disabled="True"\n value="fa1" />\n \n \n </td>\n <td>\n <div class="oc-js-liveEdit-value">\n <a href="http://nohost/plone/projects/p2/project-home/fa1">\n Castor\n </a>\n </div>\n \n <div class="oc-js-liveEdit-editForm oc-liveEdit-editForm">\n\t <!-- this is a hack. oh, this whole file is a hack. -->\n <input type="text" name="fa1_title" value="Castor" />\n <input type="submit" class="oc-js-actionButton"\n value="Save" name="task|fa1|update" />\n or\n <a href="" class="oc-js-liveEdit_hideForm">\n Cancel\n </a>\n\t\n </div>\n </td>\n <td>\n 0 kB\n </td>\n <td>\n today\n \n by\n <a href="http://nohost/plone/people/portal_owner/profile">\n portal_owner\n </a>\n \n </td>\n <td>\n <ul class="oc-actions oc-dataTable-row-actions">\n <li>\n <a href="#" class="oc-js-liveEdit_showForm oc-actionLink">Rename</a></li>\n \n </ul>\n </td>\n </tr>\n\n', 'effects': 'highlight'}, 'oc-statusMessage-container': {'action': 'replace', 'html': '\n <div id="oc-statusMessage-container">\n </div>\n\n', 'effects': 'blink'}}
^
SyntaxError: invalid syntax
----------------------------------------------------------------------
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/project/contents.txt", line 268, in contents.txt
Failed example:
sorted(dehtml(view()))
Exception raised:
Traceback (most recent call last):
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest contents.txt[77]>", line 1, in ?
sorted(dehtml(view()))
File "<doctest contents.txt[0]>", line 6, in dehtml
return eval(html)
File "<string>", line 1
<html><head><meta http-equiv="x-deliverance-no-theme" content="1"/></head><body> {'img1': {'action': 'delete'}, 'fa1': {'action': 'delete'}, 'oc-statusMessage-container': {'action': 'replace', 'html': '\n <div id="oc-statusMessage-container">\n </div>\n\n', 'effects': 'blink'}}
^
SyntaxError: invalid syntax
----------------------------------------------------------------------
File "/Users/rmarianski/env/opentrunk/src/opencore/opencore/nui/project/contents.txt", line 286, in contents.txt
Failed example:
dehtml(view())
Exception raised:
Traceback (most recent call last):
File "/Users/rmarianski/env/opentrunk/src/Zope-2.9-branch/lib/python/zope/testing/doctest.py", line 1348, in __run
compileflags, 1) in test.globs
File "<doctest contents.txt[84]>", line 1, in ?
dehtml(view())
File "<doctest contents.txt[0]>", line 6, in dehtml
return eval(html)
File "<string>", line 1
<html><head><meta http-equiv="x-deliverance-no-theme" content="1"/></head><body> {'list1': {'action': 'delete'}, 'oc-statusMessage-container': {'action': 'replace', 'html': '\n <div id="oc-statusMessage-container">\n </div>\n\n', 'effects': 'blink'}}
^
SyntaxError: invalid syntax
...............................................................................................
Ran 235 tests with 2 failures and 0 errors in 41.226 seconds.
Running opencore.tasktracker.tests.MockHTTPwithContent tests:
Set up opencore.testing.layer.MockHTTP in 0.001 seconds.
Set up opencore.tasktracker.tests.MockHTTPwithContent in 0.000 seconds.
Running:
.......................
Ran 23 tests with 0 failures and 0 errors in 3.342 seconds.
Tearing down left over layers:
Tear down opencore.tasktracker.tests.MockHTTPwithContent ... not supported
Tear down opencore.testing.layer.MockHTTP ... not supported
Tear down opencore.testing.layer.OpencoreContent ... not supported
Tear down opencore.testing.layer.OpenPlansLayer in 0.002 seconds.
Tear down opencore.testing.layer.SiteSetupLayer ... not supported
Tear down Products.PloneTestCase.layer.PloneSite in 1.497 seconds.
Tear down Products.PloneTestCase.layer.ZCML in 0.005 seconds.
Total: 345 tests, 3 failures, 0 errors
Exception exceptions.AttributeError: "'NoneType' object has no attribute 'has_key'" in <bound method SkinDataCleanup.__del__ of <Products.CMFCore.Skinnable.SkinDataCleanup instance at 0x97b7580>> ignored