Modify

Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#2926 closed defect (invalid)

Infinite recursion in Trac 0.11b1

Reported by: conny@… Owned by: athomas
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 7 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 7 years ago by athomas

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

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

comment:3 Changed 7 years ago by anonymous

  • Trac Release changed from 0.11 to 0.8

Add Comment

Modify Ticket

Action
as closed The owner will remain athomas.
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.