[CPS-users] error in pot file

Mario Menezes mo.menezes at gmail.com
Tue Jun 13 15:53:22 CEST 2006


Hi,

   After a reboot (energy failure), I'm getting the error below when trying
to access the portal.
   It happens, e.g., just after the login form --  I access Portal main page
w/o problem; click on 'Login' and fill the form (username and passwd) w/o
problem; when I click 'Login' to be authenticated, then I have the error.
   If I go to the Portal main page again, I'm logged; I can access some
parts but the Calendar; whenever I try to access my workspace or my calendar
I get the error.
   It only happens in Portuguese/Brazil language; if I switch to English, no
error.
   I couldn't find what is wrong or which msgstr is causing this.
   I ran msgfmt on my pot files and there was no error.
   Any help?

-----------------------------

Traceback (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 110, in _exec
  Module Products.PageTemplates.PageTemplate, line 104, in pt_render
   - <ImplicitAcquirerWrapper object at 0x467c72cc>
   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 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': <CpsCalendar at /colaborar/members/mario/calendar>,
       'context': <CpsCalendar at /colaborar/members/mario/calendar>,
       'default': <Products.PageTemplates.TALES.Default instance at 0x40d8c50c>,
       'here': <CpsCalendar at /colaborar/members/mario/calendar>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x42ecd7ec>,
       'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0x40db8f2c>,
       'nothing': None,
        'options': {'args': (<Products.Five.metaclass.SimpleViewClass
from /var/lib/zope2.9/instance/default/Products/CalZope/browser/calendar.pt
object at 0x45cabf4c>,)},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0x42ecd7ec>,
       'request': <HTTPRequest,
URL=http://colaborar.ipen.br/members/mario/calendar/calendar.html>,
       'root': <Application at >,
       'template': <ImplicitAcquirerWrapper object at 0x467c72cc>,
       'traverse_subpath': [],
       'user': <CPSUser mario>,
       'view': <Products.Five.metaclass.SimpleViewClass from
/var/lib/zope2.9/instance/default/Products/CalZope/browser/calendar.pt
object at 0x45cabf4c>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
object at 0x468cdb0c>}
  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.CellBlock, line 216, in render_cache
   Module Products.CPSSkins.CellBlock, line 198, in render
   Module Products.CPSSkins.CellBlock, line 210, in render_skin
  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 /colaborar/cpsskins_cellblock used for
/colaborar/portal_themes/colaborar/Default/main/cellblock_breadcrumb_lang>
   Module TAL.TALInterpreter, line 238, in __call__
   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 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 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_cellblock.pt
   - Line 22, Column 12
    - Expression: <PythonExpr content.render_cache(shield=shield,
context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit,
template=template)>
   - Names:
      {'container': <CPSDefaultSite at /colaborar>,
       'context': <CellBlock at
/colaborar/portal_themes/colaborar/Default/main/cellblock_breadcrumb_lang>,
       'default': <Products.PageTemplates.TALES.Default instance at 0x40d8c50c>,
       'here': <CellBlock at
/colaborar/portal_themes/colaborar/Default/main/cellblock_breadcrumb_lang>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x45f602ec>,
       'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0x40db8f2c>,
       'nothing': None,
        'options': {'args': (),
                    'boxedit': None,
                   'context_obj': <CpsCalendar at
/colaborar/members/mario/calendar>,
                   'enable_esi': False,
                    'options': {'args':
(<Products.Five.metaclass.SimpleViewClass from
/var/lib/zope2.9/instance/default/Products/CalZope/browser/calendar.pt
object at 0x45cabf4c>,)},
                   'shield': 0,
                   'template': <ImplicitAcquirerWrapper object at 0x467c72cc>},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0x45f602ec>,
       'request': <HTTPRequest,
URL=http://colaborar.ipen.br/members/mario/calendar/calendar.html>,
       'root': <Application at >,
       'template': <FSPageTemplate at /colaborar/cpsskins_cellblock
used for /colaborar/portal_themes/colaborar/Default/main/cellblock_breadcrumb_lang>,
       'traverse_subpath': [],
       'user': <CPSUser mario>}
  Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
    - __traceback_info__: content.render_cache(shield=shield,
context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit,
template=template)
   Module Python expression "content.render_cache(shield=shield,
context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit,
template=template)", line 1, in <expression>
   Module Products.CPSSkins.PortalBoxGroup, line 313, in render_cache
   Module Products.CPSSkins.PortalBoxGroup, line 258, in render
   Module Products.CPSPortlets.CPSPortlet, line 539, in render_cache
  Module Products.CPSDocument.CPSDocument, line 68, in render
   Module Products.CPSDocument.FlexibleTypeInformation, line 749, in
renderObject
  Module Products.CPSDocument.FlexibleTypeInformation, line 711, in
_renderLayouts
   Module Products.CPSSchemas.Layout, line 391, in renderLayoutStructure
   Module Products.CPSPortlets.CPSPortletWidget, line 78, in render
  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 /colaborar/widget_portlet_breadcrumbs used for
