Opened 15 years ago
Closed 15 years ago
#9057 closed defect (cantfix)
KeyError: 'status'
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | |
Component: | general | Version: | 0.11.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /ticket/1128
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'id': u'1128'}
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2) Gecko/20100115 Firefox/3.6
System Information
Trac | 0.11.1
|
Python | 2.5.2 (r252:60911, Jan 24 2010, 14:53:14) [GCC 4.3.2]
|
setuptools | 0.6c12
|
SQLite | 3.5.9
|
pysqlite | 2.4.1
|
Genshi | 0.5.1
|
Subversion | 1.5.1 (r32289)
|
RPC | 1.0.6
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 444, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 205, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.5/site-packages/trac/ticket/web_ui.py", line 185, in process_request return self._process_ticket_request(req) File "/usr/lib/python2.5/site-packages/trac/ticket/web_ui.py", line 452, in _process_ticket_request ticket = Ticket(self.env, id, version=version) File "/usr/lib/python2.5/site-packages/trac/ticket/model.py", line 48, in __init__ self._fetch_ticket(tkt_id, db) File "/usr/lib/python2.5/site-packages/trac/ticket/model.py", line 132, in _fetch_ticket if self.values['status'] == 'closed': KeyError: 'status'
I checked the database:
sqlite> select status from ticket where id=993; Response: closed
sqlite> select * from enum limit 10; status|new|1 status|assigned|2 status|reopened|3 status|closed|4 resolution|fixed|1 resolution|invalid|2 resolution|wontfix|3 resolution|duplicate|4 resolution|works4me|5 priority|Continu:blocker/ others can't!!!|3
Please help (or give tips)
Attachments (0)
Change History (2)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Resolution: | → cantfix |
---|---|
Status: | new → closed |
Seeing #9058, this also smells like a PluginIssue… Please check with that plugin's author.
This errors dissapears when activating the agile 0.3 plug-in for trac, explained in this error:
http://trac.edgewall.org/ticket/9058
The roadmap page gives another error when disabled, same as this: KeyError: 'status'