Modify ↓
#1787 closed defect (invalid)
Can not view tickets in trac-0.8.1-3sarge2
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.8.1 |
Severity: | critical | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I recently update Debian sarge, and a new version of trac was installed. The new version is crashing whenever I try and view a ticket. Here is the traceback:
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/core.py", line 531, in cgi_start real_cgi_start() File "/usr/lib/python2.3/site-packages/trac/core.py", line 526, in real_cgi_start dispatch_request(path_info, args, req, env) File "/usr/lib/python2.3/site-packages/trac/core.py", line 441, in dispatch_request module.run() File "/usr/lib/python2.3/site-packages/trac/Module.py", line 44, in run self.render() File "/usr/lib/python2.3/site-packages/trac/Ticket.py", line 479, in render self.insert_ticket_data(self.req.hdf, id, ticket, reporter_id) File "/usr/lib/python2.3/site-packages/trac/Ticket.py", line 418, in insert_ticket_data self.req.hdf.setValue('ticket.opened', time.strftime('%c', time.localtime(int(ticket['time'])))) AttributeError: 'builtin_function_or_method' object has no attribute 'strftime'
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Ack - Fixed it. Bug was caused when I imported time from module time.