Modify ↓
Opened 19 years ago
Closed 19 years ago
#1875 closed defect (fixed)
Ooops in deleting report
Reported by: | Emmanuel Blot | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | report system | Version: | 0.9 |
Severity: | major | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
trunk [2048], PySQLite 2
Python traceback
Traceback (most recent call last): File "/local/engine/trac/trac/web/modpython_frontend.py", line 207, in handler dispatch_request(mpr.path_info, mpr, env) File "/local/engine/trac/trac/web/main.py", line 453, in dispatch_request dispatcher.dispatch(req) File "/local/engine/trac/trac/web/main.py", line 313, in dispatch resp = chosen_handler.process_request(req) File "/local/engine/trac/trac/ticket/report.py", line 125, in process_request self._render_confirm_delete(req, db, id) File "/local/engine/trac/trac/ticket/report.py", line 199, in _render_confirm_delete req.hdf['title'] = 'Delete Report {%s} %s' % (id, row['title']) TypeError: tuple indices must be integers
Attachments (0)
Change History (5)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Owner: | changed from | to
---|---|
Priority: | normal → high |
Severity: | normal → major |
Status: | new → assigned |
comment:4 by , 19 years ago
Milestone: | 0.9 |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Version: | devel → 0.9.3 |
Getting the same problem in 0.9.3 again (never tried deleting reports before that, so not really sure the problem wasn't there all along).
System: Win2K, Apache 2.0.54, mod_python 3.1.3, ActivePython 2.3.5, PySQLite 1.1.6
Traceback:
Traceback (most recent call last): File "C:\Python23\Lib\site-packages\trac\web\modpython_frontend.py", line 206, in handler dispatch_request(mpr.path_info, mpr, env) File "C:\Python23\Lib\site-packages\trac\web\main.py", line 139, in dispatch_request dispatcher.dispatch(req) File "C:\Python23\Lib\site-packages\trac\web\main.py", line 107, in dispatch resp = chosen_handler.process_request(req) File "C:\Python23\Lib\site-packages\trac\ticket\report.py", line 115, in process_request self._render_confirm_delete(req, db, id) File "C:\Python23\Lib\site-packages\trac\ticket\report.py", line 198, in _render_confirm_delete req.hdf['report'] = { AttributeError: 'module' object has no attribute 'row'
comment:5 by , 19 years ago
Milestone: | → 0.9 |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Version: | 0.9.3 → 0.9 |
Note:
See TracTickets
for help on using tickets.
I've encounted, too. Here is a patch: