Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1980 closed defect (fixed)

Internal Error again

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version: 0.8.2
Severity: blocker Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Matthew Good)

when I submit a ticket

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/core.py", line 531, in cgi_start
    real_cgi_start()
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 526, in real_cgi_start
    dispatch_request(path_info, args, req, env)
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 441, 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 302, in render
    self.create_ticket()
  File "/usr/lib/python2.3/site-packages/trac/Ticket.py", line 287, in create_ticket
    owner = cursor.fetchone()[0]
TypeError: unsubscriptable object

Attachments (0)

Change History (2)

comment:1 by Matthew Good, 19 years ago

Description: modified (diff)

Fix the exception block in description.

comment:2 by Matthew Good, 19 years ago

Resolution: fixed
Status: newclosed

It looks like somehow the value of the "component" field for the ticket you're trying to add is not an existant component in your project. The only values in the component drop-down should be valid component names, so I'm not entirely sure how this happened, but due to some refactoring of the Trac ticket model it doesn't look like this should be a problem in the trunk.

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.