[Erp5-dev] Successor and Predecessor field coud not be filled

Vera Kurpas vk at raskon.ru
Wed Aug 12 15:01:23 CEST 2009


Great thanks!!! 
Wielkie dzięki!!!

The update process is not easy for end users so your help is invaluable.

On Wed, 2009-08-12 at 14:33 +0200, Łukasz Nowak wrote:
> Hello,
> 
> On Wed, 2009-08-12 at 15:56 +0400, Vera Kurpas wrote:
> > Something wrong with Predecessor and Successor fields in
> > BusinessPath_viewAdvanced. After clicking button "Set Relation" there are:
> > Error Type: AttributeError 
> > Error Value: _setPredecessorValue 
> 
> It seems that you do not have predecessor nor successor category.
> 
> Please check entry r26559 (2009-04-21) in
> http://www.erp5.org/UpgradeNote
> 
> Regards,
> Luke
> 
> > 
> > 2009-08-12T15:54:57 ERROR Zope.SiteErrorLog http://localhost:9673/erp5/business_process_module/2/1/Base_callDialogMethod
> > Traceback (most recent call last):
> >   File "/usr/lib/zope2.8/lib/python/ZPublisher/Publish.py", line 114, in publish
> >     request, bind=1)
> >   File "/usr/lib/zope2.8/lib/python/ZPublisher/mapply.py", line 88, in mapply
> >     if debug is not None: return debug(object,args,context)
> >   File "/usr/lib/zope2.8/lib/python/ZPublisher/Publish.py", line 40, in call_object
> >     result=apply(object,args) # Type s<cr> to step into published object.
> >   File "/usr/lib/zope2.8/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
> >     return self._bindAndExec(args, kw, None)
> >   File "/usr/lib/zope2.8/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
> >     return self._exec(bound_data, args, kw)
> >   File "/usr/lib/zope2.8/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
> >     result = f(*args, **kw)
> >   File "Script (Python)", line 61, in Base_callDialogMethod
> >   File "/usr/lib/zope2.8/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
> >     return self._bindAndExec(args, kw, None)
> >   File "/usr/lib/zope2.8/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
> >     return self._exec(bound_data, args, kw)
> >   File "/usr/lib/zope2.8/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
> >     result = f(*args, **kw)
> >   File "Script (Python)", line 40, in Base_editRelation
> >   File "/usr/lib/zope2.8/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
> >     return self._bindAndExec(args, kw, None)
> >   File "/usr/lib/zope2.8/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
> >     return self._exec(bound_data, args, kw)
> >   File "/usr/lib/zope2.8/lib/python/Products/PythonScripts/PythonScript.py", line 325, in _exec
> >     result = f(*args, **kw)
> >   File "Script (Python)", line 194, in Base_edit
> >   File "/home/vera/zope/instance/zope2.8/trunk/erp5_products/ERP5Form/MultiRelationField.py", line 456, in edit
> >     getattr(o, set_method_name)(relation_object_list,
> > AttributeError: _setPredecessorValueList
> > 
> > 
> > 
> > An other error "AttributeError:getPredecessorUidList" appears in an
> > attempt to fill the field Predecessor in form Task_viewConstraint.
> > 
> >  ERROR root Exception while rendering an error message
> > Traceback (most recent call last):
> >   File "/usr/lib/zope2.8/lib/python/OFS/SimpleItem.py", line 211, in raise_standardErrorMessage
> >     v = s(**kwargs)
> >   File "/usr/lib/zope2.8/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
> >     return self._bindAndExec(args, kw, None)
> >   File "/usr/lib/zope2.8/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
> >     return self._exec(bound_data, args, kw)
> >   File "/home/vera/zope/instance/zope2.8/trunk/Products/CMFCore/FSPageTemplate.py", line 188, in _exec
> >     result = self.pt_render(extra_context=bound_names)
> >   File "/home/vera/zope/instance/zope2.8/trunk/Products/CMFCore/FSPageTemplate.py", line 127, in pt_render
> >     result = FSPageTemplate.inheritedAttribute('pt_render')(
> >   File "/usr/lib/zope2.8/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
> >     tal=not source, strictinsert=0)()
> >   File "/usr/lib/zope2.8/lib/python/TAL/TALInterpreter.py", line 206, in __call__
> >     self.interpret(self.program)
> >   File "/usr/lib/zope2.8/lib/python/TAL/TALInterpreter.py", line 250, in interpret
> >     handlers[opcode](self, args)
> >   File "/usr/lib/zope2.8/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
> >     self.interpret(macro)
> >   File "/usr/lib/zope2.8/lib/python/TAL/TALInterpreter.py", line 250, in interpret
> >     handlers[opcode](self, args)
> >   File "/usr/lib/zope2.8/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
> >     self.do_optTag(stuff)
> >   File "/usr/lib/zope2.8/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
> >     return self.no_tag(start, program)
> >   File "/usr/lib/zope2.8/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
> >     self.interpret(program)
> >   File "/usr/lib/zope2.8/lib/python/TAL/TALInterpreter.py", line 250, in interpret
> >     handlers[opcode](self, args)
> >   File "/usr/lib/zope2.8/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
> >     self.do_optTag(stuff)
> >   File "/usr/lib/zope2.8/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
> >     return self.no_tag(start, program)
> >   File "/usr/lib/zope2.8/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
> >     self.interpret(program)
> >   File "/usr/lib/zope2.8/lib/python/TAL/TALInterpreter.py", line 250, in interpret
> >     handlers[opcode](self, args)
> >   File "/usr/lib/zope2.8/lib/python/TAL/TALInterpreter.py", line 279, in do_startEndTag
> >     self.do_startTag(stuff, self.endsep, self.endlen)
> >   File "/usr/lib/zope2.8/lib/python/TAL/TALInterpreter.py", line 308, in do_startTag
> >     ok, name, s = attrAction(self, item)
> >   File "/usr/lib/zope2.8/lib/python/TAL/TALInterpreter.py", line 374, in attrAction_tal
> >     evalue = self.engine.evaluateText(item[3])
> >   File "/usr/lib/zope2.8/lib/python/Products/PageTemplates/TALES.py", line 227, in evaluateText
> >     text = self.evaluate(expr)
> >   File "/usr/lib/zope2.8/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
> >     return expression(self)
> >   File "/usr/lib/zope2.8/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
> >     return eval(code, g, {})
> >   File "Python expression "', '.join(here.getProperty('subject_list', []) or [])"", line 1, in <expression>
> >   File "/home/vera/zope/instance/zope2.8/trunk/erp5_products/ERP5Type/Base.py", line 1383, in getProperty
> >     if hasattr(aq_portal_type[aq_key], accessor_name):
> > KeyError: ('Selection Tool', <class 'Products.ERP5Form.SelectionTool.SelectionTool'>)
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Erp5-dev mailing list
> > Erp5-dev at erp5.org
> > http://mail.nexedi.com/mailman/listinfo/erp5-dev
> 
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-dev




More information about the Erp5-dev mailing list