#3246 closed defect (fixed)
Execution error when deleting a report
Reported by: | Anne | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.9.3 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Trac detected an internal error:
'module' object has no attribute 'row'
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/cgi_frontend.py", line 131, in run dispatch_request(req.path_info, req, env) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.4/site-packages/trac/ticket/report.py", line 120, in process_request self._render_confirm_delete(req, db, id) File "/usr/lib/python2.4/site-packages/trac/ticket/report.py", line 209, in _render_confirm_delete req.hdf['report'] = { AttributeError: 'module' object has no attribute 'row'
I have replaced util.row[0] by 'toto' in line 203 in the report.py file and it works fine
Attachments (0)
Change History (9)
comment:1 by , 19 years ago
Description: | modified (diff) |
---|
comment:3 by , 19 years ago
More seriously, what's the exact Trac version you're using, as line 203 in report.py doesn't look like that in 0.9.5 ? (and as Markup said, it works for trunk)
comment:4 by , 19 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Oh, sure, that's another dupe of #2613.
This has been fixed since 0.9.3, please upgrade!
comment:6 by , 19 years ago
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
Version: | 0.9.5 → 0.9.3 |
I`m running 9.0.3 version and I had same the problem
here are my log
SELECT p.value AS __color__, t.milestone AS __group__, (CASE owner WHEN 'daniel' THEN 'font-weight: bold; background: red;' ELSE '' END) AS __style__, t.id AS ticket, summary FROM ticket t,enum p WHERE t.status IN ('new', 'assigned', 'reopened') AND p.name=t.priority AND p.type='priority' ORDER BY t.milestone, p.value, t.severity, t.time
comment:7 by , 19 years ago
I`m running 9.0.3 version and I had same the problem
here are my log (the real log sorry for the bad copy-paste)
Python traceback Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 206, in handler dispatch_request(mpr.path_info, mpr, env) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.4/site-packages/trac/ticket/report.py", line 115, in process_request self._render_confirm_delete(req, db, id) File "/usr/lib/python2.4/site-packages/trac/ticket/report.py", line 198, in _render_confirm_delete req.hdf['report'] = { AttributeError: 'module' object has no attribute 'row'
comment:8 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
If you upgrade to the latest stable version which is 0.9.5 this error will be gone.
(and please, never use 'toto' in an english forum, as it make's it too damn obvious that you are french ;) )