Modify

Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#4141 closed defect (fixed)

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

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

Change History (3)

comment:1 Changed 6 years ago by anonymous

  • Keywords ticketwebuiaddon added
  • Trac Release changed from 0.10 to 0.11

comment:2 Changed 6 years ago 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)

comment:3 Changed 6 years ago by bobbysmith007

  • Resolution set to fixed
  • Status changed from new to closed

Please reopen if you continue to have trouble

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from bobbysmith007. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.