Modify

Opened 15 years ago

Last modified 10 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)

Hiya,

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/main.py", line 450, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib/python2.5/site-packages/Trac-0.11.7rc1-py2.5.egg/trac/web/main.py", line 206, in dispatch
  resp = chosen_handler.process_request(req)
File "build/bdist.linux-i686/egg/irclogs/web_ui.py", line 160, in process_requestFile "/usr/lib/python2.5/site-packages/pytz/__init__.py", 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:

[irclogs]
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.

-=david=-

Attachments (0)

Change History (5)

comment:1 Changed 14 years ago by anonymous

Owner: changed from John Hampton to Robert Corsaro

comment:2 Changed 14 years ago by Ryan J Ollos

Description: modified (diff)

comment:3 Changed 14 years ago by Robert Corsaro

Try installing pytz

comment:4 Changed 14 years ago by Robert Corsaro

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

[trac]
default_timezone = America/New_York

comment:5 Changed 10 years ago by Ryan J Ollos

Owner: Robert Corsaro deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.