/colaborar/portal_layouts/breadcrumbs_portlet/w__portlet>
   Module TAL.TALInterpreter, line 238, in __call__
   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:CPSPortlets/skins/cpsportlets_widgets/widget_portlet_breadcrumbs.pt
   - Line 1, Column 0
    - Expression: <PythonExpr
context.getBreadcrumbsItems(context=context,
display_hidden_folders=display_hidden_folders, first_item=first_item,
display_site_root=display_site_root)>
   - Names:
      {'container': <CPSDefaultSite at /colaborar>,
       'context': <CPSPortletWidget at
/colaborar/portal_layouts/breadcrumbs_portlet/w__portlet>,
       'default': <Products.PageTemplates.TALES.Default instance at 0x40d8c50c>,
       'here': <CPSPortletWidget at
/colaborar/portal_layouts/breadcrumbs_portlet/w__portlet>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x46a534ec>,
       'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0x40db8f2c>,
       'nothing': None,
        'options': {'args': (),
                    'boxedit': None,
                   'context_obj': <CpsCalendar at
/colaborar/members/mario/calendar>,
                    'datastructure': {'disable_override': False,
'Description': '', 'display_site_root': True, 'Title': 'Breadcrumb
Portlet', 'first_item': '0', 'slot_override': False,
'visibility_range': [0, 0], 'portlet': '', 'display_hidden_folders':
True, 'highlight_last_item': False, 'display': 'horizontal_trail'},
                   'layout_mode': 'view',
                   'mode': 'view',
                    'portlet': <CPSPortlet at
/colaborar/.cps_portlets/portlet_breadcrumbs2>,
                   'template': <ImplicitAcquirerWrapper object at 0x467c72cc>,
                   'widget_infos': {'display': {'widget':
<CPSSelectWidget at
/colaborar/portal_layouts/breadcrumbs_portlet/w__display>,
                                                'widget_css_class': '',

'widget_input_area_id': 'widget__display',
                                                'widget_javascript': '',
                                                'widget_mode': 'hidden'},
                                    'display_hidden_folders':
{'widget': <CPSBooleanWidget at
/colaborar/portal_layouts/breadcrumbs_portlet/w__display_hidden_folders>,

'widget_css_class': '',

'widget_input_area_id': None,

'widget_javascript': '',

'widget_mode': 'hidden'},
                                    'display_site_root': {'widget':
<CPSBooleanWidget at
/colaborar/portal_layouts/breadcrumbs_portlet/w__display_site_root>,

'widget_css_class': '',

'widget_input_area_id': None,

'widget_javascript': '',

'widget_mode': 'hidden'},
                                    'first_item': {'widget':
<CPSIntWidget at
/colaborar/portal_layouts/breadcrumbs_portlet/w__first_item>,
                                                   'widget_css_class': '',
                                                   'widget_input_area_id': None,
                                                   'widget_javascript': '',
                                                   'widget_mode': 'hidden'},
                                    'highlight_last_item': {'widget':
<CPSBooleanWidget at
/colaborar/portal_layouts/breadcrumbs_portlet/w__highlight_last_item>,

'widget_css_class': '',

'widget_input_area_id': None,

'widget_javascript': '',

'widget_mode': 'hidden'},
                                     'portlet': {'widget':
<CPSPortletWidget at
/colaborar/portal_layouts/breadcrumbs_portlet/w__portlet>,
                                                'widget_css_class': '',
                                                'widget_input_area_id': None,
                                                'widget_javascript': '',
                                                'widget_mode': 'view'}}},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0x46a534ec>,
       'request': <HTTPRequest,
URL=http://colaborar.ipen.br/members/mario/calendar/calendar.html>,
       'root': <Application at >,
       'template': <FSPageTemplate at
/colaborar/widget_portlet_breadcrumbs used for
/colaborar/portal_layouts/breadcrumbs_portlet/w__portlet>,
       'traverse_subpath': [],
       'user': <CPSUser mario>}
  Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
    - __traceback_info__: context.getBreadcrumbsItems(context=context,
display_hidden_folders=display_hidden_folders, first_item=first_item,
display_site_root=display_site_root)
   Module Python expression
"context.getBreadcrumbsItems(context=context,
display_hidden_folders=display_hidden_folders, first_item=first_item,
display_site_root=display_site_root)", line 1, in <expression>
  Module Products.CMFCore.FSPythonScript, line 108, in __call__
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.CMFCore.FSPythonScript, line 164, in _exec
   Module None, line 38, in getBreadcrumbsItems
    - <FSPythonScript at /colaborar/getBreadcrumbsItems used for
/colaborar/members/mario/calendar>
   - Line 38
  Module Products.CPSSharedCalendar.calendar, line 178, in title_or_id
ValueError: incomplete format

----------------------------------



-- 
Mario O.de Menezes, Ph.D.     "Many are the plans in a man's heart, but
LinuxUser: #24626         is the Lord's purpose that prevails" Pv 19.21
                        http://www.ipen.br/~mario
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nuxeo.com/pipermail/cps-users/attachments/20060613/b0d01486/attachment-0001.htm


More information about the cps-users mailing list

This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.