Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#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 Christian Boos)

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 Christian Boos, 18 years ago

Description: modified (diff)

(and please, never use 'toto' in an english forum, as it make's it too damn obvious that you are french ;) )

comment:2 by Markus Tacker <m@…>, 18 years ago

Works for me on r3379

comment:3 by Christian Boos, 18 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 Christian Boos, 18 years ago

Resolution: duplicate
Status: newclosed

Oh, sure, that's another dupe of #2613.

This has been fixed since 0.9.3, please upgrade!

comment:5 by Christian Boos, 18 years ago

oops, sorry, that was as Markus said, too much Trac for today…

comment:6 by anonymous, 18 years ago

Resolution: duplicate
Status: closedreopened
Version: 0.9.50.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 Renaud Kilian, 18 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 Markus Tacker <m@…>, 18 years ago

Resolution: fixed
Status: reopenedclosed

If you upgrade to the latest stable version which is 0.9.5 this error will be gone.

comment:9 by Emmanuel Blot, 18 years ago

#4082 marked as a dup.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.