advanced search

View: New views
8 Messages — Rating Filter:   Alert me  

advanced search

by Frank-D :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

for some reason our advanced search doesnt work. I just get this "!!!",
where do I get the error log? Perhaps somebody has already an idea. Its
a new installation (3.4) running on suse, everything else works fine. We
didnt make an additional installation like nx-lucene, we just installed
the packages provided and some additional python eggs needed to run cps.
Is lucene needed for advanced search?

Thx Frank
_______________________________________________
cps-users mailing list
cps-users@...
http://lists.nuxeo.com/mailman/listinfo/cps-users

Re: advanced search

by Georges Racinet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Mar 20, 2007, at 1:39 PM, Frank Drews wrote:

> Hi,
>
> for some reason our advanced search doesnt work. I just get this  
> "!!!", where do I get the error log?

The error was catched by CPSSkins' crash shield. In the ZMI, go to  
portal_themes>Options to disable it.
Then you'll get tracebacks, error_log entries etc

> Perhaps somebody has already an idea. Its a new installation (3.4)  
> running on suse, everything else works fine. We didnt make an  
> additional installation like nx-lucene, we just installed the  
> packages provided and some additional python eggs needed to run  
> cps. Is lucene needed for advanced search?

No, it isn't.

>
> Thx Frank
> _______________________________________________
> cps-users mailing list
> cps-users@...
> http://lists.nuxeo.com/mailman/listinfo/cps-users
>

---------
Georges Racinet,   Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ and http://www.nuxeo.org/ - Tel: +33 1 40  
33 79 87



_______________________________________________
cps-users mailing list
cps-users@...
http://lists.nuxeo.com/mailman/listinfo/cps-users

Re: advanced search

by Frank-D :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

now I have the error code for advanced search (klicking on the advances
search button). I need help solving this error?

Sorry for the long log (below), but I dont know, which of this is
important and which isnt.

Thx Frank

AttributeError

getActionById


