[Zope-Coders] 2.5.0 test failures on Win32
Chris Withers
chrisw@nipltd.com
Tue, 29 Jan 2002 14:00:16 +0000
Hi,
While trying to fix my DirectoryView tests, I thought I'd run the tests on a
fresh download of 2.5.0.
The results were pretty disappointing :-( (see below)
Now, I don't know why half of these failures are happening, but I can certainly
see what I'm guessing is use of os.system('rm -rf something') which is just
plain sloppy and which I intend to fix shortly.
However, I'd be willing to try and get the equivalent of Shane's overnight tests
running on Windows if someone could help me to get Zope compiling on Win32 (I
haev MS VC++, etc)
Let me know...
cheers,
Chris
E:\Zope\2.5.0>bin\python utilities\testrunner.py -v 1 -a
Module test_all.py failed to load
exceptions.ValueError: can't create a read-only file
File "utilities\testrunner.py", line 60, in getSuiteFromFile
File "E:\Zope\cmf_dev\Products\CMFCalendar\tests\test_all.py", line 1, in ?
import Zope
File "E:\Zope\2579A4~1.0\lib\python\Zope\__init__.py", line 40, in ?
m=imp.load_module('Zope.custom_zodb', m[0], m[1], m[2])
File "E:\Zope\2579A4~1.0\lib\python\Testing\custom_zodb.py", line 7, in ?
Storage = DemoStorage(base=FileStorage(dfi, read_only=1), quota=(1<<20))
File "E:\Zope\2579A4~1.0\lib\python\ZODB\FileStorage.py", line 189, in __init
__
raise ValueError, "can\'t create a read-only file"
Module testUnicodeSplitter.py failed to load
exceptions.ImportError: No module named UnicodeSplitter
File "utilities\testrunner.py", line 60, in getSuiteFromFile
File "testUnicodeSplitter.py", line 2, in ?
from Products.PluginIndexes.TextIndex.Splitter.UnicodeSplitter.UnicodeSplitt
er import UnicodeSplitter
File "E:\Zope\2579A4~1.0\lib\python\Products\PluginIndexes\TextIndex\Splitter
\UnicodeSplitter\__init__.py", line 1, in ?
from UnicodeSplitter import UnicodeSplitter as Splitter
........................F....................F..................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
..............................F.............................F...................
.......................EEE...EEE...............EEEEEEEE.........EE..............
F...F..FEEEEEE...EEE.....................EEEEEEEEEEEEEEE.........EE.............
.F...F..FEEEE......................................................EEEE.........
................E...............................................................
............................................................................The
name specified is not recognized as an
internal or external command, operable program or batch file.
.The name specified is not recognized as an
internal or external command, operable program or batch file.
.The name specified is not recognized as an
internal or external command, operable program or batch file.
.The name specified is not recognized as an
internal or external command, operable program or batch file.
.The name specified is not recognized as an
internal or external command, operable program or batch file.
.The name specified is not recognized as an
internal or external command, operable program or batch file.
.The name specified is not recognized as an
internal or external command, operable program or batch file.
.The name specified is not recognized as an
internal or external command, operable program or batch file.
.FThe name specified is not recognized as an
internal or external command, operable program or batch file.
FThe name specified is not recognized as an
internal or external command, operable program or batch file.
The name specified is not recognized as an
internal or external command, operable program or batch file.
..The name specified is not recognized as an
internal or external command, operable program or batch file.
.The name specified is not recognized as an
internal or external command, operable program or batch file.
..E.E....E.E....................................................................
................................................................................
................................................................................
...........................................................F....................
................................................................................
..........................................................EE.......
======================================================================
ERROR: test_Condition (test_ActionInformation.ActionInformationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_ActionInformation.py", line
27, in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_basic_construction (test_ActionInformation.ActionInformationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_ActionInformation.py", line
27, in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_construction_with_Expressions (test_ActionInformation.ActionInformat
ionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_ActionInformation.py", line
27, in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_actionProviders (test_ActionsTool.ActionsToolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_ActionsTool.py", line 10, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_addActionProvider (test_ActionsTool.ActionsToolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_ActionsTool.py", line 10, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_delActionProvider (test_ActionsTool.ActionsToolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_ActionsTool.py", line 10, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_catalogUnindexAndIndex (Products.CMFCore.tests.test_PortalFolder.Por
talFolderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 86, i
n setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_contentPaste (Products.CMFCore.tests.test_PortalFolder.PortalFolderT
ests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 86, i
n setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_deletePropagation (Products.CMFCore.tests.test_PortalFolder.PortalFo
lderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 86, i
n setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_folderMove (Products.CMFCore.tests.test_PortalFolder.PortalFolderTes
ts)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 86, i
n setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_manageAddFolder (Products.CMFCore.tests.test_PortalFolder.PortalFold
erTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 86, i
n setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_manageDelObjects (Products.CMFCore.tests.test_PortalFolder.PortalFol
derTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 86, i
n setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_tracker261 (Products.CMFCore.tests.test_PortalFolder.PortalFolderTes
ts)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 86, i
n setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_listFolderContentsPerms (Products.CMFCore.tests.test_PortalFolder.Po
rtalFolderPermissionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 407,
in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_AddingOtherTypeInfos (Products.CMFCore.tests.test_TypesTool.TypesToo
lTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_TypesTool.py", line 122, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_processActions (Products.CMFCore.tests.test_TypesTool.TypesToolTests
)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_TypesTool.py", line 122, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_actionProviders (Products.CMFCore.tests.test_ActionsTool.ActionsTool
Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_ActionsTool.py", line 10, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_addActionProvider (Products.CMFCore.tests.test_ActionsTool.ActionsTo
olTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_ActionsTool.py", line 10, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_delActionProvider (Products.CMFCore.tests.test_ActionsTool.ActionsTo
olTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_ActionsTool.py", line 10, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_Condition (Products.CMFCore.tests.test_ActionInformation.ActionInfor
mationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_ActionInformation.py", line
27, in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_basic_construction (Products.CMFCore.tests.test_ActionInformation.Ac
tionInformationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_ActionInformation.py", line
27, in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_construction_with_Expressions (Products.CMFCore.tests.test_ActionInf
ormation.ActionInformationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_ActionInformation.py", line
27, in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_anonymous_ec (Products.CMFCore.tests.test_Expression.ExpressionTests
)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_Expression.py", line 81, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_authenticatedUser_ec (Products.CMFCore.tests.test_Expression.Express
ionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_Expression.py", line 81, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_ec_context (Products.CMFCore.tests.test_Expression.ExpressionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_Expression.py", line 81, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: Test registerDirectory
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_DirectoryView.py", line 18,
in test_registerDirectory
registerDirectory('fake_skins', globals())
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 261, in registe
rDirectory
self.registerDirectoryByPath(filepath, subdirs)
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 266, in registe
rDirectoryByPath
self._directories[fp] = di = DirectoryInformation(normfilepath, fp)
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 60, in __init__
for entry in _filtered_listdir(expanded_fp):
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 45, in _filtere
d_listdir
listdir(path))
WindowsError: [Errno 3] The system cannot find the path specified: 'E:\\Zope\\2.
5.0\\test_DirectoryView\\fake_skins'
======================================================================
ERROR: test_DirectoryViewExists (test_DirectoryView.DirectoryViewTests2)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_DirectoryView.py", line 32,
in setUp
registerDirectory('fake_skins', globals())
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 261, in registe
rDirectory
self.registerDirectoryByPath(filepath, subdirs)
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 266, in registe
rDirectoryByPath
self._directories[fp] = di = DirectoryInformation(normfilepath, fp)
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 60, in __init__
for entry in _filtered_listdir(expanded_fp):
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 45, in _filtere
d_listdir
listdir(path))
WindowsError: [Errno 3] The system cannot find the path specified: 'E:\\Zope\\2.
5.0\\test_DirectoryView\\fake_skins'
======================================================================
ERROR: Check if DirectoryView method works
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_DirectoryView.py", line 32,
in setUp
registerDirectory('fake_skins', globals())
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 261, in registe
rDirectory
self.registerDirectoryByPath(filepath, subdirs)
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 266, in registe
rDirectoryByPath
self._directories[fp] = di = DirectoryInformation(normfilepath, fp)
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 60, in __init__
for entry in _filtered_listdir(expanded_fp):
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 45, in _filtere
d_listdir
listdir(path))
WindowsError: [Errno 3] The system cannot find the path specified: 'E:\\Zope\\2.
5.0\\test_DirectoryView\\fake_skins'
======================================================================
ERROR: Test addDirectoryViews
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_DirectoryView.py", line 32,
in setUp
registerDirectory('fake_skins', globals())
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 261, in registe
rDirectory
self.registerDirectoryByPath(filepath, subdirs)
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 266, in registe
rDirectoryByPath
self._directories[fp] = di = DirectoryInformation(normfilepath, fp)
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 60, in __init__
for entry in _filtered_listdir(expanded_fp):
File "E:\Zope\cmf_dev\Products\CMFCore\DirectoryView.py", line 45, in _filtere
d_listdir
listdir(path))
WindowsError: [Errno 3] The system cannot find the path specified: 'E:\\Zope\\2.
5.0\\test_DirectoryView\\fake_skins'
======================================================================
ERROR: test_anonymous_ec (test_Expression.ExpressionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_Expression.py", line 81, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_authenticatedUser_ec (test_Expression.ExpressionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_Expression.py", line 81, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_ec_context (test_Expression.ExpressionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_Expression.py", line 81, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_catalogUnindexAndIndex (test_PortalFolder.PortalFolderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 86, i
n setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_contentPaste (test_PortalFolder.PortalFolderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 86, i
n setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_deletePropagation (test_PortalFolder.PortalFolderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 86, i
n setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_folderMove (test_PortalFolder.PortalFolderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 86, i
n setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_manageAddFolder (test_PortalFolder.PortalFolderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 86, i
n setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_manageDelObjects (test_PortalFolder.PortalFolderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 86, i
n setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_tracker261 (test_PortalFolder.PortalFolderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 86, i
n setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_listFolderContentsPerms (test_PortalFolder.PortalFolderPermissionTes
ts)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_PortalFolder.py", line 407,
in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_AddingOtherTypeInfos (test_TypesTool.TypesToolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_TypesTool.py", line 122, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_processActions (test_TypesTool.TypesToolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_TypesTool.py", line 122, in
setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_deletePropagation (Products.CMFDefault.tests.test_Discussions.Discus
sionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFDefault\tests\test_Discussions.py", line 38,
in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_itemCatloguing (Products.CMFDefault.tests.test_Discussions.Discussio
nTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFDefault\tests\test_Discussions.py", line 38,
in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_nestedReplies (Products.CMFDefault.tests.test_Discussions.Discussion
Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFDefault\tests\test_Discussions.py", line 38,
in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_policy (Products.CMFDefault.tests.test_Discussions.DiscussionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFDefault\tests\test_Discussions.py", line 38,
in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_deletePropagation (test_Discussions.DiscussionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFDefault\tests\test_Discussions.py", line 38,
in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_itemCatloguing (test_Discussions.DiscussionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFDefault\tests\test_Discussions.py", line 38,
in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_nestedReplies (test_Discussions.DiscussionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFDefault\tests\test_Discussions.py", line 38,
in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_policy (test_Discussions.DiscussionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFDefault\tests\test_Discussions.py", line 38,
in setUp
self.connection = Zope.DB.open()
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: test_join (test_join.MembershipTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_join.py", line 10, in setUp
AttributeError: 'Zope' module has no attribute 'DB'
======================================================================
ERROR: testBigBoolean (testPythonScript.TestPythonScriptNoAq)
----------------------------------------------------------------------
Traceback (most recent call last):
File "testPythonScript.py", line 128, in testBigBoolean
File "E:\Zope\2579A4~1.0\lib\python\Shared\DC\Scripts\Bindings.py", line 252,
in __call__
return self._bindAndExec(args, kw, None)
File "E:\Zope\2579A4~1.0\lib\python\Shared\DC\Scripts\Bindings.py", line 283,
in _bindAndExec
return self._exec(bound_data, args, kw)
File "E:\Zope\2579A4~1.0\lib\python\Products\PythonScripts\PythonScript.py", l
ine 291, in _exec
result = apply(f, args, kw)
File "Script (Python)", line 4, in ps
File "E:\Zope\2579A4~1.0\lib\python\AccessControl\ZopeGuards.py", line 94, in
guarded_getitem
if getSecurityManager().validate(object, object, index, v):
File "E:\Zope\2579A4~1.0\lib\python\AccessControl\SecurityManager.py", line 83
, in validate
self._context)
TypeError: validate() takes at least 7 arguments (6 given)
======================================================================
ERROR: testComplexPrint (testPythonScript.TestPythonScriptNoAq)
----------------------------------------------------------------------
Traceback (most recent call last):
File "testPythonScript.py", line 144, in testComplexPrint
File "E:\Zope\2579A4~1.0\lib\python\Shared\DC\Scripts\Bindings.py", line 252,
in __call__
return self._bindAndExec(args, kw, None)
File "E:\Zope\2579A4~1.0\lib\python\Shared\DC\Scripts\Bindings.py", line 283,
in _bindAndExec
return self._exec(bound_data, args, kw)
File "E:\Zope\2579A4~1.0\lib\python\Products\PythonScripts\PythonScript.py", l
ine 291, in _exec
result = apply(f, args, kw)
File "Script (Python)", line 6, in ps
File "E:\Zope\2579A4~1.0\lib\python\AccessControl\ZopeGuards.py", line 94, in
guarded_getitem
if getSecurityManager().validate(object, object, index, v):
File "E:\Zope\2579A4~1.0\lib\python\AccessControl\SecurityManager.py", line 83
, in validate
self._context)
TypeError: validate() takes at least 7 arguments (6 given)
======================================================================
ERROR: testImport (testPythonScript.TestPythonScriptNoAq)
----------------------------------------------------------------------
Traceback (most recent call last):
File "testPythonScript.py", line 95, in testImport
File "E:\Zope\2579A4~1.0\lib\python\Shared\DC\Scripts\Bindings.py", line 252,
in __call__
return self._bindAndExec(args, kw, None)
File "E:\Zope\2579A4~1.0\lib\python\Shared\DC\Scripts\Bindings.py", line 283,
in _bindAndExec
return self._exec(bound_data, args, kw)
File "E:\Zope\2579A4~1.0\lib\python\Products\PythonScripts\PythonScript.py", l
ine 291, in _exec
result = apply(f, args, kw)
File "Script (Python)", line 1, in ps
File "E:\Zope\2579A4~1.0\lib\python\AccessControl\ZopeGuards.py", line 60, in
guarded_getattr
if validate(inst, inst, name, v):
File "E:\Zope\2579A4~1.0\lib\python\AccessControl\SecurityManager.py", line 83
, in validate
self._context)
TypeError: validate() takes at least 7 arguments (6 given)
======================================================================
ERROR: testMutateLiterals (testPythonScript.TestPythonScriptNoAq)
----------------------------------------------------------------------
Traceback (most recent call last):
File "testPythonScript.py", line 109, in testMutateLiterals
File "E:\Zope\2579A4~1.0\lib\python\Shared\DC\Scripts\Bindings.py", line 252,
in __call__
return self._bindAndExec(args, kw, None)
File "E:\Zope\2579A4~1.0\lib\python\Shared\DC\Scripts\Bindings.py", line 283,
in _bindAndExec
return self._exec(bound_data, args, kw)
File "E:\Zope\2579A4~1.0\lib\python\Products\PythonScripts\PythonScript.py", l
ine 291, in _exec
result = apply(f, args, kw)
File "Script (Python)", line 2, in ps
File "E:\Zope\2579A4~1.0\lib\python\AccessControl\ZopeGuards.py", line 94, in
guarded_getitem
if getSecurityManager().validate(object, object, index, v):
File "E:\Zope\2579A4~1.0\lib\python\AccessControl\SecurityManager.py", line 83
, in validate
self._context)
TypeError: validate() takes at least 7 arguments (6 given)
======================================================================
ERROR: Test orphan collection
----------------------------------------------------------------------
Traceback (most recent call last):
File "testBatch.py", line 32, in testOrphan
File "E:\Zope\2579A4~1.0\lib\python\ZTUtils\Zope.py", line 147, in __init__
orphan, overlap)
File "E:\Zope\2579A4~1.0\lib\python\ZTUtils\Batch.py", line 46, in __init__
start,end,sz = opt(start,end,size,orphan,sequence)
File "E:\Zope\2579A4~1.0\lib\python\ZTUtils\Batch.py", line 80, in opt
try: sequence[start-1]
File "E:\Zope\2579A4~1.0\lib\python\ZTUtils\Zope.py", line 71, in __getitem__
try: v = guarded_getitem(s, e)
File "E:\Zope\2579A4~1.0\lib\python\AccessControl\ZopeGuards.py", line 94, in
guarded_getitem
if getSecurityManager().validate(object, object, index, v):
File "E:\Zope\2579A4~1.0\lib\python\AccessControl\SecurityManager.py", line 83
, in validate
self._context)
TypeError: validate() takes at least 7 arguments (6 given)
======================================================================
ERROR: Test single Batch
----------------------------------------------------------------------
Traceback (most recent call last):
File "testBatch.py", line 19, in testSingle
File "E:\Zope\2579A4~1.0\lib\python\ZTUtils\Zope.py", line 147, in __init__
orphan, overlap)
File "E:\Zope\2579A4~1.0\lib\python\ZTUtils\Batch.py", line 46, in __init__
start,end,sz = opt(start,end,size,orphan,sequence)
File "E:\Zope\2579A4~1.0\lib\python\ZTUtils\Batch.py", line 80, in opt
try: sequence[start-1]
File "E:\Zope\2579A4~1.0\lib\python\ZTUtils\Zope.py", line 71, in __getitem__
try: v = guarded_getitem(s, e)
File "E:\Zope\2579A4~1.0\lib\python\AccessControl\ZopeGuards.py", line 94, in
guarded_getitem
if getSecurityManager().validate(object, object, index, v):
File "E:\Zope\2579A4~1.0\lib\python\AccessControl\SecurityManager.py", line 83
, in validate
self._context)
TypeError: validate() takes at least 7 arguments (6 given)
======================================================================
FAIL: testBatchingEtc (testSecurity.SecurityTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\2.5.0\lib\python\DocumentTemplate\tests\testDTML.py", line 166,
in testBatchingEtc
assert res == expected, res
AssertionError: <html><head><title>Inventory by Dealer</title></head><body>
<dl>
(Bay Chevy 96 Chevrolet Caprice - Bay Chevy 96 Chevrolet Nova)
(Bay Chevy 96 Chevrolet Corvett - Bay Chevy 96 Chevrolet Corsica)
(Bay Chevy 96 Chevrolet Corsica - Colman Olds 96 Olds Ciera)
<dt>Colman Olds</dt><dd>
96 Olds Cutlass <p>
95 Olds Cutlas <p>
93 Dodge Shadow <p>
94 Jeep Cheroke <p>
92 Toyota Previa <p>
</dd>
(Colman Olds 93 Toyota Celica - Colman Olds 94 Honda Civic)
(Colman Olds 93 Honda Civix - Spam Chev 96 Chevrolet Nova)
(Spam Chev 96 Chevrolet Corvett - Spam Chev 96 Chevrolet Corsica)
(Spam Chev 96 Chevrolet Corsica - Spam Olds 96 Olds Ciera)
(Spam Olds 96 Olds Cutlass - Spam Olds 92 Toyota Previa)
(Spam Olds 93 Toyota Celica - Spam Olds 93 Honda Civix)
</dl>
</body></html>
======================================================================
FAIL: testBatchingEtc (testUserFolder.SecurityTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\2.5.0\lib\python\DocumentTemplate\tests\testDTML.py", line 166,
in testBatchingEtc
assert res == expected, res
AssertionError: <html><head><title>Inventory by Dealer</title></head><body>
<dl>
(Bay Chevy 96 Chevrolet Caprice - Bay Chevy 96 Chevrolet Nova)
(Bay Chevy 96 Chevrolet Corvett - Bay Chevy 96 Chevrolet Corsica)
(Bay Chevy 96 Chevrolet Corsica - Colman Olds 96 Olds Ciera)
<dt>Colman Olds</dt><dd>
96 Olds Cutlass <p>
95 Olds Cutlas <p>
93 Dodge Shadow <p>
94 Jeep Cheroke <p>
92 Toyota Previa <p>
</dd>
(Colman Olds 93 Toyota Celica - Colman Olds 94 Honda Civic)
(Colman Olds 93 Honda Civix - Spam Chev 96 Chevrolet Nova)
(Spam Chev 96 Chevrolet Corvett - Spam Chev 96 Chevrolet Corsica)
(Spam Chev 96 Chevrolet Corsica - Spam Olds 96 Olds Ciera)
(Spam Olds 96 Olds Cutlass - Spam Olds 92 Toyota Previa)
(Spam Olds 93 Toyota Celica - Spam Olds 93 Honda Civix)
</dl>
</body></html>
======================================================================
FAIL: Constructor from date/time string
----------------------------------------------------------------------
Traceback (most recent call last):
File "testDateTime.py", line 57, in testConstructor3
File "testDateTime.py", line 16, in _compare
AssertionError
======================================================================
FAIL: testBatchingEtc (testDTML.DTMLTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\2.5.0\lib\python\DocumentTemplate\tests\testDTML.py", line 166,
in testBatchingEtc
assert res == expected, res
AssertionError: <html><head><title>Inventory by Dealer</title></head><body>
<dl>
(Bay Chevy 96 Chevrolet Caprice - Bay Chevy 96 Chevrolet Nova)
(Bay Chevy 96 Chevrolet Corvett - Bay Chevy 96 Chevrolet Corsica)
(Bay Chevy 96 Chevrolet Corsica - Colman Olds 96 Olds Ciera)
<dt>Colman Olds</dt><dd>
96 Olds Cutlass <p>
95 Olds Cutlas <p>
93 Dodge Shadow <p>
94 Jeep Cheroke <p>
92 Toyota Previa <p>
</dd>
(Colman Olds 93 Toyota Celica - Colman Olds 94 Honda Civic)
(Colman Olds 93 Honda Civix - Spam Chev 96 Chevrolet Nova)
(Spam Chev 96 Chevrolet Corvett - Spam Chev 96 Chevrolet Corsica)
(Spam Chev 96 Chevrolet Corsica - Spam Olds 96 Olds Ciera)
(Spam Olds 96 Olds Cutlass - Spam Olds 92 Toyota Previa)
(Spam Olds 93 Toyota Celica - Spam Olds 93 Honda Civix)
</dl>
</body></html>
======================================================================
FAIL: test_isConstructionAllowed_wo_Security (Products.CMFCore.tests.test_TypesT
ool.FTIConstructionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_TypesTool.py", line 477, in
test_isConstructionAllowed_wo_Security
self.failIf( ti.isConstructionAllowed( folder ) )
File "E:\Zope\2579A4~1.0\bin\lib\unittest.py", line 245, in failIf
if expr: raise self.failureException, msg
AssertionError
======================================================================
FAIL: test_constructInstance_wo_Roles (Products.CMFCore.tests.test_TypesTool.FTI
ConstructionTests_w_Roles)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_TypesTool.py", line 528, in
test_constructInstance_wo_Roles
, ti.constructInstance, folder, 'foo' )
File "E:\Zope\2579A4~1.0\bin\lib\unittest.py", line 266, in failUnlessRaises
raise self.failureException, excName
AssertionError: Unauthorized
======================================================================
FAIL: test_isConstructionAllowed_wo_Role (Products.CMFCore.tests.test_TypesTool.
FTIConstructionTests_w_Roles)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_TypesTool.py", line 518, in
test_isConstructionAllowed_wo_Role
, folder, raise_exc=1 )
File "E:\Zope\2579A4~1.0\bin\lib\unittest.py", line 266, in failUnlessRaises
raise self.failureException, excName
AssertionError: Unauthorized
======================================================================
FAIL: test_isConstructionAllowed_wo_Security (test_TypesTool.FTIConstructionTest
s)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_TypesTool.py", line 477, in
test_isConstructionAllowed_wo_Security
self.failIf( ti.isConstructionAllowed( folder ) )
File "E:\Zope\2579A4~1.0\bin\lib\unittest.py", line 245, in failIf
if expr: raise self.failureException, msg
AssertionError
======================================================================
FAIL: test_constructInstance_wo_Roles (test_TypesTool.FTIConstructionTests_w_Rol
es)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_TypesTool.py", line 528, in
test_constructInstance_wo_Roles
, ti.constructInstance, folder, 'foo' )
File "E:\Zope\2579A4~1.0\bin\lib\unittest.py", line 266, in failUnlessRaises
raise self.failureException, excName
AssertionError: Unauthorized
======================================================================
FAIL: test_isConstructionAllowed_wo_Role (test_TypesTool.FTIConstructionTests_w_
Roles)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\Zope\cmf_dev\Products\CMFCore\tests\test_TypesTool.py", line 518, in
test_isConstructionAllowed_wo_Role
, folder, raise_exc=1 )
File "E:\Zope\2579A4~1.0\bin\lib\unittest.py", line 266, in failUnlessRaises
raise self.failureException, excName
AssertionError: Unauthorized
======================================================================
FAIL: Check simple persistent indexing
----------------------------------------------------------------------
Traceback (most recent call last):
File "testTextIndex.py", line 103, in checkPersistentUpdate1
AssertionError: [0, 1, 6]
======================================================================
FAIL: Check less simple persistent indexing
----------------------------------------------------------------------
Traceback (most recent call last):
File "testTextIndex.py", line 137, in checkPersistentUpdate2
AssertionError: [0, 1, 2, 6]
======================================================================
FAIL: check_simple_html (test_xmlparser.XMLParserTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_xmlparser.py", line 114, in check_simple_html
File "test_xmlparser.py", line 95, in _run_check
File "E:\Zope\2579A4~1.0\bin\lib\unittest.py", line 249, in failUnless
if not expr: raise self.failureException, msg
AssertionError: [('starttag', u'html', []), ('data', u' \n'), ('comment', u'comm
ent1a\n-></foo><bar><<?pi?></foo<bar\ncomment1b'), ('data', u'\n'), ('startta
g', u'img', [u'src', u'Bar', u'ismap', u'']), ('endtag', u'img'), ('data', u'sam
ple\ntext\n'), ('comment', u'comment2a- -comment2b'), ('data', u'\n'), ('endtag'
, u'html')]
----------------------------------------------------------------------
Ran 1436 tests in 187.440s
FAILED (failures=13, errors=57)
======================================================================
OVERALL FAILED (total failures=13, total errors=57)