Opened 8 years ago

Last modified 3 years ago

#6910 new defect

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

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

Description (last modified by Ryan J Ollos)


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 (5)

comment:1 Changed 8 years ago by anonymous

Owner: changed from John Hampton to Robert Corsaro

comment:2 Changed 8 years ago by Ryan J Ollos

Description: modified (diff)

comment:3 Changed 8 years ago by Robert Corsaro

Try installing pytz

comment:4 Changed 8 years ago by Robert Corsaro

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

default_timezone = America/New_York

comment:5 Changed 3 years ago by Ryan J Ollos

Owner: Robert Corsaro deleted

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.

Add Comment

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

Note: See TracTickets for help on using tickets.