Opened 11 years ago

Closed 11 years ago

#1339 closed defect (invalid)

removeTree does not exist.

Reported by: Prasand J. Owned by: Noah Kantrowitz
Priority: normal Component: NavHiderPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


The code does not fail to hide the items, but on every page load the same error is generated four times. With four items being hidden on my mainnav, I imagine it's an error specific to that navigation bar. The error output is:

2007-03-15 02:13:39,649 Trac[main] ERROR: 'NoneType' object has no attribute 'removeTree'
Traceback (most recent call last):
  File "/home/username/packages/lib/python2.3/site-packages/trac/web/", line 252, in dispatch
  File "/home/username/packages/lib/python2.3/site-packages/trac/web/", line 269, in _post_process_request
  File "/home/username/packages/lib/python2.3/site-packages/TracNavHider-1.0-py2.3.egg/navhider/", line 28, in post_process_request
    self._remove_items(req, 'mainnav')
  File "/home/username/packages/lib/python2.3/site-packages/TracNavHider-1.0-py2.3.egg/navhider/", line 40, in _remove_items
AttributeError: 'NoneType' object has no attribute 'removeTree'

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by Prasand J.

Resolution: invalid
Status: newclosed

Error is created by the BatchModifyPlugin (see ticket #1337).

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.