raceback (innermost last):



    * Module ZPublisher.Publish, line 115, in publish


    * Module ZPublisher.mapply, line 88, in mapply


    * Module ZPublisher.Publish, line 41, in call_object


    * Module Products.Five.browser.metaconfigure, line 403, in __call__


    * Module Shared.DC.Scripts.Bindings, line 311, in __call__


    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec


    * Module Products.PageTemplates.PageTemplateFile, line 113, in _exec


    * Module Products.PageTemplates.PageTemplate, line 104, in pt_render

      *<ImplicitAcquirerWrapper object at 0xb0ac084c>*


    * Module TAL.TALInterpreter, line 238, in __call__


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 457, in do_optTag_tal


    * Module TAL.TALInterpreter, line 442, in do_optTag


    * Module TAL.TALInterpreter, line 437, in no_tag


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 715, in do_condition


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 457, in do_optTag_tal


    * Module TAL.TALInterpreter, line 442, in do_optTag


    * Module TAL.TALInterpreter, line 437, in no_tag


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 749, in do_useMacro


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 457, in do_optTag_tal


    * Module TAL.TALInterpreter, line 442, in do_optTag


    * Module TAL.TALInterpreter, line 437, in no_tag


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 715, in do_condition


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 749, in do_useMacro


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 715, in do_condition


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 457, in do_optTag_tal


    * Module TAL.TALInterpreter, line 442, in do_optTag


    * Module TAL.TALInterpreter, line 437, in no_tag


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 691, in do_loop_tal


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 457, in do_optTag_tal


    * Module TAL.TALInterpreter, line 442, in do_optTag


    * Module TAL.TALInterpreter, line 437, in no_tag


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 691, in do_loop_tal


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 457, in do_optTag_tal


    * Module TAL.TALInterpreter, line 442, in do_optTag


    * Module TAL.TALInterpreter, line 437, in no_tag


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 715, in do_condition


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 457, in do_optTag_tal


    * Module TAL.TALInterpreter, line 442, in do_optTag


    * Module TAL.TALInterpreter, line 437, in no_tag


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 691, in do_loop_tal


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 457, in do_optTag_tal


    * Module TAL.TALInterpreter, line 442, in do_optTag


    * Module TAL.TALInterpreter, line 437, in no_tag


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 507, in do_setLocal_tal


    * Module Products.PageTemplates.TALES, line 221, in evaluate

      *URL: file:CPSSkins/skins/CPSSkins/cpsskins_main_template_default.pt*

      *Line 41, Column 16*

      *Expression: <PythonExpr isRenderable and
      content.render_cache(shield=shield, context_obj=context_obj,
      enable_esi=enable_esi, boxedit=boxedit, template=template,
      options=options)>*

      *Names:*

      {'container': <CPSDefaultSite at /Portal>,
       'context': <CPSDefaultSite at /Portal>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb728bb4c>,
       'here': <CPSDefaultSite at /Portal>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb0ac020c>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb723664c>,
       'nothing': None,
       'options': {'args': (<Products.Five.metaclass.SimpleViewClass from /opt/zope/cps-instance/Products/CPSDashboards/browser/advancedSearch.zpt object at 0xb0f0092c>,)},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb0ac020c>,
       'request': <HTTPRequest, URL=http://s15203298.onlinehome-server.info/Portal/advanced_search.html>,
       'root': <Application at >,
       'template': <ImplicitAcquirerWrapper object at 0xb0ac084c>,
       'traverse_subpath': [],
       'user': <User 'admin'>,
       'view': <Products.Five.metaclass.SimpleViewClass from /opt/zope/cps-instance/Products/CPSDashboards/browser/advancedSearch.zpt object at 0xb0f0092c>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0xb0ac00ec>}



    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__

      __traceback_info__: isRenderable and
      content.render_cache(shield=shield, context_obj=context_obj,
      enable_esi=enable_esi, boxedit=boxedit, template=template,
      options=options)


    * Module Python expression "isRenderable and
      content.render_cache(shield=shield, context_obj=context_obj,
      enable_esi=enable_esi, boxedit=boxedit, template=template,
      options=options)", line 1, in <expression>


    * Module Products.CPSSkins.PortalBoxGroup, line 339, in render_cache


    * Module Products.CPSSkins.PortalBoxGroup, line 283, in render


    * Module Products.CPSPortlets.CPSPortlet, line 488, in render_cache


    * Module Products.CPSDocument.CPSDocument, line 70, in render


    * Module Products.CPSDocument.FlexibleTypeInformation, line 753, in
      renderObject


    * Module Products.CPSDocument.FlexibleTypeInformation, line 715, in
      _renderLayouts


    * Module Products.CPSSchemas.Layout, line 400, in renderLayoutStructure


    * Module Products.CPSSchemas.BasicWidgets, line 2168, in render


    * Module Products.CPSPortlets.PortletWidgets.MainContentWidget, line
      27, in renderMainContent


    * Module Products.PageTemplates.PageTemplate, line 104, in pt_render

      *<ImplicitAcquirerWrapper object at 0xb0ac084c>*


    * Module TAL.TALInterpreter, line 238, in __call__


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 457, in do_optTag_tal


    * Module TAL.TALInterpreter, line 442, in do_optTag


    * Module TAL.TALInterpreter, line 437, in no_tag


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 715, in do_condition


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 457, in do_optTag_tal


    * Module TAL.TALInterpreter, line 442, in do_optTag


    * Module TAL.TALInterpreter, line 437, in no_tag


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 749, in do_useMacro


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 457, in do_optTag_tal


    * Module TAL.TALInterpreter, line 442, in do_optTag


    * Module TAL.TALInterpreter, line 437, in no_tag


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 772, in do_defineSlot


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 507, in do_setLocal_tal


    * Module Products.PageTemplates.TALES, line 221, in evaluate

      *URL: index*

      *Line 25, Column 2*

      *Expression: standard:'view/renderLayout'*

      *Names:*

      {'container': <CPSDefaultSite at /Portal>,
       'context': <CPSDefaultSite at /Portal>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb728bb4c>,
       'here': <CPSDefaultSite at /Portal>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb055bb8c>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb723664c>,
       'nothing': None,
       'options': {'args': (<Products.Five.metaclass.SimpleViewClass from /opt/zope/cps-instance/Products/CPSDashboards/browser/advancedSearch.zpt object at 0xb0f0092c>,)},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb055bb8c>,
       'request': <HTTPRequest, URL=http://s15203298.onlinehome-server.info/Portal/advanced_search.html>,
       'root': <Application at >,
       'template': <ImplicitAcquirerWrapper object at 0xb0ac084c>,
       'view': <Products.Five.metaclass.SimpleViewClass from /opt/zope/cps-instance/Products/CPSDashboards/browser/advancedSearch.zpt object at 0xb0f0092c>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0xb1182b6c>}



    * Module Products.PageTemplates.Expressions, line 185, in __call__


    * Module Products.PageTemplates.Expressions, line 180, in _eval


    * Module Products.PageTemplates.Expressions, line 85, in render


    * Module Products.CPSDashboards.browser.searchview, line 90, in
      renderLayout


    * Module Products.CPSSchemas.LayoutsTool, line 115, in renderLayout


    * Module Products.CPSSchemas.Layout, line 465, in renderLayoutStyle


    * Module Shared.DC.Scripts.Bindings, line 311, in __call__


    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec


    * Module Products.CMFCore.FSPageTemplate, line 195, in _exec


    * Module Products.CMFCore.FSPageTemplate, line 134, in pt_render


    * Module Products.PageTemplates.PageTemplate, line 104, in pt_render

      *<FSPageTemplate at /Portal/layout_default_edit>*


    * Module TAL.TALInterpreter, line 238, in __call__


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 749, in do_useMacro


    * Module TAL.TALInterpreter, line 281, in interpret


    * Module TAL.TALInterpreter, line 507, in do_setLocal_tal


    * Module Products.PageTemplates.TALES, line 221, in evaluate

      *URL: file:CPSDocument/skins/cps_document/layout_lib_default_edit.pt*

      *Line 1, Column 0*

      *Expression: <PythonExpr ti and ti.getActionById('create',
      'cpsdocument_create_form') or 'cpsdocument_create_form'>*

      *Names:*

      {'container': <CPSDefaultSite at /Portal>,
       'context': <CPSDefaultSite at /Portal>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb728bb4c>,
       'here': <CPSDefaultSite at /Portal>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb10d106c>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb723664c>,
       'nothing': None,
       'options': {'args': (),
                   'datastructure': {'q_created_min_date': '', 'q_ZCText_or': '', 'q_ZCTitle_or': '', 'q_portal_type': '', 'q_created_min_hour': '00', 'q_created_min': None, 'q_Subject': '', 'q_created_max_hour': '23', 'q_sort-order': 'reverse', 'q_created_min_minute': '00', 'q_created_max': None, 'q_created_max_date': '', 'q_created_max_minute': '59', 'q_items_nb': '10', 'q_sort-on': 'created', 'q_review_state': '', 'q_portal_type_scope': ['Section', 'Workspace', 'simpletype_Activity', 'Blog', 'BlogAggregator', 'BlogEntry', 'simpletype_Confidentiality', 'Dashboard', 'EventDoc', 'simpletype_Expresssion-of-Interest', 'FAQ', 'FAQitem', 'File', 'CPSForum', 'Glossary', 'GlossaryItem', 'simpletype_IC-Basics', 'Image', 'ImageGallery', 'Link', 'News Item', 'ForumPost', 'Document', 'copy_of_Workspace', 'ZippedHtml']},
                   'first_layout': 0,
                   'flexible_widgets': [],
                   'is_flexible': 0,
                   'is_i18n': False,
                   'label': '',
                   'label_edit': '',
                   'last_layout': 0,
                   'layout': {'layout': <CPSLayout at /Portal/portal_layouts/dashboard>,
                              'layout_id': 'dashboard',
                              'ncols': 3,
                              'rows': [[{'ncols': 1,
                                         'widget': <CPSStringFilterWidget at /Portal/portal_layouts/dashboard/w__q_ZCText_or>,
                                         'widget_css_class': '',
                                         'widget_id': 'q_ZCText_or',
                                         'widget_input_area_id': 'widget__q_ZCText_or',
                                         'widget_javascript': '',
                                         'widget_mode': 'edit',
                                         'widget_rendered': '<input name="widget__q_ZCText_or" type="text" id="widget__q_ZCText_or" value="" size="20" />'},
                                        {'ncols': 2,
                                         'widget': <CPSStringFilterWidget at /Portal/portal_layouts/dashboard/w__q_ZCTitle_or>,
                                         'widget_css_class': '',
                                         'widget_id': 'q_ZCTitle_or',
                                         'widget_input_area_id': 'widget__q_ZCTitle_or',
                                         'widget_javascript': '',
                                         'widget_mode': 'edit',
                                         'widget_rendered': '<input name="widget__q_ZCTitle_or" type="text" id="widget__q_ZCTitle_or" value="" size="20" />'}],
                                       [{'ncols': 1,
                                         'widget': <CPSSelectFilterWidget at /Portal/portal_layouts/dashboard/w__q_Subject>,
                                         'widget_css_class': '',
                                         'widget_id': 'q_Subject',
                                         'widget_input_area_id': 'widget__q_Subject',
                                         'widget_javascript': '',
                                         'widget_mode': 'edit',
                                         'widget_rendered': '<select name="widget__q_Subject" id="widget__q_Subject"><option selected="selected" value="">All</option><option value="Arts">Arts</option><option value="Business">Business</option><option value="Computers">Computers</option><option value="Games">Games</option><option value="Health">Health</option><option value="Home">Home</option><option value="Kids and Teens">Kids and Teens</option><option value="News">News</option><option value="Recreation">Recreation</option><option value="Reference">Reference</option><option value="Regional">Regional</option><option value="Science">Science</option><option value="Shopping">Shopping</option><option value="Society">Society</option><option value="Sports">Sports</option></select>'},
                                        {'ncols': 2,
                                         'widget': <CPSSelectFilterWidget at /Portal/portal_layouts/dashboard/w__q_portal_type>,
                                         'widget_css_class': '',
                                         'widget_id': 'q_portal_type',
                                         'widget_input_area_id': 'widget__q_portal_type',
                                         'widget_javascript': '',
                                         'widget_mode': 'edit',
                                         'widget_rendered': '<select name="widget__q_portal_type" id="widget__q_portal_type"><option selected="selected" value="">All</option><option value="Section">Section</option><option value="Workspace">Workspace</option><option value="simpletype_Activity">Activity</option><option value="Blog">Blog</option><option value="BlogAggregator">Blog Aggregator</option><option value="BlogEntry">Blog Entry</option><option value="simpletype_Confidentiality">Confidentiality Agreement</option><option value="Dashboard">Dashboard</option><option value="EventDoc">Event</option><option value="simpletype_Expresssion-of-Interest">Expresssion of Interest</option><option value="FAQ">FAQ (Frequently Asked Questions)</option><option value="FAQitem">FAQ item</option><option value="File">File</option><option value="CPSForum">Forum</option><option value="Glossary">Glossary</option><option value="GlossaryItem">Glossary Entry</option><option value="simpletype_IC-Basics">IC-Basics</option><option value="Image">Image</option><option value="ImageGallery">Image Gallery</option><option value="Link">Link</option><option value="News Item">News item</option><option value="ForumPost">Post</option><option value="Document">Web Document</option><option value="copy_of_Workspace">Workspace</option><option value="ZippedHtml">Zipped Html File</option></select>'}],
                                       [{'ncols': 1,
                                         'widget': <CPSDateTimeFilterWidget at /Portal/portal_layouts/dashboard/w__q_created_min>,
                                         'widget_css_class': '',
                                         'widget_id': 'q_created_min',
                                         'widget_input_area_id': 'widget__q_created_min',
                                         'widget_javascript': '',
                                         'widget_mode': 'edit',
                                         'widget_rendered': '<fieldset class="widget" id="widget__q_created_min">\n  <input type="text" size="11" maxlength="22"\n         name="widget__q_created_min_date" value=""\n         id="widget__q_created_min_date" />\n  <button id="trigger_widget__q_created_min_date">...</button>\n  <script type=\'text/javascript\'>\n    Calendar.setup(\n      {\n        inputField  : \'widget__q_created_min_date\',\n        ifFormat    : \'m/d/y\',\n        button      : \'trigger_widget__q_created_min_date\',\n        mondayFirst : true,\n        range       : [1970, 2037]\n      }\n    );\n  </script>\n  \n  </fieldset>'},
                                        {'ncols': 2,
                                         'widget': <CPSDateTimeFilterWidget at /Portal/portal_layouts/dashboard/w__q_created_max>,
                                         'widget_css_class': '',
                                         'widget_id': 'q_created_max',
                                         'widget_input_area_id': 'widget__q_created_max',
                                         'widget_javascript': '',
                                         'widget_mode': 'edit',
                                         'widget_rendered': '<fieldset class="widget" id="widget__q_created_max">\n  <input type="text" size="11" maxlength="22"\n         name="widget__q_created_max_date" value=""\n         id="widget__q_created_max_date" />\n  <button id="trigger_widget__q_created_max_date">...</button>\n  <script type=\'text/javascript\'>\n    Calendar.setup(\n      {\n        inputField  : \'widget__q_created_max_date\',\n        ifFormat    : \'m/d/y\',\n        button      : \'trigger_widget__q_created_max_date\',\n        mondayFirst : true,\n        range       : [1970, 2037]\n      }\n    );\n  </script>\n  \n  </fieldset>'}],
                                       [{'ncols': 1,
                                         'widget': <CPSSelectFilterWidget at /Portal/portal_layouts/dashboard/w__q_review_state>,
                                         'widget_css_class': '',
                                         'widget_id': 'q_review_state',
                                         'widget_input_area_id': 'widget__q_review_state',
                                         'widget_javascript': '',
                                         'widget_mode': 'edit',
                                         'widget_rendered': '<select name="widget__q_review_state" id="widget__q_review_state"><option selected="selected" value="">All</option><option value="work">work</option><option value="pending">pending</option><option value="published">published</option></select>'},
                                        {'ncols': 1,
                                         'widget': <CPSToggableCriterionWidget at /Portal/portal_layouts/dashboard/w__q_sort>,
                                         'widget_css_class': '',
                                         'widget_id': 'q_sort',
                                         'widget_input_area_id': 'widget__q_sort',
                                         'widget_javascript': '',
                                         'widget_mode': 'edit',
                                         'widget_rendered': '<select name="widget__q_sort" id="widget__q_sort"><option value="">Unsorted</option><option value="portal_type">Type</option><option value="Title">Title</option><option value="modified">Updated</option><option selected="selected" value="created">Creation</option><option value="review_state">Status</option></select>'},
                                        {'ncols': 1,
                                         'widget': <CPSSelectFilterWidget at /Portal/portal_layouts/dashboard/w__q_items_nb>,
                                         'widget_css_class': '',
                                         'widget_id': 'q_items_nb',
                                         'widget_input_area_id': 'widget__q_items_nb',
                                         'widget_javascript': '',
                                         'widget_mode': 'edit',
                                         'widget_rendered': '<select name="widget__q_items_nb" id="widget__q_items_nb"><option selected="selected" value="10">10</option><option value="20">20</option><option value="50">50</option></select>'}]],
                              'widgets': {'Table': {'widget': <CatalogTabularWidget at /Portal/portal_layouts/dashboard/w__Table>,
                                                    'widget_css_class': '',
                                                    'widget_input_area_id': None,
                                                    'widget_javascript': '',
                                                    'widget_mode': 'hidden'},
                                          'q_Subject': {'widget': <CPSSelectFilterWidget at /Portal/portal_layouts/dashboard/w__q_Subject>,
                                                        'widget_css_class': '',
                                                        'widget_input_area_id': 'widget__q_Subject',
                                                        'widget_javascript': '',
                                                        'widget_mode': 'edit'},
                                          'q_ZCText_or': {'widget': <CPSStringFilterWidget at /Portal/portal_layouts/dashboard/w__q_ZCText_or>,
                                                          'widget_css_class': '',
                                                          'widget_input_area_id': 'widget__q_ZCText_or',
                                                          'widget_javascript': '',
                                                          'widget_mode': 'edit'},
                                          'q_ZCTitle_or': {'widget': <CPSStringFilterWidget at /Portal/portal_layouts/dashboard/w__q_ZCTitle_or>,
                                                           'widget_css_class': '',
                                                           'widget_input_area_id': 'widget__q_ZCTitle_or',
                                                           'widget_javascript': '',
                                                           'widget_mode': 'edit'},
                                          'q_created_max': {'widget': <CPSDateTimeFilterWidget at /Portal/portal_layouts/dashboard/w__q_created_max>,
                                                            'widget_css_class': '',
                                                            'widget_input_area_id': 'widget__q_created_max',
                                                            'widget_javascript': '',
                                                            'widget_mode': 'edit'},
                                          'q_created_min': {'widget': <CPSDateTimeFilterWidget at /Portal/portal_layouts/dashboard/w__q_created_min>,
                                                            'widget_css_class': '',
                                                            'widget_input_area_id': 'widget__q_created_min',
                                                            'widget_javascript': '',
                                                            'widget_mode': 'edit'},
                                          'q_items_nb': {'widget': <CPSSelectFilterWidget at /Portal/portal_layouts/dashboard/w__q_items_nb>,
                                                         'widget_css_class': '',
                                                         'widget_input_area_id': 'widget__q_items_nb',
                                                         'widget_javascript': '',
                                                         'widget_mode': 'edit'},
                                          'q_portal_type': {'widget': <CPSSelectFilterWidget at /Portal/portal_layouts/dashboard/w__q_portal_type>,
                                                            'widget_css_class': '',
                                                            'widget_input_area_id': 'widget__q_portal_type',
                                                            'widget_javascript': '',
                                                            'widget_mode': 'edit'},
                                          'q_review_state': {'widget': <CPSSelectFilterWidget at /Portal/portal_layouts/dashboard/w__q_review_state>,
                                                             'widget_css_class': '',
                                                             'widget_input_area_id': 'widget__q_review_state',
                                                             'widget_javascript': '',
                                                             'widget_mode': 'edit'},
                                          'q_sort': {'widget': <CPSToggableCriterionWidget at /Portal/portal_layouts/dashboard/w__q_sort>,
                                                     'widget_css_class': '',
                                                     'widget_input_area_id': 'widget__q_sort',
                                                     'widget_javascript': '',
                                                     'widget_mode': 'edit'}}},
                   'layout_mode': 'edit'},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb10d106c>,
       'request': <HTTPRequest, URL=http://s15203298.onlinehome-server.info/Portal/advanced_search.html>,
       'root': <Application at >,
       'template': <FSPageTemplate at /Portal/layout_default_edit>,
       'traverse_subpath': [],
       'user': <User 'admin'>}



    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__

      __traceback_info__: ti and ti.getActionById('create',
      'cpsdocument_create_form') or 'cpsdocument_create_form'


    * Module Python expression "ti and ti.getActionById('create',
      'cpsdocument_create_form') or 'cpsdocument_create_form'", line 1,
      in <expression>


