Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#7545 closed defect (fixed)

[Patch] Trac 0.12 AttributeError: 'NoneType' object has no attribute 'get_node'

Reported by: phanson@… Owned by: Ryan J Ollos
Priority: normal Component: RepoSearchPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

Probably due to new multiple-repo support. This seems to fix it, for now:

in file: search.py

67c67
<         repo = self.env.get_repository(req.authname)
---
>         repo = self.env.get_repository(authname=req.authname)

Attachments (0)

Change History (4)

comment:1 Changed 14 years ago by Ryan J Ollos

Status: newassigned

I'll make a 0.12 branch for the plugin and checkin this change. Is this actually working for you under 0.12?

comment:2 Changed 14 years ago by Ryan J Ollos

(In [8437]) Creating a 0.12 branch from 0.11 version. Refs #7545.

comment:3 Changed 14 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

(In [8438]) Applying fix to call to self.env.get_repository for 0.12 compatibility. Fixes #7545.

comment:4 Changed 14 years ago by Ryan J Ollos

If you get this working under 0.12, please post a note to #7046. Thanks!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.