Opened 11 years ago

Closed 11 years ago

#409 closed defect (fixed)

ModPythonRequest object has no attribute 'href'

Reported by: JamesMills Owned by: coderanger
Priority: highest Component: CtxtnavAddPlugin
Severity: blocker Keywords: ModPython, href
Cc: Trac Release: 0.9



I use ModPython to run my instances of Trac. Trac 0.9.5

Just installed the latest version of this plugin and upon loading any page results in:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/", line 206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.4/site-packages/trac/web/", line 139, in dispatch_request
  File "/usr/lib/python2.4/site-packages/trac/web/", line 100, in dispatch
    chrome.populate_hdf(req, chosen_handler)
  File "/usr/lib/python2.4/site-packages/trac/web/", line 250, in populate_hdf
    for category, name, text in contributor.get_navigation_items(req):
  File "build/bdist.linux-i686/egg/ctxtnavadd/", line 27, in get_navigation_items
AttributeError: 'ModPythonRequest' object has no attribute 'href'

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by coderanger

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

Fixed in 824. Just make sure to use the 0.9 branch.

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.