Modify ↓
Opened 16 years ago
Last modified 11 years ago
#5719 new defect
[Patch] LocalTimezone' object has no attribute 'normalize' (user with 'default' timezone)
| Reported by: | Thomas Moschny | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | IrcLogsPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description
When the user's timezone is set to default, the irclogs plugin throws:
2009-08-25 14:22:10,998 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
File "/opt/trac/lib/python2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/web/main.py", line 444, in _dispatch_request
dispatcher.dispatch(req)
File "/opt/trac/lib/python2.5/site-packages/Trac-0.11.5-py2.5.egg/trac/web/main.py", line 205, in dispatch
resp = chosen_handler.process_request(req)
File "build/bdist.linux-x86_64/egg/irclogs/web_ui.py", line 352, in process_request
req.tz)
File "build/bdist.linux-x86_64/egg/irclogs/web_ui.py", line 140, in _render_lines
local_dt = tz.normalize(server_dt.astimezone(tz))
AttributeError: 'LocalTimezone' object has no attribute 'normalize'
Attachments (1)
Change History (5)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
| Summary: | LocalTimezone' object has no attribute 'normalize' (user with 'default' timezone) → [Patch] LocalTimezone' object has no attribute 'normalize' (user with 'default' timezone) |
|---|
Same problem as in #3550, which was closed with a remark that the issue is fixed in the parse_refactor branch, which isn't merged yet, however.
comment:3 Changed 15 years ago by
| Owner: | changed from John Hampton to Robert Corsaro |
|---|
comment:4 Changed 11 years ago by
| Owner: | Robert Corsaro deleted |
|---|
Note: See
TracTickets for help on using
tickets.



I'm also experiencing this problem. Trac 0.11.5.