AttributeError: getActionById

ps-users@...


Georges Racinet schrieb:

>
> On Mar 20, 2007, at 1:39 PM, Frank Drews wrote:
>
>> Hi,
>>
>> for some reason our advanced search doesnt work. I just get this
>> "!!!", where do I get the error log?
>
> The error was catched by CPSSkins' crash shield. In the ZMI, go to
> portal_themes>Options to disable it.
> Then you'll get tracebacks, error_log entries etc
>
>> Perhaps somebody has already an idea. Its a new installation (3.4)
>> running on suse, everything else works fine. We didnt make an
>> additional installation like nx-lucene, we just installed the
>> packages provided and some additional python eggs needed to run cps.
>> Is lucene needed for advanced search?
>
> No, it isn't.
>
>>
>> Thx Frank
>> _______________________________________________
>> cps-users mailing list
>> cps-users@...
>> http://lists.nuxeo.com/mailman/listinfo/cps-users
>>
>
> ---------
> Georges Racinet,   Nuxeo SAS
> Open Source Enterprise Content Management (ECM)
> Web: http://www.nuxeo.com/ and http://www.nuxeo.org/ - Tel: +33 1 40
> 33 79 87
>
>
>


_______________________________________________
cps-users mailing list
cps-users@...
http://lists.nuxeo.com/mailman/listinfo/cps-users

