Hi,<br><div class="gmail_quote"><br>I&#39;m trying to update my ERP 5 packages using &quot;update manager&quot;. Then, ERP 5 update goes ERROR.<br>After that, I recreate my own ERP 5 buildout using &quot;cd /home/erp5/erp5-buildout ; sudo -u erp5 ./bin/buildout -v&quot;(without double quotes).<br>

It&#39;s look fine. I also restart my ERP 5 buildout. &quot;sudo /etc/init.d/erp5-buildout stop&quot;, &quot;sudo /etc/init.d/erp5-buildout start&quot;.<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>&lt;ZopePageTemplate at /erp5/index_html&gt;</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:&#39;here/ERP5Site_view&#39;</b><br>
<b>Names:</b><pre>{&#39;container&#39;: &lt;ERP5Site at /erp5&gt;,<br> &#39;context&#39;: &lt;ERP5Site at /erp5&gt;,<br> &#39;default&#39;: &lt;Products.PageTemplates.TALES.Default instance at 0xb6be6f0c&gt;,<br> &#39;here&#39;: &lt;ERP5Site at /erp5&gt;,<br>

 &#39;loop&#39;: &lt;Products.PageTemplates.TALES.SafeMapping object at 0xa6d396c&gt;,<br> &#39;modules&#39;: &lt;Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb6c3608c&gt;,<br> &#39;nothing&#39;: None,<br>

 &#39;options&#39;: {&#39;args&#39;: ()},<br> &#39;repeat&#39;: &lt;Products.PageTemplates.TALES.SafeMapping object at 0xa6d396c&gt;,<br> &#39;request&#39;: &lt;HTTPRequest, URL=<a href="http://localhost:8088/erp5/index_html" target="_blank">http://localhost:8088/erp5/index_html</a>&gt;,<br>

 &#39;root&#39;: &lt;Application at &gt;,<br> &#39;template&#39;: &lt;ZopePageTemplate at /erp5/index_html&gt;,<br> &#39;traverse_subpath&#39;: [],<br> &#39;user&#39;: 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>&lt;ZopePageTemplate at /erp5/ERP5Site_view&gt;</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:&#39;here/ERP5Site_getSelectedTab&#39;</b><br>
<b>Names:</b><pre>{&#39;container&#39;: &lt;ERP5Site at /erp5&gt;,<br> &#39;context&#39;: &lt;ERP5Site at /erp5&gt;,<br> &#39;default&#39;: &lt;Products.PageTemplates.TALES.Default instance at 0xb6be6f0c&gt;,<br> &#39;here&#39;: &lt;ERP5Site at /erp5&gt;,<br>

 &#39;loop&#39;: &lt;Products.PageTemplates.TALES.SafeMapping object at 0xa6d3c2c&gt;,<br> &#39;modules&#39;: &lt;Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb6c3608c&gt;,<br> &#39;nothing&#39;: None,<br>

 &#39;options&#39;: {&#39;args&#39;: ()},<br> &#39;repeat&#39;: &lt;Products.PageTemplates.TALES.SafeMapping object at 0xa6d3c2c&gt;,<br> &#39;request&#39;: &lt;HTTPRequest, URL=<a href="http://localhost:8088/erp5/index_html" target="_blank">http://localhost:8088/erp5/index_html</a>&gt;,<br>

 &#39;root&#39;: &lt;Application at &gt;,<br> &#39;template&#39;: &lt;ZopePageTemplate at /erp5/ERP5Site_view&gt;,<br> &#39;traverse_subpath&#39;: [],<br> &#39;user&#39;: 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>&lt;PythonScript at /erp5/ERP5Site_getSelectedTab&gt;</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>&lt;PythonScript at /erp5/ERP5Site_getTabList&gt;</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>&lt;PythonScript at /erp5/ERP5Site_getConfiguredStatusDict&gt;</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>&lt;PythonScript at /erp5/ERP5Site_getConfiguredStatusDict&gt;</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>&lt;PythonScript at /erp5/ERP5Site_getExpressPreferenceDict&gt;</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>