Opened 17 years ago
Last modified 14 years ago
#936 closed defect
without any tabs inserted it doesnt work when logged in — at Version 1
Reported by: | anonymous | Owned by: | Russ Tyndall |
---|---|---|---|
Priority: | normal | Component: | TracTabPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description (last modified by )
Hi,
when logged in, and no tabs added to the ini (as of a fresh install and activation of the plugin via the webinterface as I did) I get the following backtrace:
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 209, in dispatch chrome.populate_hdf(req, chosen_handler) File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line 337, in populate_hdf req.hdf['chrome.nav.%s.%s' % (category, name)] = text File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 197, in __setitem__ self.set_value(name, value, True) File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 245, in set_value add_value(name, value) File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 223, in add_value set_unicode(prefix, unicode(value)) File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 213, in set_unicode self.hdf.setValue(prefix.encode('utf-8'), value.encode('utf-8')) Error: Traceback (innermost last): File "neo_hdf.c", line 805, in hdf_set_value() File "neo_hdf.c", line 795, in _set_value() AssertError: Unable to set Empty component chrome.nav.mainnav.
However when adding tabs, it works. It would be nice if it does work too without any configured tabs
Note: See
TracTickets for help on using
tickets.
Fix formatting.