Modify

Opened 7 years ago

Closed 7 years ago

#1761 closed defect (wontfix)

maximum recursion depth exceeded error when enabling navmover

Reported by: jcardona Owned by: athomas
Priority: normal Component: NavMoverPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Trac svn version 5794
Navmover svn version 667

trac.ini

[components]
navmover.* = enabled

[navmover]
<empty>

Bactrace:

File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5794-py2.4.egg/trac/web/api.py", line 339, in send_error
    'text/html')
  File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5794-py2.4.egg/trac/web/chrome.py", line 570, in render_template
    data = self.populate_data(req, data)
  File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5794-py2.4.egg/trac/web/chrome.py", line 500, in populate_data
    d['chrome'].update(req.chrome)
  File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5794-py2.4.egg/trac/web/api.py", line 167, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5794-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.11dev_r5794-py2.4.egg/trac/web/chrome.py", line 379, 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.11dev_r5794-py2.4.egg/trac/web/chrome.py", line 78, in add_stylesheet
    add_link(req, 'stylesheet', href(filename), mimetype=mimetype)
  File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5794-py2.4.egg/trac/web/chrome.py", line 54, in add_link
    linkset = req.chrome.setdefault('linkset', set())
  File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5794-py2.4.egg/trac/web/api.py", line 167, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5794-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.11dev_r5794-py2.4.egg/trac/web/chrome.py", line 379, 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

Attachments (1)

navmover.log (155.2 KB) - added by jcardona 7 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 follow-up: Changed 7 years ago by athomas

Why is your [navmover] section empty?

Also, your backtrace is incomplete.

comment:2 in reply to: ↑ 1 Changed 7 years ago by jcardona

Replying to athomas:

Why is your [navmover] section empty?

I was trying to rule out any misconfiguration on the [navmover] section. But I get the same error when I paste the example [navmover] section from the plugin documentation page.

[components]
navmover.* = enabled

[navmover]
move_items = settings,logout,account
move_to = mainnav
newblog = New Blog Post
newblog.url = http://trac-hacks.org/blog/new


Also, your backtrace is incomplete.

Full log attached to ticket.

Changed 7 years ago by jcardona

comment:3 Changed 7 years ago by jcardona

NavAddPlugin works in the same configuration, and does what I need. I have no need to see this bug resolved.

comment:4 Changed 7 years ago by athomas

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

Add Comment

Modify Ticket

Action
as 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.