#329 closed defect (fixed)
blog view problem - list index out of range
Reported by: | Owned by: | John Hampton | |
---|---|---|---|
Priority: | normal | Component: | TracBlogPlugin |
Severity: | normal | Keywords: | |
Cc: | Akshay Guleria, varmasoft@… | Trac Release: | 0.10 |
Description
I've used TracBlog very satisfactorily for 2 weeks now, but suddenly this morning :
Traceback (most recent call last): File "/sw/lib/python2.4/site-packages/trac/web/main.py", line 300, in dispatch_request dispatcher.dispatch(req) File "/sw/lib/python2.4/site-packages/trac/web/main.py", line 176, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.darwin-8.6.0-Power_Macintosh/egg/tBlog/web_ui.py", line 173, in process_request File "build/bdist.darwin-8.6.0-Power_Macintosh/egg/tBlog/web_ui.py", line 265, in _generate_blog File "build/bdist.darwin-8.6.0-Power_Macintosh/egg/tBlog/web_ui.py", line 299, in _generate_calendar IndexError: list index out of range
I had installed TracTags, TracBlog and TracChangeLog with easy_install.
Before having this problem I've updated an older post but I don't know whether this is connected. I've upgraded TracBlog (svn up) but without changes. I've made no updates to Trac for several weeks. My last Blog post was made on 06/04/21/16.04
Attachments (0)
Change History (6)
comment:1 Changed 19 years ago by
Cc: | akshay.guleria@… varmasoft@… added; anonymous removed |
---|---|
Summary: | Blog suddenly no longer works → blog view problem - list index out of range |
comment:2 Changed 19 years ago by
Cc: | Akshay Guleria added; akshay.guleria@… removed |
---|
comment:3 Changed 19 years ago by
Hi, seems to be a problem with "first_week_day". I've set this to "Monday" (and boom!) Setting back the option to Sunday fix the error, but in Germany we start at monday (i don't like mondays :-(()
comment:4 Changed 19 years ago by
Indeed setting back to Sunday solved the problem. It seems I haven't worked last Monday …
comment:5 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 Changed 19 years ago by
The bug turned out to be a mishandling of the calulation of the current week. I've now tested it with the fix, so you can now safely have Monday be the start of the week.
Hi
The blog view for our website is howing up the following error:
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 206, in handler
dispatch_request(mpr.path_info, mpr, env)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "build/bdist.linux-i686/egg/tBlog/web_ui.py", line 173, in process_request File "build/bdist.linux-i686/egg/tBlog/web_ui.py", line 251, in _generate_blog File "build/bdist.linux-i686/egg/tBlog/web_ui.py", line 285, in _generate_calendar IndexError?: list index out of range The trac blog plugin we used is : " tracblogplugin-r658.zip "
The last thing that we had done was updated the TOC plugin to tocmacro-r696.zip,