Modify

Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#4141 closed defect (fixed)

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

Reported by: lobrien@… Owned by: Russ Tyndall
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 (0)

Change History (3)

comment:1 Changed 15 years ago by anonymous

Keywords: ticketwebuiaddon added
Trac Release: 0.100.11

comment:2 Changed 15 years ago by Russ Tyndall

(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)

comment:3 Changed 15 years ago by Russ Tyndall

Resolution: fixed
Status: newclosed

Please reopen if you continue to have trouble

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Russ Tyndall.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.