Edgewall Software
Modify

Ticket #1832 (closed defect: duplicate)

Opened 7 years ago

Last modified 7 years ago

Viewing Active Tickets on a newly created project crashes

Reported by: rancor@… Owned by: daniel
Priority: highest Milestone: 0.9
Component: report system Version: devel
Severity: blocker Keywords:
Cc:
Release Notes:
API 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

Change History

comment:1 Changed 7 years ago by anonymous

  • Priority changed from high to highest

comment:2 Changed 7 years ago by jonas

Which version of pysqlite are you using?

Does this still happen with the current trunk version?

comment:3 Changed 7 years ago by rancor@…

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 Changed 7 years ago by anonymous

Test

comment:5 Changed 7 years ago by anonymous

This is another comment

comment:6 Changed 7 years ago by cmlenz

  • Resolution set to duplicate
  • Status changed from new to closed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from daniel. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.