﻿id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
3550	AttributeError: 'LocalTimezone' object has no attribute 'normalize'	martin.haeger@…	pacopablo	"Getting an error ""AttributeError: 'LocalTimezone' object has no attribute 'normalize'"" when trying to access irclogs. I'm running pytz 2008c, Python 2.5 on Windows XP SP2. Is there any known incompatibilities with specific versions of pytz, or should this be considered a bug?

==== How to Reproduce ====

While doing a GET operation on `/irclogs`, Trac issued an internal error.

''(please provide additional details here)''


Request parameters:
{{{
{'day': '13', 'feed': None, 'feed_count': None, 'month': '08', 'year': 2008}
}}}


User Agent was: `Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1`

==== System Information ====

|| '''Trac''' || `0.11.1` ||
|| '''Python''' || `2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]` ||
|| '''setuptools''' || `0.6c7` ||
|| '''SQLite''' || `3.3.4` ||
|| '''pysqlite''' || `2.3.2` ||
|| '''Genshi''' || `0.5` ||
|| '''Pygments''' || `0.10` ||
|| '''jQuery:''' || `1.2.6` ||

==== Python Traceback ====
{{{
Traceback (most recent call last):
  File ""c:\python25\lib\site-packages\Trac-0.11.1-py2.5.egg\trac\web\main.py"", line 423, in _dispatch_request
    dispatcher.dispatch(req)
  File ""c:\python25\lib\site-packages\Trac-0.11.1-py2.5.egg\trac\web\main.py"", line 197, in dispatch
    resp = chosen_handler.process_request(req)
  File ""build\bdist.win32\egg\irclogs\web_ui.py"", line 352, in process_request
    req.tz)
  File ""build\bdist.win32\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'

}}}
    "	defect	closed	normal	IrcLogsPlugin	normal	fixed	pytz		0.11
