id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
8679	Error: Macro TracJSGanttChart(milestone=Test 3) failed	falkb	ChrisNelson	The error logging is\r\n{{{\r\n2011-04-06 16:54:02,874 Trac[formatter] ERROR: Macro TracJSGanttChart(milestone=Test 3) failed: \r\nTraceback (most recent call last):\r\n  File "build\\bdist.win32\\egg\\trac\\wiki\\formatter.py", line 717, in _macro_formatter\r\n    return macro.process(args, in_paragraph=True)\r\n  File "build\\bdist.win32\\egg\\trac\\wiki\\formatter.py", line 304, in process\r\n    text = self.processor(text)\r\n  File "build\\bdist.win32\\egg\\trac\\wiki\\formatter.py", line 291, in _macro_processor\r\n    text)\r\n  File "build\\bdist.win32\\egg\\tracjsgantt\\tracjsgantt.py", line 720, in expand_macro\r\n    tasks = self._add_tasks(options)\r\n  File "build\\bdist.win32\\egg\\tracjsgantt\\tracjsgantt.py", line 693, in _add_tasks\r\n    self._schedule_tasks()\r\n  File "build\\bdist.win32\\egg\\tracjsgantt\\tracjsgantt.py", line 417, in _schedule_tasks\r\n    t['calc_start'] = _start(t)\r\n  File "build\\bdist.win32\\egg\\tracjsgantt\\tracjsgantt.py", line 377, in _start\r\n    finish = datetime.strptime(_finish(ticket), self.pyDateFormat)\r\n  File "build\\bdist.win32\\egg\\tracjsgantt\\tracjsgantt.py", line 397, in _finish\r\n    elif ticket[self.fields['succ']] != []:\r\nKeyError: None\r\n2011-04-06 16:54:04,013 Trac[main] ERROR: Internal Server Error: \r\nTraceback (most recent call last):\r\n  File "build\\bdist.win32\\egg\\trac\\web\\main.py", line 511, in _dispatch_request\r\n    dispatcher.dispatch(req)\r\n  File "build\\bdist.win32\\egg\\trac\\web\\main.py", line 237, in dispatch\r\n    resp = chosen_handler.process_request(req)\r\n  File "build\\bdist.win32\\egg\\estimationtools\\utils.py", line 74, in process_request\r\n    chart = opener.open(url.encode('utf-8'))\r\n  File "D:\\BITNAM~1.2\\apache2\\bin\\lib\\urllib2.py", line 387, in open\r\n    response = meth(req, response)\r\n  File "D:\\BITNAM~1.2\\apache2\\bin\\lib\\urllib2.py", line 498, in http_response\r\n    'http', request, response, code, msg, hdrs)\r\n  File "D:\\BITNAM~1.2\\apache2\\bin\\lib\\urllib2.py", line 425, in error\r\n    return self._call_chain(*args)\r\n  File "D:\\BITNAM~1.2\\apache2\\bin\\lib\\urllib2.py", line 360, in _call_chain\r\n    result = func(*args)\r\n  File "D:\\BITNAM~1.2\\apache2\\bin\\lib\\urllib2.py", line 506, in http_error_default\r\n    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)\r\nHTTPError: HTTP Error 414: Request-URI Too Large\r\n}}}\r\n\r\n1. my configuration is:\r\n{{{\r\n[trac-jsgantt]\r\n# To work with Timing and Estimation for percent complete\r\nfields.estimate = estimatedhours\r\nfields.worked = totalhours\r\n# Each unit in estimate is 1/8 of a day\r\ndays_per_estimate = 0.125\r\n# To work with Master Tickets for dependencies\r\n#fields.pred = blockedby\r\n#fields.succ = blocking\r\n# To work with Subtickets for parent/child relationships\r\n#fields.parent = parents\r\n# Custom fields for start and due dates\r\n#fields.start = startime\r\n#fields.finish = finishtime\r\n#\r\ndate_format = %Y-%m-%d\r\nmilestone_type = milestone\r\n}}}\r\n\r\nI just use the Plugin Timing And Estimation. Master Tickets and Subtickets are not desired currently.\r\n\r\nMy milestone has about 150 tickets.\r\n\r\nMy system is Bitnami Trac Stack 0.12.2 via Apache on Windows2003 Server.	defect	closed	normal	TracJsGanttPlugin	normal	fixed			0.11
