Opened 10 years ago

Closed 10 years ago

#1339 closed defect (invalid)

removeTree does not exist.

Reported by: prasand Owned by: coderanger
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 10 years ago by prasand

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

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

Add Comment

Modify Ticket

as closed The owner will remain coderanger.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.