Re: advanced search

by Lennart Regebro-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 3/20/07, Frank Drews <frank.drews@...> wrote:

> Hi,
>
> now I have the error code for advanced search (klicking on the advances
> search button). I need help solving this error?
>
>     * Module Python expression "ti and ti.getActionById('create',
>       'cpsdocument_create_form') or 'cpsdocument_create_form'", line 1,
>       in <expression>
>
>
> AttributeError: getActionById

Looks like ti is not a Portal type, which it should be. Why that is, I
can't say.

--
Lennart Regebro: Zope and Plone consulting.
http://www.colliberty.com/
+33 661 58 14 64
_______________________________________________
cps-users mailing list
cps-users@...
http://lists.nuxeo.com/mailman/listinfo/cps-users

Re: advanced search

by Georges Racinet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Mar 22, 2007, at 4:51 PM, Lennart Regebro wrote:

> On 3/20/07, Frank Drews <frank.drews@...> wrote:
>> Hi,
>>
>> now I have the error code for advanced search (klicking on the  
>> advances
>> search button). I need help solving this error?
>>
>>     * Module Python expression "ti and ti.getActionById('create',
>>       'cpsdocument_create_form') or 'cpsdocument_create_form'",  
>> line 1,
>>       in <expression>
>>
>>
>> AttributeError: getActionById
>
> Looks like ti is not a Portal type, which it should be. Why that is, I
> can't say.

