Modify ↓
      
Opened 18 years ago
Closed 18 years ago
#6406 closed defect (invalid)
system crash after clicked on the ticket no
| Reported by: | prashantj | Owned by: | Jonas Borgström | 
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | general | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Hi, I got system crash while using trac.Can you pls look into this.? What I did , 1.I added a new ticket on trac and attached the file. 2.Clicked on 'Timeline' tab. 3.Then clicked on the link of this newly added ticket and got system crash as,
Traceback (most recent call last):
  File "/usr/local/python/lib/python2.5/site-packages/trac/web/main.py", line 393, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/python/lib/python2.5/site-packages/trac/web/main.py", line 243, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/python/lib/python2.5/site-packages/trac/ticket/web_ui.py", line 302, in process_request
    get_reporter_id(req, 'author'))
  File "/usr/local/python/lib/python2.5/site-packages/trac/ticket/web_ui.py", line 627, in _insert_ticket_data
    change['localdate'] = format_datetime(parse_date(change['date'],tz='EST'), tz=req.session.get_timezone())
  File "/usr/local/python/lib/python2.5/site-packages/trac/util/datefmt.py", line 141, in parse_date
    raise ValueError, '%s is not a known date format. (Z3, last fmt was %s) Try %s' % (text, lastFormat, hint)
ValueError: 11/28/07 08:28:41 CST is not a known date format. (Z3, last fmt was %m/%d/%y %X %Z) Try MM/DD/YY
      Attachments (0)
  Note:
 See   TracTickets
 for help on using tickets.
    


  
That's coming from a locally modified
trac/util/datefmt.pyfile. The following piece of code:is not from us.