Zope-CMFBoard

The Undefined undefine w aramin.net
Śro, 1 Cze 2005, 21:10:38 CEST


Po upgradzie do 2.2 z aktualnego ac zaczal sie sypac.
ktos cos o tym wie? ;)
(ktos==ciesiel)

Po przebudowaniu auto-ac-Zope-CMFBoard-2_1_4-1 ruszylo.

2005-06-01T21:01:40 ERROR(200) SiteError http://XXX
Traceback (most recent call last):
  File "/usr/lib/zope/lib/python/ZPublisher/Publish.py", line 101, in publish
    request, bind=1)
  File "/usr/lib/zope/lib/python/ZPublisher/mapply.py", line 88, in mapply
    if debug is not None: return debug(object,args,context)
  File "/usr/lib/zope/lib/python/ZPublisher/Publish.py", line 39, in call_object
    result=apply(object,args) # Type s<cr> to step into published object.
  File "/usr/share/Zope-CMF/CMFCore/PortalContent.py", line 116, in __call__
    return view()
  File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/lib/zope/lib/python/Shared/DC/Scripts/Bindings.py", line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/usr/share/Zope-CMF/CMFCore/FSPageTemplate.py", line 191, in _exec
    result = self.pt_render(extra_context=bound_names)
  File "/usr/share/Zope-CMF/CMFCore/FSPageTemplate.py", line 124, in pt_render
    result = FSPageTemplate.inheritedAttribute('pt_render')(
  File "/usr/lib/zope/lib/python/Products/PageTemplates/PageTemplate.py", line 96, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 190, in __call__
    self.interpret(self.program)
  File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 409, in do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 394, in do_optTag
    return self.no_tag(start, program)
  File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 389, in no_tag
    self.interpret(program)
  File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 671, in do_useMacro
    self.interpret(macro)
  File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 234, in interpret
    handlers[opcode](self, args)
  File "/usr/lib/zope/lib/python/TAL/TALInterpreter.py", line 464, in do_setGlobal_tal
    self.engine.setGlobal(name, self.engine.evaluateValue(expr))
  File "/usr/lib/zope/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
    return expression(self)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "portal.portal_actions.listFilteredActionsFor(here)"", line 1, in <expression>
  File "/usr/share/Zope-CMFPlone/CMFPlone/ActionsTool.py", line 69, in listFilteredActionsFor
    self._listActions(append,provider,info,ec)
  File "/usr/share/Zope-CMF/CMFCore/ActionsTool.py", line 252, in _listActions
    if ai.testCondition(ec):
  File "/usr/share/Zope-CMF/CMFCore/ActionInformation.py", line 90, in testCondition
    return self.condition(ec)
  File "/usr/share/Zope-CMF/CMFCore/Expression.py", line 44, in __call__
    res = compiled(econtext)
  File "/usr/lib/zope/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
    return eval(code, g, {})
  File "Python expression "object is not None and portal.portal_discussion.isDiscussionAllowedFor(object)"", line 1, in <expression>
  File "/usr/share/Zope-CMFBoard/DiscussionTool.py", line 184, in isDiscussionAllowedFor
    if content.portal_type in portal.portal_cmfboard.filtered_discussion_types:
AttributeError: portal_cmfboard

-- 
Andrzej 'The Undefined' Dopierała
UNIX && Linux administrator,      Adam Mickiewicz University WMiI
PLD Linux Developer      HomePage: http://andrzej.dopierala.name/
JID: undefine w piastlan.net         e-mail: andrzej w dopierala.name



Więcej informacji o liście dyskusyjnej pld-devel-pl