Broken object ? This can happen if you miss some products in your  
instance's Products
in this case CMFCore and CPSDocument have to be checked first

>
> --
> Lennart Regebro: Zope and Plone consulting.
> http://www.colliberty.com/
> +33 661 58 14 64
> _______________________________________________
> cps-users mailing list
> cps-users@...
> http://lists.nuxeo.com/mailman/listinfo/cps-users
>

---------
Georges Racinet,   Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ and http://www.nuxeo.org/ - Tel: +33 1 40  
33 79 87



_______________________________________________
cps-users mailing list
cps-users@...
http://lists.nuxeo.com/mailman/listinfo/cps-users

Re: advanced search

by Frank-D :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

thank you both very much. I checked somethings:
Products in the Instance:
CPSCore (Installed product CPSCore (3.36.1-1))
CPSDocument (Installed product CPSDocument (0.49.3-1))

I didnt found any needed profiles in portal setup, are there). How do I go on? Should i try to reinstall the Products? Is this possible without loosing information and content?

Thanks Frank




Georges Racinet wrote:
On Mar 22, 2007, at 4:51 PM, Lennart Regebro wrote:

> On 3/20/07, Frank Drews <frank.drews@ditf-denkendorf.de> wrote:
>> Hi,
>>
>> now I have the error code for advanced search (klicking on the  
>> advances
>> search button). I need help solving this error?
>>
>>     * Module Python expression "ti and ti.getActionById('create',
>>       'cpsdocument_create_form') or 'cpsdocument_create_form'",  
>> line 1,
>>       in <expression>
>>
>>
>> AttributeError: getActionById
>
> Looks like ti is not a Portal type, which it should be. Why that is, I
> can't say.

