[Trac-tickets] [The Trac Project] #1170: changing components after deleting unused components results in python exception

The Trac Project noreply at edgewall.com
Fri Jan 28 11:59:50 EST 2005


#1170: changing components after deleting unused components results in python
exception
---------------------------+------------------------------------------------
       Id:  1170           |      Status:  new                                     
Component:  ticket system  |    Modified:  Fri Jan 28 11:59:49 2005                
 Severity:  normal         |   Milestone:                                          
 Priority:  normal         |     Version:  0.8                                     
    Owner:  jonas          |    Reporter:  Markus Bertheau <twanger at bluetwanger.de>
---------------------------+------------------------------------------------
 I installed trac, created a few tickets with the default component
 component1, used trac-admin to create a component "alles" and remove
 component1 and component2, went to a ticket and wanted to change the
 component from component1 to alles, but got the following exception:

 Traceback (most recent call last):
   File "/usr/lib/python2.3/site-packages/trac/core.py", line 525, in
 cgi_start
     real_cgi_start()
   File "/usr/lib/python2.3/site-packages/trac/core.py", line 520, in
 real_cgi_start
     dispatch_request(path_info, args, req, env)
   File "/usr/lib/python2.3/site-packages/trac/core.py", line 435, in
 dispatch_request
     module.run()
   File "/usr/lib/python2.3/site-packages/trac/Module.py", line 44, in run
     self.render()
   File "/usr/lib/python2.3/site-packages/trac/Ticket.py", line 444, in
 render
     self.save_changes (id)
   File "/usr/lib/python2.3/site-packages/trac/Ticket.py", line 372, in
 save_changes
     when=now)
   File "/usr/lib/python2.3/site-packages/trac/Ticket.py", line 139, in
 save_changes
     old_owner = cursor.fetchone()[0]
 TypeError: unsubscriptable object

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/1170>
The Trac Project <>


More information about the Trac-Tickets mailing list