Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1787 closed defect (invalid)

Can not view tickets in trac-0.8.1-3sarge2

Reported by: alan.krause@… 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)

Change History (1)

comment:1 by alan.krause, 19 years ago

Resolution: invalid
Status: newclosed

Ack - Fixed it. Bug was caused when I imported time from module time.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.