Hi,<br><div class="gmail_quote"><br>I'm trying to update my ERP 5 packages using "update manager". Then, ERP 5 update goes ERROR.<br>After that, I recreate my own ERP 5 buildout using "cd /home/erp5/erp5-buildout ; sudo -u erp5 ./bin/buildout -v"(without double quotes).<br>
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".<br><br>I open my browser. but, when I try to open ERP 5 site. <a href="http://localhost:8080/erp5" target="_blank">http://localhost:8080/erp5</a><br>
I get same error messages:<br><br><br><h2>Site Error</h2>
<p>An error was encountered while publishing this resource.
</p>
<p><b>AttributeError</b></p>
Sorry, a site error occurred.<p>Traceback (innermost last):
</p><ul><li> Module ZPublisher.Publish, line 188, in publish_module_standard</li><li> Module Products.Localizer.patches, line 88, in new_publish</li><li> Module ZPublisher.Publish, line 145, in publish</li><li> Module Zope2.App.startup, line 216, in zpublisher_exception_hook</li>
<li> Module ZPublisher.Publish, line 114, in publish</li><li> Module ZPublisher.mapply, line 88, in mapply</li><li> Module ZPublisher.Publish, line 40, in call_object</li><li> Module Shared.DC.Scripts.Bindings, line 311, in __call__</li>
<li> Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec</li><li> Module Products.PageTemplates.ZopePageTemplate, line 256, in _exec</li><li> Module Products.PageTemplates.PageTemplate, line 104, in pt_render<br>
<b><ZopePageTemplate at /erp5/index_html></b></li><li> Module TAL.TALInterpreter, line 206, in __call__</li><li> Module TAL.TALInterpreter, line 250, in interpret</li><li> Module TAL.TALInterpreter, line 426, in do_optTag_tal</li>
<li> Module TAL.TALInterpreter, line 411, in do_optTag</li><li> Module TAL.TALInterpreter, line 406, in no_tag</li><li> Module TAL.TALInterpreter, line 250, in interpret</li><li> Module TAL.TALInterpreter, line 677, in do_condition</li>
<li> Module TAL.TALInterpreter, line 250, in interpret</li><li> Module TAL.TALInterpreter, line 426, in do_optTag_tal</li><li> Module TAL.TALInterpreter, line 411, in do_optTag</li><li> Module TAL.TALInterpreter, line 406, in no_tag</li>
<li> Module TAL.TALInterpreter, line 250, in interpret</li><li> Module TAL.TALInterpreter, line 609, in do_insertStructure_tal</li><li> Module Products.PageTemplates.TALES, line 221, in evaluate<br>
<b>URL: /erp5/index_html</b><br>
<b>Line 29, Column 4</b><br>
<b>Expression: standard:'here/ERP5Site_view'</b><br>
<b>Names:</b><pre>{'container': <ERP5Site at /erp5>,<br> 'context': <ERP5Site at /erp5>,<br> 'default': <Products.PageTemplates.TALES.Default instance at 0xb6be6f0c>,<br> 'here': <ERP5Site at /erp5>,<br>
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xa6d396c>,<br> 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb6c3608c>,<br> 'nothing': None,<br>
'options': {'args': ()},<br> 'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xa6d396c>,<br> 'request': <HTTPRequest, URL=<a href="http://localhost:8088/erp5/index_html" target="_blank">http://localhost:8088/erp5/index_html</a>>,<br>
'root': <Application at >,<br> 'template': <ZopePageTemplate at /erp5/index_html>,<br> 'traverse_subpath': [],<br> 'user': admin}</pre></li><li> Module Products.PageTemplates.Expressions, line 185, in __call__</li>
<li> Module Products.PageTemplates.Expressions, line 180, in _eval</li><li> Module Products.PageTemplates.Expressions, line 77, in render</li><li> Module Products.PageTemplates.ZRPythonExpr, line 76, in call_with_ns</li>
<li> Module Shared.DC.Scripts.Bindings, line 325, in __render_with_namespace__</li><li> Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec</li><li> Module Products.PageTemplates.ZopePageTemplate, line 256, in _exec</li>
<li> Module Products.PageTemplates.PageTemplate, line 104, in pt_render<br>
<b><ZopePageTemplate at /erp5/ERP5Site_view></b></li><li> Module TAL.TALInterpreter, line 206, in __call__</li><li> Module TAL.TALInterpreter, line 250, in interpret</li><li> Module TAL.TALInterpreter, line 477, in do_setLocal_tal</li>
<li> Module Products.PageTemplates.TALES, line 221, in evaluate<br>
<b>URL: /erp5/ERP5Site_view</b><br>
<b>Line 1, Column 0</b><br>
<b>Expression: standard:'here/ERP5Site_getSelectedTab'</b><br>
<b>Names:</b><pre>{'container': <ERP5Site at /erp5>,<br> 'context': <ERP5Site at /erp5>,<br> 'default': <Products.PageTemplates.TALES.Default instance at 0xb6be6f0c>,<br> 'here': <ERP5Site at /erp5>,<br>
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xa6d3c2c>,<br> 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb6c3608c>,<br> 'nothing': None,<br>
'options': {'args': ()},<br> 'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xa6d3c2c>,<br> 'request': <HTTPRequest, URL=<a href="http://localhost:8088/erp5/index_html" target="_blank">http://localhost:8088/erp5/index_html</a>>,<br>
'root': <Application at >,<br> 'template': <ZopePageTemplate at /erp5/ERP5Site_view>,<br> 'traverse_subpath': [],<br> 'user': admin}</pre></li><li> Module Products.PageTemplates.Expressions, line 185, in __call__</li>
<li> Module Products.PageTemplates.Expressions, line 180, in _eval</li><li> Module Products.PageTemplates.Expressions, line 77, in render</li><li> Module Products.PageTemplates.ZRPythonExpr, line 76, in call_with_ns</li>
<li> Module Shared.DC.Scripts.Bindings, line 325, in __render_with_namespace__</li><li> Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec</li><li> Module Products.PythonScripts.PythonScript, line 325, in _exec</li>
<li> Module None, line 1, in ERP5Site_getSelectedTab<br>
<b><PythonScript at /erp5/ERP5Site_getSelectedTab></b><br>
<b>Line 1</b></li><li> Module Shared.DC.Scripts.Bindings, line 311, in __call__</li><li> Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec</li><li> Module Products.PythonScripts.PythonScript, line 325, in _exec</li>
<li> Module None, line 68, in ERP5Site_getTabList<br>
<b><PythonScript at /erp5/ERP5Site_getTabList></b><br>
<b>Line 68</b></li><li> Module Shared.DC.Scripts.Bindings, line 311, in __call__</li><li> Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec</li><li> Module Products.PythonScripts.PythonScript, line 325, in _exec</li>
<li> Module None, line 35, in ERP5Site_getConfiguredStatusDict<br>
<b><PythonScript at /erp5/ERP5Site_getConfiguredStatusDict></b><br>
<b>Line 35</b></li><li> Module Products.ERP5Type.Cache, line 201, in __call__</li><li> Module None, line 11, in getConfiguredStatusDict<br>
<b><PythonScript at /erp5/ERP5Site_getConfiguredStatusDict></b><br>
<b>Line 11</b></li><li> Module Shared.DC.Scripts.Bindings, line 311, in __call__</li><li> Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec</li><li> Module Products.PythonScripts.PythonScript, line 325, in _exec</li>
<li> Module None, line 2, in ERP5Site_getExpressPreferenceDict<br>
<b><PythonScript at /erp5/ERP5Site_getExpressPreferenceDict></b><br>
<b>Line 2</b></li></ul>AttributeError: getPreference (Also, the following error occurred
while attempting to render the standard error message, please see the
event log for full details: getPreferredHtmlStyleDevelopperMode)
<hr noshade>
<br><br>How to fix this problem ? Why I get those errors ?<br><br>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:<br>
<br><h2>Site Error</h2>
<p>An error was encountered while publishing this resource.
</p>
<p>
<strong>Error Type: AttributeError</strong><br>
<strong>Error Value: manage_addTool</strong><br>
</p>
<hr noshade><br>Need your help as soon as possible. Thank you.<br><br><br>Best Regards,<br><font color="#888888"><br>Reza<br>
</font></div><br>