[Erp5-dev] Error on 'getPreferredHtmlStyleDevelopperMode'

Gabriel Lima de Oliveira ciberglo at gmail.com
Tue Feb 22 16:47:51 CET 2011


Alright.
I downgraded my products to the revision they were before, that was 42900.

Now, the error throwed is AttributeError, 'getPreferredArchive', showed on
traceback attached on this email.
Also, I'd like to mention that I noted that ERP5PropertySheetLegacy became
obsolete, but I still have ERP5PropertySheetLegacy on my products folder,
because it was there before.

Does someone know about this error?

 Att,
Gabriel L. Oliveira


On Tue, Feb 22, 2011 at 12:31 PM, Lucas Carvalho <lucas at nexedi.com> wrote:

>  Hi,
>  You probably updated your products.
>
>  If you do not need to have your instance updated now, please use the same
> revision of your products as before.
>
>  Otherwise, if you really need to update your instance, consider to start
> updating your business templates first.
>
> Regards,
>  Lucas Carvalho.
>
>
> On 02/22/2011 12:11 PM, Gabriel Lima de Oliveira wrote:
>
> Hi.
> I'm still using zope2.8, and trying to access my erp5 view, but it's
> raising error
> The ZMI works fine, but the site itself doesn't appear.
> Instead, it's throwing KeyError 'getPreferredHtmlStyleDevelopperMode' when
> I try to access person module view, showed on traceback attached in this
> email.
>
> Does someone know how to fix it?
>
>  Att,
> Gabriel L. Oliveira
>
>
> _______________________________________________
> Erp5-dev mailing listErp5-dev at erp5.orghttps://mail.tiolive.com/mailman/listinfo/erp5-dev
>
>
>
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> https://mail.tiolive.com/mailman/listinfo/erp5-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20110222/4400f87a/attachment.htm>
-------------- next part --------------
    
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 0xb67734ec>,
       'here': <ERP5Site at /erp5>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb5c7e0ec>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb677954c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb5c7e0ec>,
       'request': <HTTPRequest, URL=http://localhost:18080/erp5/index_html>,
       'root': <Application at >,
       'template': <ZopePageTemplate at /erp5/index_html>,
       'traverse_subpath': [],
       'user': zope}

    * 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 0xb67734ec>,
       'here': <ERP5Site at /erp5>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb6a6a0c>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb677954c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb6a6a0c>,
       'request': <HTTPRequest, URL=http://localhost:18080/erp5/index_html>,
       'root': <Application at >,
       'template': <ZopePageTemplate at /erp5/ERP5Site_view>,
       'traverse_subpath': [],
       'user': zope}

    * 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 69, in ERP5Site_getTabList
      <PythonScript at /erp5/ERP5Site_getTabList>
      Line 69
    * 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 145, in ERP5Site_getCategorizedModuleActionInformationDict
      <PythonScript at /erp5/ERP5Site_getCategorizedModuleActionInformationDict>
      Line 145
    * Module Products.ERP5Type.Cache, line 270, in __call__
    * Module None, line 20, in getModuleActionInformationDict
      <PythonScript at /erp5/ERP5Site_getCategorizedModuleActionInformationDict>
      Line 20
    * Module Products.ERP5Type.Core.Folder, line 303, in searchFolder
    * Module Products.ERP5Catalog.CatalogTool, line 636, in searchResults
    * Module Products.ERP5Catalog.CatalogTool, line 244, in getPreferredSQLCatalogId

AttributeError: getPreferredArchive (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: unbound method listTypeInfo() must be called with TypesTool instance as first argument (got Solver Tool instance instead))

Troubleshooting Suggestions

    * The URL may be incorrect.
    * The parameters passed to this resource may be incorrect.
    * A resource that this resource relies on may be encountering an error.

For more detailed information about the error, please refer to error log.

If the error persists please contact the site maintainer. Thank you for your patience.


More information about the Erp5-dev mailing list