Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

#11745 closed defect (cantfix)

KeyError: 'custom'

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

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{}

User agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.103 Safari/537.36

System Information

Trac 1.0
Babel 0.9.6 (translations unavailable)
Docutils 0.8.1
Genshi 0.6.1 (without speedups)
mod_python 3.3.1
MySQL server: "5.5.38-0ubuntu0.12.04.1", client: "5.5.38", thread-safe: 1
MySQLdb 1.2.3
Pygments 1.4
Python 2.7.3 (default, Feb 27 2014, 20:09:21)
[GCC 4.6.3]
pytz 2011k
setuptools 5.7
Subversion 1.6.17 (r1128011)
jQuery 1.7.2

Enabled Plugins

TracAccountManager 0.5dev-r14078
TracDiscussion 0.9dev-r14140
TracDownloads 0.3dev-r12139
TracGanttCalendarPlugin 0.6.3-r0

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.7/dist-packages/TracGanttCalendarPlugin-0.6.3_r0-py2.7.egg/ganttcalendar/ticketgantt.py", line 496, in process_request
    any(f['name'] == sorted_field and f['custom'] for f in fields):
  File "/usr/local/lib/python2.7/dist-packages/TracGanttCalendarPlugin-0.6.3_r0-py2.7.egg/ganttcalendar/ticketgantt.py", line 496, in <genexpr>
    any(f['name'] == sorted_field and f['custom'] for f in fields):
KeyError: 'custom'

Attachments (0)

Change History (1)

comment:1 by Jun Omae, 10 years ago

Release Notes: modified (diff)
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.