Broken object ? This can happen if you miss some products in your  
instance's Products
in this case CMFCore and CPSDocument have to be checked first

>
> --
> Lennart Regebro: Zope and Plone consulting.
> http://www.colliberty.com/
> +33 661 58 14 64
> _______________________________________________
> cps-users mailing list
> cps-users@lists.nuxeo.com
> http://lists.nuxeo.com/mailman/listinfo/cps-users
>

---------
Georges Racinet,   Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ and http://www.nuxeo.org/ - Tel: +33 1 40  
33 79 87



_______________________________________________
cps-users mailing list
cps-users@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/cps-users

Re: advanced search

by Frank-D :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

HI,

I now have more detailed information. If I access the URL directly I get the search form all right (server/cps/advanced_search_form or ...advanced_search_form_old). But if I submit the seach, there will be the error again. If access server/cps/workspaces/advanced_search_form I will get the seach form and the search realy does work! So is has something to do with where I perfom the call. I t does not work, if I just press advanced search being inside the workspaces.

I will know check out the serch being logged in as different persons to get more information.

Still looking for a solution

Frank



Hi,

thank you both very much. I checked somethings:
Products in the Instance:
CPSCore (Installed product CPSCore (3.36.1-1))
CPSDocument (Installed product CPSDocument (0.49.3-1))

