Modify ↓
Opened 18 years ago
Closed 18 years ago
#656 closed defect (fixed)
Broken, wont work in Trac 0.9.6, 'page.time' attribute unknown
Reported by: | Owned by: | John Hampton | |
---|---|---|---|
Priority: | normal | Component: | TracBlogPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.9 |
Description (last modified by )
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:).
Attachments (0)
Change History (2)
comment:1 Changed 18 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [1190]) Closes #656
post_time
instead of page.time. The only issue with this that I can see is that changes to blog posts won't show up in the RSS feed. To me that seems reasonable, hoever, may need to cahnge this if it's and undesired side effect.