Opened 18 years ago

Last modified 18 years ago

#656 closed defect

Broken, wont work in Trac 0.9.6, 'page.time' attribute unknown — at Version 1

Reported by: stava@… Owned by: John Hampton
Priority: normal Component: TracBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9

Description (last modified by Alec Thomas)

Trac[formatter] ERROR: Macro BlogShow(blog,news,hidecal=true,num_posts=3) failed
Traceback (most recent call last):
   File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 370, in _macro_formatter     return macro.process(self.req, args, 1)
   File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 109, in process     text = self.processor(req, text)
   File "/usr/lib/python2.4/site-packages/trac/wiki/formatter.py", line 99, in _macro_processor     return macro_provider.render_macro(req, self.name, text)
   File "build/bdist.linux-i686/egg/tBlog/web_ui.py", line 178, in render_macro   File "build/bdist.linux-i686/egg/tBlog/web_ui.py", line 315, in _generate_blog AttributeError: 'WikiPage' object has no attribute 'time'

web_ui.py line 315:

'date' : http_date(page.time),

replaced with:

'date' : ,

seemd to get things working, not sure what's going on here though (newbie:).

Change History (1)

comment:1 Changed 18 years ago by Alec Thomas

Description: modified (diff)
Note: See TracTickets for help on using tickets.