Discussion:
[Erp5-dev] Erp5 broken after installing erp5_forge
ericdes
2007-11-01 06:14:27 UTC
Permalink
I tried to install erp5_forge from the repository but it went into an error and
the site is now broken. What are the steps to fix it?

------
2007-11-01T08:56:21 ERROR root Exception while rendering an error message
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/OFS/SimpleItem.py", line 211, in
raise_standardErrorMessage
v = s(**kwargs)
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in
__call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in
_bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/erp5/lib/python/Products/CMFCore/FSPageTemplate.py", line 188,
in _exec
result = self.pt_render(extra_context=bound_names)
File "/usr/lib/erp5/lib/python/Products/CMFCore/FSPageTemplate.py", line 127,
in pt_render
result = FSPageTemplate.inheritedAttribute('pt_render')(
File "/usr/lib/erp5/lib/python/Products/PageTemplates/PageTemplate.py", line
104, in pt_render
tal=not source, strictinsert=0)()
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 206, in __call__
self.interpret(self.program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
self.interpret(macro)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
self.interpret(macro)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 711, in do_useMacro
self.interpret(macro)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 426, in do_optTag_tal
self.do_optTag(stuff)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 411, in do_optTag
return self.no_tag(start, program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
self.interpret(program)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 250, in interpret
handlers[opcode](self, args)
File "/usr/lib/erp5/lib/python/TAL/TALInterpreter.py", line 481, in
do_setGlobal_tal
self.engine.setGlobal(name, self.engine.evaluateValue(expr))
File "/usr/lib/erp5/lib/python/Products/PageTemplates/TALES.py", line 221, in
evaluate
return expression(self)
File "/usr/lib/erp5/lib/python/Products/PageTemplates/ZRPythonExpr.py", line
47, in __call__
return eval(code, g, {})
File "Python expression
"here.getPortalObject().portal_actions.listFilteredActionsFor(here)"", line 1,
in <expression>
File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionsTool.py", line 156, in
listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/usr/lib/erp5/lib/python/Products/CMFCore/ActionProviderBase.py", line
86, in listActionInfos
actions = self.listActions(object=object)
File "/var/lib/erp5/Products/ERP5Type/patches/WorkflowTool.py", line 493, in
WorkflowTool_listActions
actions.extend(_getWorklistActionList())
File "/var/lib/erp5/Products/ERP5Type/Cache.py", line 202, in __call__
value = self.callable_object(*args, **kwd)
File "/var/lib/erp5/Products/ERP5Type/patches/WorkflowTool.py", line 461, in
_getWorklistActionList
getSecurityUidListAndRoleColumnDict=\
File "/var/lib/erp5/Products/ERP5Type/patches/WorkflowTool.py", line 140, in
groupWorklistListByCondition
uid_list, role_column_dict = getSecurityUidListAndRoleColumnDict(
File "/var/lib/erp5/Products/ERP5Catalog/CatalogTool.py", line 513, in
getSecurityUidListAndRoleColumnDict
raise DeprecationWarning, "The usage of allowedRolesAndUsers is "\
DeprecationWarning: The usage of allowedRolesAndUsers is deprecated. Please
update your catalog business template.
------
Jacek Medrzycki
2007-11-02 12:28:58 UTC
Permalink
Post by ericdes
I tried to install erp5_forge from the repository but it went into an error and
the site is now broken. What are the steps to fix it?
I know from Your previous post that You have installed erp5 from
Mandriva rpms. Have You then updated your site to the latest revision
(there is an svn_update script in repository which would do that).
If not, and if You tried to install current erp5_forge from svn, then
perhaps the rest of the site is too old.
This is a guess only, I cannot tell for sure.

J.
ericdes
2007-11-02 15:07:24 UTC
Permalink
Yes, I had updated Erp5 with the svn update script. And installing erp5_forge
from within the template portal caused the problem. I'd like to know more about
fixing that kind of problem. I'm just evaluating the product and I don't mind
starting again with an empty set of data though.

Loading...