Edgewall Software

Opened 16 years ago

Last modified 3 years ago

#7354 closed defect

Unable to Edit or Delete an invalid tickets report — at Initial Version

Reported by: dbcole@… Owned by: Jonas Borgström
Priority: normal Milestone: 0.11.1
Component: report system Version:
Severity: normal Keywords:
Cc: Ryan J Ollos Branch:
Release Notes:
API Changes:
Internal Changes:

Description

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

valuedate = 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

Change History (0)

Note: See TracTickets for help on using tickets.