Discussion:
[Erp5-dev] ERP5 Buildout Ubuntu Hardy- Error when doing updates from update manager
Muhamad Reza
2009-09-13 11:56:15 UTC
Permalink
Hi,

I'm trying to update my ERP 5 packages using "update manager". Then, ERP 5
update goes ERROR.
After that, I recreate my own ERP 5 buildout using "cd
/home/erp5/erp5-buildout ; sudo -u erp5 ./bin/buildout -v"(without double
quotes).
It's look fine. I also restart my ERP 5 buildout. "sudo
/etc/init.d/erp5-buildout stop", "sudo /etc/init.d/erp5-buildout start".

I open my browser. but, when I try to open ERP 5 site.
http://localhost:8080/erp5
I get same error messages:


Site Error

An error was encountered while publishing this resource.

*AttributeError*
Sorry, a site error occurred.

Traceback (innermost last):

- Module ZPublisher.Publish, line 188, in publish_module_standard
- Module Products.Localizer.patches, line 88, in new_publish
- Module ZPublisher.Publish, line 145, in publish
- Module Zope2.App.startup, line 216, in zpublisher_exception_hook
- Module ZPublisher.Publish, line 114, in publish
- Module ZPublisher.mapply, line 88, in mapply
- Module ZPublisher.Publish, line 40, in call_object
- Module Shared.DC.Scripts.Bindings, line 311, in __call__
- Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
- Module Products.PageTemplates.ZopePageTemplate, line 256, in _exec
- Module Products.PageTemplates.PageTemplate, line 104, in pt_render
*<ZopePageTemplate at /erp5/index_html>*
- Module TAL.TALInterpreter, line 206, in __call__
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 426, in do_optTag_tal
- Module TAL.TALInterpreter, line 411, in do_optTag
- Module TAL.TALInterpreter, line 406, in no_tag
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 677, in do_condition
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 426, in do_optTag_tal
- Module TAL.TALInterpreter, line 411, in do_optTag
- Module TAL.TALInterpreter, line 406, in no_tag
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 609, in do_insertStructure_tal
- Module Products.PageTemplates.TALES, line 221, in evaluate
*URL: /erp5/index_html*
*Line 29, Column 4*
*Expression: standard:'here/ERP5Site_view'*
*Names:*

{'container': <ERP5Site at /erp5>,
'context': <ERP5Site at /erp5>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb6be6f0c>,
'here': <ERP5Site at /erp5>,

'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xa6d396c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0xb6c3608c>,
'nothing': None,

'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xa6d396c>,
'request': <HTTPRequest, URL=http://localhost:8088/erp5/index_html>,

'root': <Application at >,
'template': <ZopePageTemplate at /erp5/index_html>,
'traverse_subpath': [],
'user': admin}

- Module Products.PageTemplates.Expressions, line 185, in __call__
- Module Products.PageTemplates.Expressions, line 180, in _eval
- Module Products.PageTemplates.Expressions, line 77, in render
- Module Products.PageTemplates.ZRPythonExpr, line 76, in call_with_ns
- Module Shared.DC.Scripts.Bindings, line 325, in
__render_with_namespace__
- Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
- Module Products.PageTemplates.ZopePageTemplate, line 256, in _exec
- Module Products.PageTemplates.PageTemplate, line 104, in pt_render
*<ZopePageTemplate at /erp5/ERP5Site_view>*
- Module TAL.TALInterpreter, line 206, in __call__
- Module TAL.TALInterpreter, line 250, in interpret
- Module TAL.TALInterpreter, line 477, in do_setLocal_tal
- Module Products.PageTemplates.TALES, line 221, in evaluate
*URL: /erp5/ERP5Site_view*
*Line 1, Column 0*
*Expression: standard:'here/ERP5Site_getSelectedTab'*
*Names:*

{'container': <ERP5Site at /erp5>,
'context': <ERP5Site at /erp5>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb6be6f0c>,
'here': <ERP5Site at /erp5>,

'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xa6d3c2c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0xb6c3608c>,
'nothing': None,

'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xa6d3c2c>,
'request': <HTTPRequest, URL=http://localhost:8088/erp5/index_html>,

'root': <Application at >,
'template': <ZopePageTemplate at /erp5/ERP5Site_view>,
'traverse_subpath': [],
'user': admin}

- Module Products.PageTemplates.Expressions, line 185, in __call__
- Module Products.PageTemplates.Expressions, line 180, in _eval
- Module Products.PageTemplates.Expressions, line 77, in render
- Module Products.PageTemplates.ZRPythonExpr, line 76, in call_with_ns
- Module Shared.DC.Scripts.Bindings, line 325, in
__render_with_namespace__
- Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
- Module Products.PythonScripts.PythonScript, line 325, in _exec
- Module None, line 1, in ERP5Site_getSelectedTab
*<PythonScript at /erp5/ERP5Site_getSelectedTab>*
*Line 1*
- Module Shared.DC.Scripts.Bindings, line 311, in __call__
- Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
- Module Products.PythonScripts.PythonScript, line 325, in _exec
- Module None, line 68, in ERP5Site_getTabList
*<PythonScript at /erp5/ERP5Site_getTabList>*
*Line 68*
- Module Shared.DC.Scripts.Bindings, line 311, in __call__
- Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
- Module Products.PythonScripts.PythonScript, line 325, in _exec
- Module None, line 35, in ERP5Site_getConfiguredStatusDict
*<PythonScript at /erp5/ERP5Site_getConfiguredStatusDict>*
*Line 35*
- Module Products.ERP5Type.Cache, line 201, in __call__
- Module None, line 11, in getConfiguredStatusDict
*<PythonScript at /erp5/ERP5Site_getConfiguredStatusDict>*
*Line 11*
- Module Shared.DC.Scripts.Bindings, line 311, in __call__
- Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
- Module Products.PythonScripts.PythonScript, line 325, in _exec
- Module None, line 2, in ERP5Site_getExpressPreferenceDict
*<PythonScript at /erp5/ERP5Site_getExpressPreferenceDict>*
*Line 2*

AttributeError: getPreference (Also, the following error occurred while
attempting to render the standard error message, please see the event log
for full details: getPreferredHtmlStyleDevelopperMode)
------------------------------


How to fix this problem ? Why I get those errors ?

I tried to recreate my ERP 5 site by deleting my ERP 5 portal site on Zope.
After that, I try to create ERP 5 site. Nonetheless, I still get error.
Here:

Site Error

An error was encountered while publishing this resource.

*Error Type: AttributeError*
*Error Value: manage_addTool*
------------------------------

Need your help as soon as possible. Thank you.


Best Regards,

Reza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20090913/cae42c02/attachment.htm>
Loading...