Opened 5 years ago

Last modified 4 years ago

#6910 new defect

UnknownTimeZoneError: '<trac.util.datefmt.LocalTimezone object at 0x89f954c>'

Reported by: dharrigan@… Owned by: doki_pen
Priority: high Component: IrcLogsPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description (last modified by rjollos)


I'm using Trac 0.11.7rc1, with irclogs 0.3.

I am getting this error:

File "/usr/lib/python2.5/site-packages/Trac-0.11.7rc1-py2.5.egg/trac/web/", line 450, in _dispatch_request
File "/usr/lib/python2.5/site-packages/Trac-0.11.7rc1-py2.5.egg/trac/web/", line 206, in dispatch
  resp = chosen_handler.process_request(req)
File "build/bdist.linux-i686/egg/irclogs/", line 160, in process_requestFile "/usr/lib/python2.5/site-packages/pytz/", line 152, in timezone
  raise UnknownTimeZoneError(zone)

When I attempt to view a very simple log:

2010-03-27T13:04:17  <blah> hi everybody
2010-03-27T13:04:26  <bloo> I'm going to lunch
2010-03-27T13:04:33  <blah> see you later
2010-03-27T13:04:46  <blah> bloo eat something!!!!!!
2010-03-27T13:04:52  <blah> fu don't eat to much
2010-03-27T13:05:00  <bloo> bar.... boh fai tu :D
2010-03-27T13:05:34  * bloo prendo un panino

Here is the section in trac.ini:

channel = #fubar
network = network
basepath = /var/trac/irclogs/ChannelLogger
navbutton = Fubar IRC Log

No idea what to do next. If you need more info, please let me know.


Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by anonymous

  • Owner changed from pacopablo to doki_pen

comment:2 Changed 4 years ago by rjollos

  • Description modified (diff)

comment:3 Changed 4 years ago by doki_pen

Try installing pytz

comment:4 Changed 4 years ago by doki_pen

Also, try setting your timezone under preferences, or the sitewide timezone for trac.

default_timezone = America/New_York

Add Comment

Modify Ticket

as new The owner will remain doki_pen.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.