[Zope] worldcookery.com five tutorial ploneconf05 - AttributeError: DateTime instance has no __call__ method...

michael nt milne michael.milne at gmail.com
Tue Apr 1 10:48:06 EDT 2008


Hi

Been following this turorial at:

http://worldcookery.com/files/ploneconf05-five/index.html

Using Plone 3.0.6. and Zope 2.10.5 and trying to view
http://localhost:8080/portal/news/atom.xml

leads me to the below error. Plone 3 thing?

  Module zope.tales.tales, line 696, in evaluate
   - URL: index
   - Line 22, Column 3
   - Expression: <PythonExpr (obj.modified().HTML4())>
   - Names:
      {'container': <ATBTreeFolder at /portal/news>,
       'context': <ATBTreeFolder at /portal/news>,
       'default': <object object at 0x008BB528>,
       'here': <ATBTreeFolder at /portal/news>,
       'loop': {u'obj':
<Products.PageTemplates.Expressions.PathIterator object at
0x082FFB10>},
       'nothing': None,
       'options': {'args': (<Products.Five.metaclass.SimpleViewClass
from C:\Enfold\Products\FiveFeeds\atom.pt object at 0x082FFD50>,)},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping
object at 0x0864EE68>,
       'request': <HTTPRequest, URL=http://localhost:8080/portal/news/atom.xml>,
       'root': <Application at >,
       'template': <ImplicitAcquirerWrapper object at 0x082FFDD0>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'michael'>,
       'view': <Products.Five.metaclass.SimpleViewClass from
C:\Enfold\Products\FiveFeeds\atom.pt object at 0x082FFD50>,
       'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
object at 0x082FF990>}
  Module zope.tales.pythonexpr, line 59, in __call__
   - __traceback_info__: (obj.modified().HTML4())
  Module <string>, line 0, in ?
AttributeError: DateTime instance has no __call__ method

-- 
michael


More information about the Zope mailing list