Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 12 years ago

#1832 closed defect (duplicate)

Viewing Active Tickets on a newly created project crashes

Reported by: rancor@… Owned by: daniel
Priority: highest Milestone:
Component: report system Version: devel
Severity: blocker Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I just created a new project and went to view active tickets and I get an "oops"

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/cgi_frontend.py", line 117, in run
    dispatch_request(req.path_info, req, env)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 432, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 292, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/ticket/report.py", line 127, in process_request
    resp = self._render_view(req, db, id)
  File "/usr/lib/python2.4/site-packages/trac/ticket/report.py", line 283, in _render_view
    for col in cols:
TypeError: iteration over non-sequence

If you create a ticket then this problem goes away for this query only "Active Tickets".

After you create a ticket, and assign it the query "Assigned, Active Tickets by Owner" Still crashes:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/cgi_frontend.py", line 117, in run
    dispatch_request(req.path_info, req, env)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 432, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 292, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/ticket/report.py", line 127, in process_request
    resp = self._render_view(req, db, id)
  File "/usr/lib/python2.4/site-packages/trac/ticket/report.py", line 283, in _render_view
    for col in cols:
TypeError: iteration over non-sequence

Attachments (0)

Change History (7)

comment:1 by anonymous, 19 years ago

Priority: highhighest

comment:2 by Jonas Borgström, 19 years ago

Which version of pysqlite are you using?

Does this still happen with the current trunk version?

comment:3 by rancor@…, 19 years ago

Yes, I got from the svn trunk at the time (July 24, 2005 @ ~5:30pm EDT). The pysqlite version I have installed is 2.0.2.

comment:4 by anonymous, 19 years ago

Test

comment:5 by anonymous, 19 years ago

This is another comment

comment:6 by Christopher Lenz, 19 years ago

Resolution: duplicate
Status: newclosed

This is a duplicate of #1869, which has been fixed in [2048].

comment:7 by Christian Boos, 12 years ago

Milestone: 0.9

(clearing report:35)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel 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.