4teamwork / ftw.workspace

A project folder for plone.
3 stars 0 forks source link

Incompatibility with Plone files #37

Closed jone closed 10 years ago

jone commented 10 years ago

2014-03-20 13:43:30 ERROR Zope.SiteErrorLog 1395319410.710.124503509434 http://localhost:8080/Plone431/asdfadfsafsd/tabbed_view/listing
Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module ftw.tabbedview.browser.tabbed, line 152, in listing
  Module ftw.tabbedview.browser.listing, line 134, in __call__
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module zope.pagetemplate.pagetemplate, line 240, in __call__
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 852, in do_condition
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 518, in do_optTag
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 522, in do_optTag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 852, in do_condition
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 533, in do_optTag_tal
  Module zope.tal.talinterpreter, line 518, in do_optTag
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
  Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
  Module zope.tales.tales, line 696, in evaluate
   - URL: /Users/jone/projects/packages/ftw.workspace/ftw/workspace/browser/documents.pt
   - Line 46, Column 24
   - Expression: <PathExpr standard:u'view/render_listing'>
   - Names:
      {'args': (),
       'container': <Workspace at /Plone431/asdfadfsafsd>,
       'context': <Workspace at /Plone431/asdfadfsafsd>,
       'default': <object object at 0x100dbeb60>,
       'here': <Workspace at /Plone431/asdfadfsafsd>,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x105f94e10>,
       'request': <HTTPRequest, URL=http://localhost:8080/Plone431/asdfadfsafsd/tabbed_view/listing>,
       'root': <Application at >,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x1046357d0>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>,
       'view': <Products.Five.metaclass.DocumentsTab object at 0x10604df90>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x10604cf90>}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 155, in _eval
  Module Products.PageTemplates.Expressions, line 117, in render
  Module ftw.tabbedview.browser.listing, line 274, in render_listing
  Module ftw.table.utils, line 76, in generate
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module zope.pagetemplate.pagetemplate, line 240, in __call__
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 821, in do_loop_tal
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 821, in do_loop_tal
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 531, in do_optTag_tal
  Module zope.tal.talinterpreter, line 513, in no_tag
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
  Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
  Module zope.tales.tales, line 696, in evaluate
   - URL: /Users/jone/projects/python/cache/eggs/ftw.table-1.13-py2.7.egg/ftw/table/templates/basic.pt
   - Line 20, Column 16
   - Expression: <PythonExpr ( view.get_value(content, col))>
   - Names:
      {'args': (<ftw.table.utils.TableGenerator object at 0x104e6cf10>,),
       'container': None,
       'context': None,
       'default': <object object at 0x100dbeb60>,
       'here': None,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x105f7e050>,
       'request': <HTTPRequest, URL=http://localhost:8080/Plone431/asdfadfsafsd/tabbed_view/listing>,
       'root': None,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x10459d090>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>,
       'view': <ftw.table.utils.TableGenerator object at 0x104e6cf10>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x10604d590>}
  Module zope.tales.pythonexpr, line 59, in __call__
   - __traceback_info__: ( view.get_value(content, col))
  Module <string>, line 1, in <module>
  Module ftw.table.utils, line 212, in get_value
  Module ftw.table.helper, line 185, in readable_date_text
  Module DateTime.DateTime, line 1552, in strftime
ValueError: year=1000 is before 1900; the datetime strftime() methods require year >= 1900
jone commented 10 years ago

Fixed with ftw.table = 1.14