[Zope3-dev] System error in apidoc: object has no attribute '_callable'

Florian Lindner mailinglists at xgm.de
Tue Mar 8 11:18:04 EST 2005


Hallo,
when requesting this page

http://horus.local:8080/++apidoc++/Interface/zope.interface.Interface/apiindex.html

I get:

2005-03-08T13:16:33 ERROR SiteError 
http://horus.local:8080/++apidoc++/Interface/zope.interface.Interface/apiindex.html
Traceback (most recent call last):
  File "/home/florian/Zope3/src/zope/publisher/publish.py", line 138, in 
publish
    result = publication.callObject(request, object)
  File "/home/florian/Zope3/src/zope/app/publication/zopepublication.py", line 
155, in callObject
    return mapply(ob, request.getPositionalArguments(), request)
  File "/home/florian/Zope3/src/zope/publisher/publish.py", line 113, in 
mapply
    return debug_call(object, args)
  File "/home/florian/Zope3/src/zope/publisher/publish.py", line 119, in 
debug_call
    return object(*args)
  File "/home/florian/Zope3/src/zope/app/pagetemplate/simpleviewclass.py", 
line 44, in __call__
    return self.index(*args, **kw)
  File 
"/home/florian/Zope3/src/zope/app/pagetemplate/viewpagetemplatefile.py", line 
80, in __call__
    return self.im_func(im_self, *args, **kw)
  File 
"/home/florian/Zope3/src/zope/app/pagetemplate/viewpagetemplatefile.py", line 
49, in __call__
    sourceAnnotations=debug_flags.sourceAnnotations)
  File "/home/florian/Zope3/src/zope/pagetemplate/pagetemplate.py", line 120, 
in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/home/florian/Zope3/src/zope/tal/talinterpreter.py", line 240, in 
__call__
    self.interpret(self.program)
  File "/home/florian/Zope3/src/zope/tal/talinterpreter.py", line 315, in 
interpret
    handlers[opcode](self, args)
  File "/home/florian/Zope3/src/zope/tal/talinterpreter.py", line 804, in 
do_useMacro
    self.interpret(macro)
  File "/home/florian/Zope3/src/zope/tal/talinterpreter.py", line 315, in 
interpret
    handlers[opcode](self, args)
  File "/home/florian/Zope3/src/zope/tal/talinterpreter.py", line 502, in 
do_optTag_tal
    self.do_optTag(stuff)
  File "/home/florian/Zope3/src/zope/tal/talinterpreter.py", line 487, in 
do_optTag
    return self.no_tag(start, program)
  File "/home/florian/Zope3/src/zope/tal/talinterpreter.py", line 482, in 
no_tag
    self.interpret(program)
  File "/home/florian/Zope3/src/zope/tal/talinterpreter.py", line 315, in 
interpret
    handlers[opcode](self, args)
  File "/home/florian/Zope3/src/zope/tal/talinterpreter.py", line 866, in 
do_defineSlot
    self.interpret(slot)
  File "/home/florian/Zope3/src/zope/tal/talinterpreter.py", line 315, in 
interpret
    handlers[opcode](self, args)
  File "/home/florian/Zope3/src/zope/tal/talinterpreter.py", line 552, in 
do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/home/florian/Zope3/src/zope/tales/tales.py", line 698, in evaluate
    return expression(self)
  File "/home/florian/Zope3/src/zope/tales/expressions.py", line 204, in 
__call__
    return self._eval(econtext)
  File "/home/florian/Zope3/src/zope/tales/expressions.py", line 198, in _eval
    return ob()
  File "/home/florian/Zope3/src/zope/app/apidoc/ifacemodule/browser.py", line 
217, in getFactories
    return [component.getFactoryInfoDictionary(reg)
  File "/home/florian/Zope3/src/zope/app/apidoc/component.py", line 194, in 
getFactoryInfoDictionary
    callable = factory._callable
AttributeError: 'SourceFactory' object has no attribute '_callable'
127.0.0.1 - zope.manager [8/Mar/2005:13:16:33 -0300] 
"GET /++apidoc++/Interface/zope.interface.Interface/apiindex.html HTTP/1.1" 
500 311 "" "Mozilla/5.0 (compatible; Konqueror/3.3; Linux) (KHTML, like 
Gecko)"


using revision 29417 of the trunk.

Florian


More information about the Zope3-dev mailing list