All pastes #967260 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-04-02 08:29 UTC
rendered paste body
	
Site Error

An error was encountered while publishing this resource.

OperationalError
Sorry, a site error occurred.

Traceback (innermost last):

    * Module ZPublisher.Publish, line 188, in publish_module_standard
    * Module Products.iHotfix, 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_pt/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 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 711, in do_useMacro
    * 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 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 711, in do_useMacro
    * 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 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 711, in do_useMacro
    * 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 481, in do_setGlobal_tal
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: /erp5_pt/global_definitions
      Line 6, Column 4
      Expression: <PythonExpr here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(here))>
      Names:

      {'container': <ERP5Site at /erp5_pt>,
       'context': <ERP5Site at /erp5_pt>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb6ae69ec>,
       'here': <ERP5Site at /erp5_pt>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xe583b2c>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb6ae6b6c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xe583b2c>,
       'request': <HTTPRequest, URL=http://localhost:9080/erp5_pt/index_html>,
       'root': <Application at >,
       'template': <ZopePageTemplate at /erp5_pt/index_html>,
       'traverse_subpath': [],
       'user': admin}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(here))
    * Module Python expression "here.Base_filterDuplicateActions(portal.portal_actions.listFilteredActionsFor(here))", line 1, in <expression>
    * Module Products.CMFCore.ActionsTool, line 156, in listFilteredActionsFor
    * Module Products.CMFCore.ActionProviderBase, line 86, in listActionInfos
    * Module Products.ERP5Type.patches.WorkflowTool, line 506, in WorkflowTool_listActions
    * Module Products.ERP5Type.Cache, line 192, in __call__
    * Module Products.ERP5Type.Cache, line 109, in __call__
    * Module Products.ERP5Type.patches.WorkflowTool, line 480, in _getWorklistActionList
    * Module Products.ERP5Catalog.CatalogTool, line 646, in unrestrictedSearchResults
    * Module Products.ZSQLCatalog.ZSQLCatalog, line 1054, in searchResults
    * Module Products.ZSQLCatalog.SQLCatalog, line 2153, in searchResults
    * Module Products.ZSQLCatalog.SQLCatalog, line 2147, in queryResults
    * Module Products.ERP5Type.patches.DA, line 220, in DA__call__
      <SQL at /erp5_pt/portal_catalog/erp5_mysql_innodb/z_search_results>
    * Module Products.ZMySQLDA.db, line 289, in query
    * Module Products.ZMySQLDA.db, line 280, in _access_db
    * Module Products.ZMySQLDA.db, line 413, in query
    * Module Products.ZMySQLDA.db, line 390, in _query

OperationalError: (1054, "Unknown column 'viewable_owner' in 'field list': SELECT DISTINCT\n catalog.path, catalog.uid ,count(*) as count, viewable_owner, portal_type, simulation_state\nFROM\n catalog AS catalog \nWHERE \n 1 = 1 \n AND (1) AND (((((catalog.simulation_state = 'draft') AND (((((catalog.portal_type IN ('Accounting Transaction', 'Balance Transaction', 'Payment Transaction', 'Purchase Invoice Transaction', 'Sale Invoice Transaction')) AND (((((1))))))))))))) AND (1)\nGROUP BY\n viewable_owner, portal_type, simulation_state\nLIMIT 1000") (Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: (1054, &quot;Unknown column 'viewable_owner' in 'field list': SELECT DISTINCT\n catalog.path, catalog.uid ,count(*) as count, viewable_owner, portal_type, simulation_state\nFROM\n catalog AS catalog \nWHERE \n 1 = 1 \n AND (1) AND (((((catalog.simulation_state = 'draft') AND (((((catalog.portal_type IN ('Accounting Transaction', 'Balance Transaction', 'Payment Transaction', 'Purchase Invoice Transaction', 'Sale Invoice Transaction')) AND (((((1))))))))))))) AND (1)\nGROUP BY\n viewable_owner, portal_type, simulation_state\nLIMIT 1000&quot;))

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.