[Zope3-dev] cygwin/Zope3 CVS

Andy McKay andy@agmweb.ca
Fri, 29 Nov 2002 18:26:51 -0800


Well spotted ;)

How about this fella then. Golly thats a long traceback. Anyway
"DuplicationError: <type 'Persistence.BTrees.OOBTree.OOBTree>" matches the
test error.

E:\Builds\Zope3\Zope3>e:\Python22\python.exe z3.py
Traceback (most recent call last):
  File "z3.py", line 68, in ?
    run()
  File "z3.py", line 47, in run
    config('site.zcml')
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\App\_app.py", line 40, in
config
    XMLConfig(file)()
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line
283, in __init__
    self._directives)
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line
231, in xmlconfig
    parser.parse(src)
  File "e:\Python22\lib\xml\sax\expatreader.py", line 91, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "e:\python22\lib\xml\sax\xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "e:\Python22\lib\xml\sax\expatreader.py", line 144, in feed
    self._parser.Parse(data, isFinal)
  File "e:\Python22\lib\xml\sax\expatreader.py", line 253, in
start_element_ns
    AttributesNSImpl(newattrs, qnames))
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line
112, in startElementNS
    stack.append(
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\meta.py", line
207,
in begin
    return _exe(callable, subs, _context, kw)
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\meta.py", line
162,
in _exe
    r = callable(context, **kw)
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line
313, in include
    self._directives)
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line
231, in xmlconfig
    parser.parse(src)
  File "e:\Python22\lib\xml\sax\expatreader.py", line 91, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "e:\python22\lib\xml\sax\xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "e:\Python22\lib\xml\sax\expatreader.py", line 144, in feed
    self._parser.Parse(data, isFinal)
  File "e:\Python22\lib\xml\sax\expatreader.py", line 253, in
start_element_ns
    AttributesNSImpl(newattrs, qnames))
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line
112, in startElementNS
    stack.append(
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\meta.py", line
207,
in begin
    return _exe(callable, subs, _context, kw)
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\meta.py", line
162,
in _exe
    r = callable(context, **kw)
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line
313, in include
    self._directives)
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line
231, in xmlconfig
    parser.parse(src)
  File "e:\Python22\lib\xml\sax\expatreader.py", line 91, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "e:\python22\lib\xml\sax\xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "e:\Python22\lib\xml\sax\expatreader.py", line 144, in feed
    self._parser.Parse(data, isFinal)
  File "e:\Python22\lib\xml\sax\expatreader.py", line 253, in
start_element_ns
    AttributesNSImpl(newattrs, qnames))
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line
112, in startElementNS
    stack.append(
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\meta.py", line
207,
in begin
    return _exe(callable, subs, _context, kw)
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\meta.py", line
162,
in _exe
    r = callable(context, **kw)
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line
313, in include
    self._directives)
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line
231, in xmlconfig
    parser.parse(src)
  File "e:\Python22\lib\xml\sax\expatreader.py", line 91, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "e:\python22\lib\xml\sax\xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "e:\Python22\lib\xml\sax\expatreader.py", line 144, in feed
    self._parser.Parse(data, isFinal)
  File "e:\Python22\lib\xml\sax\expatreader.py", line 253, in
start_element_ns
    AttributesNSImpl(newattrs, qnames))
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line
127, in startElementNS
    stack.append(sub(subs, name, self.__context, **kw))
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\meta.py", line
243,
in sub
    return _exe(callable, subsubs, _context, kw)
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\meta.py", line
162,
in _exe
    r = callable(context, **kw)
  File
"E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\metametaConfigure.py
", line 39, in directive
    subs, namespace = self._register(_context, name, handler, namespace)
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\meta.py", line
288,
in _register
    subs = register((namespace, name), _context.resolve(handler))
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\xmlconfig.py",
line
193, in resolve
    return name.resolve(dottedname, self.__package)
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Configuration\name.py", line
43, i
n resolve
    m=__import__(mod, _globals, _globals, _silly)
  File
"E:\Builds\Zope3\Zope3\lib\python\Zope\App\ComponentArchitecture\metaConf
igure.py", line 23, in ?
    from Zope.App.Security.Registries.PermissionRegistry import
permissionRegist
ry
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\App\Security\__init__.py",
line 18
, in ?
    _protections.protect()
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\App\Security\_protections.py",
lin
e 52, in protect
    _protect(which)
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\App\Security\_protections.py",
lin
e 31, in _protect
    getCheckerForInstancesOf(dict))
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\Security\Checker.py", line
288, in
 defineChecker
    raise DuplicationError(type_)
Zope.Configuration.xmlconfig.ZopeXMLConfigurationError: File "site.zcml",
line 4
, column 0

ZopeXMLConfigurationError:
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\App\configure.zcml", line 3,
colum
n 2

ZopeXMLConfigurationError:
  File "E:\Builds\Zope3\Zope3\lib\python\Zope\App\meta.zcml", line 6, column
0

ZopeXMLConfigurationError:
  File
"E:\Builds\Zope3\Zope3\lib\python\Zope\App\ComponentArchitecture\meta.zcm
l", line 5, column 4

DuplicationError:
  <type 'Persistence.BTrees.OOBTree.OOBTree'>

--
  Andy McKay
  www.agmweb.ca