Edgewall Software
Modify

Opened 7 years ago

Closed 7 years ago

#12712 closed defect (cantfix)

KeyError: u'component'

Reported by: braveswang@… Owned by:
Priority: normal Milestone:
Component: general Version: 1.2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /wiki/TC_TT0, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{u'fulldetails': u'False',
 u'mode': u'tree_table',
 'page': u'TC_TT0',
 u'planid': u'-1'}

User agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0

System Information

Trac 1.2
Docutils 0.13.1
Genshi 0.7 (with speedups)
mod_wsgi 3.2 (WSGIProcessGroup WSGIApplicationGroup osts.waterthink.com|/trac)
MySQL server: "5.7.17", client: "5.1.72", thread-safe: 1
MySQLdb 1.2.3c1
Pygments 2.2.0
Python 2.6.6 (r266:84292, Aug 18 2016, 15:13:37)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]
pytz 2010h
RPC 1.1.6
setuptools 34.3.0
Textile 2.3.6
jQuery 1.11.3
jQuery UI 1.11.4
jQuery Timepicker 1.5.5

Enabled Plugins

TestManager 1.7.1
TracGenericClass 1.1.5
TracGenericWorkflow 1.0.4
TracXMLRPC 1.1.6

Interface Customization

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 613, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 273, in dispatch
    iterable=chrome.use_chunked_encoding)
  File "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 1123, in render_template
    stream |= self._filter_stream(req, method, filename, stream, data)
  File "/usr/lib64/python2.6/site-packages/genshi/core.py", line 133, in __or__
    return Stream(_ensure(function(self)), serializer=self.serializer)
  File "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 1436, in inner
    data)
  File "/var/www/trac/gdpplus/plugins/TestManager-1.7.1-py2.6.egg/testmanager/wiki.py", line 153, in filter_stream
    return self._catalog_wiki_view(req, formatter, page_name, stream)
  File "/var/www/trac/gdpplus/plugins/TestManager-1.7.1-py2.6.egg/testmanager/wiki.py", line 238, in _catalog_wiki_view
    HTML(self._build_catalog_tree(formatter.context, page_name, mode, fulldetails, table_columns, table_columns_map, custom_ctx)),
  File "/var/www/trac/gdpplus/plugins/TestManager-1.7.1-py2.6.egg/testmanager/wiki.py", line 1109, in _build_catalog_tree
    text += self._render_subtree_as_table(context, None, components, ind, 0, table_columns, table_columns_map, custom_ctx, fulldetails)
  File "/var/www/trac/gdpplus/plugins/TestManager-1.7.1-py2.6.egg/testmanager/wiki.py", line 1439, in _render_subtree_as_table
    text += self._render_testcases_as_table(context, planid, cmtData, ind, level, table_columns, table_columns_map, custom_ctx, fulldetails)
  File "/var/www/trac/gdpplus/plugins/TestManager-1.7.1-py2.6.egg/testmanager/wiki.py", line 1508, in _render_testcases_as_table
    text += self._get_custom_fields_columns(tc, table_columns, table_columns_map, custom_ctx['testcase'][1])
  File "/var/www/trac/gdpplus/plugins/TestManager-1.7.1-py2.6.egg/testmanager/wiki.py", line 1841, in _get_custom_fields_columns
    if table_columns_map[f['name']]['visible'] == 'True':
KeyError: u'component'

Attachments (0)

Change History (1)

comment:1 by Jun Omae, 7 years ago

Milestone: 1.2.1
Resolution: cantfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.