I didnt found any needed profiles in portal setup, are there). How do I go on? Should i try to reinstall the Products? Is this possible without loosing information and content?

Thanks Frank




Georges Racinet wrote:
On Mar 22, 2007, at 4:51 PM, Lennart Regebro wrote:

> On 3/20/07, Frank Drews <frank.drews@ditf-denkendorf.de> wrote:
>> Hi,
>>
>> now I have the error code for advanced search (klicking on the  
>> advances
>> search button). I need help solving this error?
>>
>>     * Module Python expression "ti and ti.getActionById('create',
>>       'cpsdocument_create_form') or 'cpsdocument_create_form'",  
>> line 1,
>>       in <expression>
>>
>>
>> AttributeError: getActionById
>
> Looks like ti is not a Portal type, which it should be. Why that is, I
> can't say.

Broken object ? This can happen if you miss some products in your  
instance's Products
in this case CMFCore and CPSDocument have to be checked first

>
> --
> Lennart Regebro: Zope and Plone consulting.
> http://www.colliberty.com/
> +33 661 58 14 64
> _______________________________________________
> cps-users mailing list
> cps-users@lists.nuxeo.com
> http://lists.nuxeo.com/mailman/listinfo/cps-users
>

---------
Georges Racinet,   Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ and http://www.nuxeo.org/ - Tel: +33 1 40  
33 79 87



