Ticket #4141 (closed defect: fixed)

Opened 5 years ago

Last modified 2 years ago

Post-install timingandestimation & scrum burndown: ticketwebuiaddon causes stack overflow

Reported by: lobrien@knowing.net Assigned to: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords: ticketwebuiaddon
Cc: Trac Release: 0.11

Description

I installed the timingandestimation plugin and the Scrum burndown plugin per http://stuq.nl/weblog/2008-11-04/scrum-burndown-plugin-19-released

Trac admin looks okay, admin/general/plugin shows Trac 0.11, TracBurndown? 1.9, and timingandestimationplugin 0.7.4

I have new Management and Burndown tabs.

When I attempt to view a ticket or create a new ticket, I receive the following dump:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/api.py", line 339, in send_error
    'text/html')
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/chrome.py", line 684, in render_template
    data = self.populate_data(req, data)
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/chrome.py", line 592, in populate_data
    d['chrome'].update(req.chrome)
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/api.py", line 168, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/util/compat.py", line 133, in newfunc
    return func_(*(args + fargs), **dict(kwargs, **fkwargs))
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/chrome.py", line 460, in prepare_request
    for category, name, text in contributor.get_navigation_items(req):
  File "build/bdist.linux-i686/egg/timingandestimationplugin/ticket_webui.py", line 26, in get_navigation_items
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/chrome.py", line 92, in add_script
    scriptset = req.chrome.setdefault('scriptset', set())
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/api.py", line 168, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/util/compat.py", line 133, in newfunc
    return func_(*(args + fargs), **dict(kwargs, **fkwargs))

...snip massive stack trace ...

  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/util/compat.py", line 133, in newfunc
    return func_(*(args + fargs), **dict(kwargs, **fkwargs))
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/chrome.py", line 446, in prepare_request
    chrome['icon'] = self.get_icon_data(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/chrome.py", line 516, in get_icon_data
    icon_src = icon_abs_src = self.env.project_icon
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/config.py", line 409, in __get__
    value = self.accessor(section, self.name, self.default)
  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/config.py", line 276, in get
    if self.config.parser.has_option(self.name, name):
  File "/usr/lib/python2.4/ConfigParser.py", line 340, in has_option
    if not section or section == DEFAULTSECT:
RuntimeError: maximum recursion depth exceeded in cmp

Disabling TicketWebUiAddon? in admin allows me to view tickets again.

Attachments

Change History

11/22/08 03:06:14 changed by anonymous

  • release changed from 0.10 to 0.11.
  • keywords set to ticketwebuiaddon.

11/25/08 23:39:56 changed by bobbysmith007

(In [4874]) re #4141 re #4111

fixed stack overflow that was caused by a change in how INavigationProvider worked. This is now using genshi filters which should allow it to work a bit better (aka no stack overflow)

11/25/08 23:40:41 changed by bobbysmith007

  • status changed from new to closed.
  • resolution set to fixed.

Please reopen if you continue to have trouble


Add/Change #4141 (Post-install timingandestimation & scrum burndown: ticketwebuiaddon causes stack overflow)




Change Properties
Action