Opened 12 years ago

Closed 12 years ago

#416 closed defect (fixed)

ModPython req object has no attribute href

Reported by: James Mills Owned by: Noah Kantrowitz
Priority: highest Component: WikiRenamePlugin
Severity: blocker Keywords: ModPython, req, href
Cc: Trac Release: 0.9


Thw WikiRenamePlugin throws the following exception:

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 32, in get_navigation_items
  File "build/bdist.linux-i686/egg/ctxtnavadd/", line 77, in _make_js
  File "build/bdist.linux-i686/egg/wikirename/", line 31, in get_ctxtnav_adds
AttributeError: 'ModPythonRequest' object has no attribute 'href'

At least I assume it's the WikiRenamePlugin...

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by Noah Kantrowitz

Resolution: fixed
Status: newclosed

(In [830]) Removing more trunk-isms. Closes #416.

PS: Thanks to JamesMills for being so patient with this.

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.