Ticket #936 (new defect)

Opened 2 years ago

Last modified 1 year ago

without any tabs inserted it doesnt work when logged in

Reported by: anonymous Assigned to: bobbysmith007
Priority: normal Component: TracTabPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.10

Description (Last modified by coderanger)

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

Attachments

Change History

(follow-up: ↓ 2 ) 11/24/06 22:25:48 changed by coderanger

  • description changed.

Fix formatting.

(in reply to: ↑ 1 ; follow-up: ↓ 3 ) 11/19/07 13:43:55 changed by alex@frei-welt.de

Hi,

Replying to coderanger:

Fix formatting.

What do you mean by this?

(in reply to: ↑ 2 ) 11/19/07 20:47:11 changed by coderanger

Replying to alex@frei-welt.de:

Hi, Replying to coderanger:

Fix formatting.

What do you mean by this?

It means the author didn't actually format the description to be readable. I corrected it.


Add/Change #936 (without any tabs inserted it doesnt work when logged in)




Change Properties
Action