_______________________________________________
cps-users mailing list
cps-users@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/cps-users


Re: advanced search

by Frank-D :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I now have the solution, and it is quite easy. There was no problem. Advanced search simply doenst work for admin of zope (I logged in as admin of zope, zmi). I had the same problem with calender of subscritions before, but it was already some weeks ago ...
Checking out the usability and view as a normal user I realized, there was no problem with advanced search anymore.
If you check out features in cps, never do it as admin of zope, you will find a lot of not existing problems.

Thanks for all the answers

Frank



HI,

I now have more detailed information. If I access the URL directly I get the search form all right (server/cps/advanced_search_form or ...advanced_search_form_old). But if I submit the seach, there will be the error again. If access server/cps/workspaces/advanced_search_form I will get the seach form and the search realy does work! So is has something to do with where I perfom the call. I t does not work, if I just press advanced search being inside the workspaces.

I will know check out the serch being logged in as different persons to get more information.

Still looking for a solution

Frank


Frank-braucht-Hilfe wrote:
Hi,

thank you both very much. I checked somethings:
Products in the Instance:
CPSCore (Installed product CPSCore (3.36.1-1))
CPSDocument (Installed product CPSDocument (0.49.3-1))

I didnt found any needed profiles in portal setup, are there). How do I go on? Should i try to reinstall the Products? Is this possible without loosing information and content?

Thanks Frank




Georges Racinet wrote:
On Mar 22, 2007, at 4:51 PM, Lennart Regebro wrote:

> On 3/20/07, Frank Drews <frank.drews@ditf-denkendorf.de> wrote:
>> Hi,
>>
>> now I have the error code for advanced search (klicking on the  
>> advances
>> search button). I need help solving this error?
>>
>>     * Module Python expression "ti and ti.getActionById('create',
>>       'cpsdocument_create_form') or 'cpsdocument_create_form'",  
>> line 1,
>>       in <expression>
>>
>>
>> AttributeError: getActionById
>
> Looks like ti is not a Portal type, which it should be. Why that is, I
> can't say.

Broken object ? This can happen if you miss some products in your  
instance's Products
in this case CMFCore and CPSDocument have to be checked first

>
> --
> Lennart Regebro: Zope and Plone consulting.
> http://www.colliberty.com/
> +33 661 58 14 64
> _______________________________________________
> cps-users mailing list
> cps-users@lists.nuxeo.com
> http://lists.nuxeo.com/mailman/listinfo/cps-users
>

---------
Georges Racinet,   Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ and http://www.nuxeo.org/ - Tel: +33 1 40  
33 79 87



_______________________________________________
cps-users mailing list
cps-users@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/cps-users