Modify

Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#2926 closed defect (invalid)

Infinite recursion in Trac 0.11b1

Reported by: conny@… Owned by: Alec Thomas
Priority: normal Component: NavMoverPlugin
Severity: major Keywords:
Cc: Trac Release: 0.8

Description

When my newly cooked .egg is copied to the env/plugins/ directory:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/api.py", line 339, in send_error
    'text/html')
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 652, in render_template
    data = self.populate_data(req, data)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 560, in populate_data
    d['chrome'].update(req.chrome)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-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.11b1-py2.4.egg/trac/util/compat.py", line 129, in newfunc
    return func_(*(args + fargs), **dict(kwargs, **fkwargs))
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 439, in prepare_request
    for category, name, text in contributor.get_navigation_items(req):
  File "build/bdist.linux-i686/egg/navmover/navmover.py", line 28, in get_navigation_items
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 79, in add_stylesheet
    add_link(req, 'stylesheet', href(filename), mimetype=mimetype)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 55, in add_link
    linkset = req.chrome.setdefault('linkset', set())
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-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.11b1-py2.4.egg/trac/util/compat.py", line 129, in newfunc
    return func_(*(args + fargs), **dict(kwargs, **fkwargs))
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 439, in prepare_request
    for category, name, text in contributor.get_navigation_items(req):
  File "build/bdist.linux-i686/egg/navmover/navmover.py", line 28, in get_navigation_items
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 79, in add_stylesheet
    add_link(req, 'stylesheet', href(filename), mimetype=mimetype)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 55, in add_link
    linkset = req.chrome.setdefault('linkset', set())
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/api.py", line 168, in __getattr__
    value = self.callbacks[name](self)
....(and so on and so on)

Attachments (0)

Change History (3)

comment:1 Changed 17 years ago by conny@…

..and finally

  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 400, in prepare_request
    self.log.debug('Prepare chrome data for request')
  File "logging/__init__.py", line 955, in debug
  File "logging/__init__.py", line 1078, in _log
  File "logging/__init__.py", line 1064, in makeRecord
  File "logging/__init__.py", line 246, in __init__
  File "threading.py", line 677, in currentThread
    return _DummyThread()
RuntimeError: maximum recursion depth exceeded

comment:2 Changed 17 years ago by Alec Thomas

Resolution: invalid
Status: newclosed

NavMoverPlugin will not work with Trac 0.11 and is unlikely to ever do so (unless somebody provides patches).

comment:3 Changed 17 years ago by anonymous

Trac Release: 0.110.8

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
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.