[Zope3-dev] Error with Rotterdam skin

Godefroid Chapelle gotcha@swing.be
Thu, 12 Jun 2003 23:18:18 +0200


When I access Rotterdam skin on Cygwin I get :

Traceback (most recent call last):
   File "/cygdrive/c/Zope3head/zope3/src/zope/publisher/publish.py", line 
138, in
  publish
     result = publication.callObject(request, object)
   File 
"/cygdrive/c/Zope3head/zope3/src/zope/app/publication/zopepublication.py"
, line 159, in callObject
     return mapply(ob, request.getPositionalArguments(), request)
   File "/cygdrive/c/Zope3head/zope3/src/zope/publisher/publish.py", line 
114, in
  mapply
     return debug_call(object, args)
   File "/cygdrive/c/Zope3head/zope3/src/zope/publisher/publish.py", line 
120, in
  debug_call
     return object(*args)
   File 
"/cygdrive/c/Zope3head/zope3/src/zope/app/pagetemplate/simpleviewclass.py
", line 47, in __call__
     return self.index(template_usage, *args, **kw)
   File 
"/cygdrive/c/Zope3head/zope3/src/zope/app/pagetemplate/viewpagetemplatefi
le.py", line 73, in __call__
     return self.im_func(self.im_self, template_usage, **kw)
   File 
"/cygdrive/c/Zope3head/zope3/src/zope/app/pagetemplate/viewpagetemplatefi
le.py", line 53, in __call__
     return self.pt_render(namespace)
   File 
"/cygdrive/c/Zope3head/zope3/src/zope/pagetemplate/pagetemplate.py", line
  113, in pt_render
     context, output, tal=not source, strictinsert=0)()
   File "/cygdrive/c/Zope3head/zope3/src/zope/tal/talinterpreter.py", line 
171, i
n __call__
     self.interpret(self.program)
   File "/cygdrive/c/Zope3head/zope3/src/zope/tal/talinterpreter.py", line 
214, i
n interpret
     handlers[opcode](self, args)
   File "/cygdrive/c/Zope3head/zope3/src/zope/tal/talinterpreter.py", line 
650, i
n do_useMacro
     macro = self.engine.evaluateMacro(macroExpr)
   File "/cygdrive/c/Zope3head/zope3/src/zope/app/pagetemplate/engine.py", 
line 6
5, in evaluateMacro
     macro = Context.evaluateMacro(self, expr)
   File "/cygdrive/c/Zope3head/zope3/src/zope/tales/tales.py", line 659, in 
evalu
ate
     return expression(self)
   File "/cygdrive/c/Zope3head/zope3/src/zope/tales/expressions.py", line 
202, in
  __call__
     return self._eval(econtext)
   File "/cygdrive/c/Zope3head/zope3/src/zope/tales/expressions.py", line 
189, in
  _eval
     ob = self._subexprs[-1](econtext)
   File "/cygdrive/c/Zope3head/zope3/src/zope/tales/expressions.py", line 
124, in
  _eval
     ob = self._traverser(ob, element, econtext)
   File "/cygdrive/c/Zope3head/zope3/src/zope/app/pagetemplate/engine.py", 
line 4
3, in zopeTraverser
     request=getattr(econtext, 'request', None))
   File "/cygdrive/c/Zope3head/zope3/src/zope/app/traversing/adapters.py", 
line 1
78, in traverse
     curr = traversePathElement(curr, name, path, request=request)
   File "/cygdrive/c/Zope3head/zope3/src/zope/app/traversing/adapters.py", 
line 2
33, in traversePathElement
     next_item = traversable.traverse(nm, parms, name, further_path)
   File "/cygdrive/c/Zope3head/zope3/src/zope/app/traversing/adapters.py", 
line 5
7, in traverse
     return subject[name]
   File 
"/cygdrive/c/Zope3head/zope3/src/zope/app/browser/skins/basic/standardmac
ros.py", line 35, in __getitem__
     page = getView(context, name, request)
   File "/cygdrive/c/Zope3head/zope3/src/zope/component/__init__.py", line 
147, i
n getView
     'Views').getView(wrapped_object, name, request)
   File "/cygdrive/c/Zope3head/zope3/src/zope/component/view.py", line 58, 
in get
View
     raise ComponentLookupError(object, name, type)
ComponentLookupError: (<zope.app.content.folder.Folder object at 
0xae972e8>, 'sk
in_macros', <type 'type'>)


What is rather strange is that basic and zoptop skins are working.
--

Godefroid Chapelle

BubbleNet sprl
rue Victor Horta, 18 / 202
1348 Louvain-la-Neuve
Belgium

Tel + 32 (10) 459901

TVA 467 093 008
RC Niv 49849