[Trac-tickets] [The Trac Project] #1045: saving changes in ticket gives 'unsubscriptable object' error

The Trac Project noreply at edgewall.com
Mon Dec 13 10:44:55 EST 2004


#1045: saving changes in ticket gives 'unsubscriptable object' error
---------------------+------------------------------------------------------
       Id:  1045     |      Status:  new                     
Component:  general  |    Modified:  Mon Dec 13 10:44:55 2004
 Severity:  major    |   Milestone:                          
 Priority:  normal   |     Version:  0.8                     
    Owner:  jonas    |    Reporter:  aadis                   
---------------------+------------------------------------------------------
 I'm trying to save changes to one particular ticket. Whenever I try to
 save any editing changes for only this ticket, I get the following:

 {{{
 Oops...
 Trac detected an internal error:

 unsubscriptable object

 If you think this really should work and you can reproduce it. Then you
 should consider to report this problem to the Trac team.

 Go to http://trac.edgewall.com/ and create a new ticket where you describe
 the problem, how to reproduce it. Don't forget to include the python
 traceback found below.

 TracGuide — The Trac User and Administration Guide
 Python traceback

 Traceback (most recent call last):
   File "/usr/lib/python2.3/site-packages/trac/ModPythonHandler.py", line
 194, in handler
     core.dispatch_request(mpr.path_info, args, mpr, 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 143, in
 save_changes
     self['owner'] = cursor.fetchone()[0]
 TypeError: unsubscriptable object

 }}}

 I'm running trac 0.8 on Debian Sarge RC2, apache2 with mod_python support.

 The particular ticket details are:
 {{{
 sqlite> select * from ticket where id=3;
 3|1097681777|1097681777|dicom
 server|normal|P2|nitin|tapesh|||0.90|0.90+|new||Implementation Version
 Name & Class ID should be changed|Dicoms saved by DicomServer should
 change the following two tags:
 0002,0012,Implementation Class UID
 0002,0013,Implementation Version Name

 Nitin, lets discuss what should we change this to?

 - Tapesh|
 sqlite>
 }}}

 I can change the ticket details from the SQL backend.

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


More information about the Trac-Tickets mailing list