Ticket #7354 (closed defect: fixed)
Unable to Edit or Delete an invalid tickets report
| Reported by: | dbcole@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.1 |
| Component: | report system | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by cboos) (diff)
While editing the SQL (which I don't really know much about at all) for a new report that I was trying to create, I managed to create an error that I cannot seem to get out of:
After editing the report's SQL, I clicked on "SAVE REPORT".
I imediately got "Oops... Trac detected an internal error:".
I then tried going back into "View Tickets" with the intention of undoing my mistake, but now I am unable to get into the edit view for that ticket.
The View Tickets list does not seem to have a way for me to go directly to edit. So I have to select the report, which immediately fails again.
The Python Traceback follows:
Traceback (most recent call last):
File "C:\programs\python2.4\lib\site-packages\trac\web\main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "C:\programs\python2.4\lib\site-packages\trac\web\main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "C:\programs\python2.4\lib\site-packages\trac\ticket\report.py", line 88, in process_request
resp = self._render_view(req, db, id)
File "C:\programs\python2.4\lib\site-packages\trac\ticket\report.py", line 346, in _render_view
value['date'] = format_date(cell)
File "C:\programs\python2.4\lib\site-packages\trac\util\datefmt.py", line 68, in format_date
return format_datetime(t, format, gmt)
File "C:\programs\python2.4\lib\site-packages\trac\util\datefmt.py", line 58, in format_datetime
t = time.localtime(float(t))
ValueError: invalid literal for float(): dbcole


