[Zope3-dev] Rotterdam skin

Stephan Richter stephan.richter@tufts.edu
Fri, 20 Dec 2002 04:00:30 -0500


Guys

another bug. I just tried to run Zope having hooked up the Rotterdam skin and 
it was broken. Here the error output:

python2.3 z3.py
Traceback (most recent call last):
  File "z3.py", line 76, in ?
    run()
  File "z3.py", line 55, in run
    config('site.zcml')
  File "/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/App/_app.py", line 
36, in config
    XMLConfig(file)()
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/xmlconfig.py", 
line 284, in __init__
    self._directives)
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/xmlconfig.py", 
line 232, in xmlconfig
    parser.parse(src)
  File "/opt/python2.3/lib/python2.3/xml/sax/expatreader.py", line 107, in 
parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/opt/python2.3/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/opt/python2.3/lib/python2.3/xml/sax/expatreader.py", line 201, in 
feed
    self._parser.Parse(data, isFinal)
  File "/opt/python2.3/lib/python2.3/xml/sax/expatreader.py", line 299, in 
start_element_ns
    AttributesNSImpl(newattrs, {}))
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/xmlconfig.py", 
line 113, in startElementNS
    stack.append(
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/meta.py", 
line 207, in begin
    return _exe(callable, subs, _context, kw)
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/meta.py", 
line 162, in _exe
    r = callable(context, **kw)
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/xmlconfig.py", 
line 326, in include
    self._include(file_name, package)
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/xmlconfig.py", 
line 334, in _include
    self._directives)
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/xmlconfig.py", 
line 232, in xmlconfig
    parser.parse(src)
  File "/opt/python2.3/lib/python2.3/xml/sax/expatreader.py", line 107, in 
parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/opt/python2.3/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/opt/python2.3/lib/python2.3/xml/sax/expatreader.py", line 201, in 
feed
    self._parser.Parse(data, isFinal)
  File "/opt/python2.3/lib/python2.3/xml/sax/expatreader.py", line 299, in 
start_element_ns
    AttributesNSImpl(newattrs, {}))
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/xmlconfig.py", 
line 113, in startElementNS
    stack.append(
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/meta.py", 
line 207, in begin
    return _exe(callable, subs, _context, kw)
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/meta.py", 
line 162, in _exe
    r = callable(context, **kw)
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/xmlconfig.py", 
line 326, in include
    self._include(file_name, package)
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/xmlconfig.py", 
line 334, in _include
    self._directives)
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/xmlconfig.py", 
line 232, in xmlconfig
    parser.parse(src)
  File "/opt/python2.3/lib/python2.3/xml/sax/expatreader.py", line 107, in 
parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/opt/python2.3/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/opt/python2.3/lib/python2.3/xml/sax/expatreader.py", line 201, in 
feed
    self._parser.Parse(data, isFinal)
  File "/opt/python2.3/lib/python2.3/xml/sax/expatreader.py", line 299, in 
start_element_ns
    AttributesNSImpl(newattrs, {}))
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/xmlconfig.py", 
line 113, in startElementNS
    stack.append(
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/meta.py", 
line 207, in begin
    return _exe(callable, subs, _context, kw)
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/meta.py", 
line 162, in _exe
    r = callable(context, **kw)
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/App/Publisher/Browser/ViewMeta.py", 
line 78, in __init__
    permission, allowed_interface, allowed_attributes)
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/App/Publisher/Browser/ResourceMeta.py", 
line 61, in __init__
    self.factory = self._factory(_context, factory)
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/App/Publisher/Browser/ViewMeta.py", 
line 151, in _factory
    factory = map(_context.resolve, factory.strip().split())
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/xmlconfig.py", 
line 194, in resolve
    return name.resolve(dottedname, self.__package)
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/Zope/Configuration/name.py", 
line 43, in resolve
    m=__import__(mod, _globals, _globals, _silly)
Zope.Configuration.xmlconfig.ZopeXMLConfigurationError: File "site.zcml", line 
23, column 0

ZopeXMLConfigurationError:
  File "products.zcml", line 8, column 0

ZopeXMLConfigurationError:
  File 
"/home/srichter/Zope3/Zope3-Fresh/lib/python/ZopeProducts/RotterdamSprint/configure.zcml", 
line 24, column 0

ImportError:
  No module named NameConfigurableView
make: *** [run] Error 1

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training