[Zope-tests] FAILED (errors=8): Test Zope 2 HEAD / Python 2.3 / Linux

jeremy at zope.com jeremy at zope.com
Tue Mar 9 05:26:27 EST 2004


Email automatically generated by a daily test runner.

cd /tmp/autotestrPcKUL/Zope
PYTHONPATH=/tmp/autotestrPcKUL/lib/python  /usr/local/bin/python2.3 -u test.py -v --all
Running unit tests at all levels
Running unit tests from /tmp/autotestrPcKUL/Zope


Error in test test_bound_unused_container (AccessControl.tests.testBindings.TestBindings)
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 184, in test_bound_unused_container
    self.assertEqual(ps(), 1)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 320, in _exec
    g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId



Error in test test_bound_unused_context (AccessControl.tests.testBindings.TestBindings)
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 233, in test_bound_unused_context
    self.assertEqual(ps(), 1)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 320, in _exec
    g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId



Error in test test_bound_used_container (AccessControl.tests.testBindings.TestBindings)
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 194, in test_bound_used_container
    self.assertRaises(Unauthorized, ps)
  File "/usr/local/lib/python2.3/unittest.py", line 289, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 320, in _exec
    g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId



Error in test test_bound_used_container_allowed (AccessControl.tests.testBindings.TestBindings)
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 225, in test_bound_used_container_allowed
    self.assertEqual(ps(), 'open')
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 320, in _exec
    g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId



Error in test test_bound_used_context (AccessControl.tests.testBindings.TestBindings)
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 243, in test_bound_used_context
    self.assertRaises(Unauthorized, ps)
  File "/usr/local/lib/python2.3/unittest.py", line 289, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 320, in _exec
    g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId



Error in test test_bound_used_context_allowed (AccessControl.tests.testBindings.TestBindings)
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 274, in test_bound_used_context_allowed
    self.assertEqual(ps(), 'open')
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 320, in _exec
    g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId



Error in test test_bound_used_context_method_w_roles (AccessControl.tests.testBindings.TestBindings)
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 304, in test_bound_used_context_method_w_roles
    self.assertRaises(Unauthorized, ps)
  File "/usr/local/lib/python2.3/unittest.py", line 289, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 320, in _exec
    g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId



Error in test test_ok_no_bindings (AccessControl.tests.testBindings.TestBindings)
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 287, in test_ok_no_bindings
    boundless_ps.ZBindings_edit( {'name_context': '',
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 198, in ZBindings_edit
    self._editedBindings()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 280, in _editedBindings
    self._makeFunction()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 276, in _makeFunction
    self._filepath = self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId

.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................!
..........................................................................................................................................Script (Python):filepath:1: DeprecationWarning: integer argument expected, got float
.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................!
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
ERROR: test_bound_unused_container (AccessControl.tests.testBindings.TestBindings)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 184, in test_bound_unused_container
    self.assertEqual(ps(), 1)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 320, in _exec
    g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId

======================================================================
ERROR: test_bound_unused_context (AccessControl.tests.testBindings.TestBindings)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 233, in test_bound_unused_context
    self.assertEqual(ps(), 1)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 320, in _exec
    g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId

======================================================================
ERROR: test_bound_used_container (AccessControl.tests.testBindings.TestBindings)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 194, in test_bound_used_container
    self.assertRaises(Unauthorized, ps)
  File "/usr/local/lib/python2.3/unittest.py", line 289, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 320, in _exec
    g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId

======================================================================
ERROR: test_bound_used_container_allowed (AccessControl.tests.testBindings.TestBindings)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 225, in test_bound_used_container_allowed
    self.assertEqual(ps(), 'open')
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 320, in _exec
    g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId

======================================================================
ERROR: test_bound_used_context (AccessControl.tests.testBindings.TestBindings)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 243, in test_bound_used_context
    self.assertRaises(Unauthorized, ps)
  File "/usr/local/lib/python2.3/unittest.py", line 289, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 320, in _exec
    g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId

======================================================================
ERROR: test_bound_used_context_allowed (AccessControl.tests.testBindings.TestBindings)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 274, in test_bound_used_context_allowed
    self.assertEqual(ps(), 'open')
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 320, in _exec
    g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId

======================================================================
ERROR: test_bound_used_context_method_w_roles (AccessControl.tests.testBindings.TestBindings)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 304, in test_bound_used_context_method_w_roles
    self.assertRaises(Unauthorized, ps)
  File "/usr/local/lib/python2.3/unittest.py", line 289, in failUnlessRaises
    callableObj(*args, **kwargs)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 320, in _exec
    g['__file__'] = getattr(self, '_filepath', None) or self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId

======================================================================
ERROR: test_ok_no_bindings (AccessControl.tests.testBindings.TestBindings)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autotestrPcKUL/Zope/lib/python/AccessControl/tests/testBindings.py", line 287, in test_ok_no_bindings
    boundless_ps.ZBindings_edit( {'name_context': '',
  File "/tmp/autotestrPcKUL/Zope/lib/python/Shared/DC/Scripts/Bindings.py", line 198, in ZBindings_edit
    self._editedBindings()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 280, in _editedBindings
    self._makeFunction()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 276, in _makeFunction
    self._filepath = self.get_filepath()
  File "/tmp/autotestrPcKUL/Zope/lib/python/Products/PythonScripts/PythonScript.py", line 335, in get_filepath
    return self.meta_type + ':' + '/'.join(self.getPhysicalPath())
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 105, in getPhysicalPath
    path = p.getPhysicalPath() + path
  File "/tmp/autotestrPcKUL/Zope/lib/python/OFS/Traversable.py", line 101, in getPhysicalPath
    path = (self.getId(),)
AttributeError: getId

----------------------------------------------------------------------
Ran 2623 tests in 1369.401s

FAILED (errors=8)



More information about the Zope-tests mailing list