Ticket #7545 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

Reported by: phanson@gmail.com Assigned to: rjollos
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

Change History

08/24/10 07:56:14 changed by rjollos

  • status changed from new to assigned.

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

08/24/10 07:59:03 changed by rjollos

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

08/24/10 08:01:38 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to fixed.

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

08/24/10 08:05:17 changed by rjollos

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


Add/Change #7545 ([Patch] Trac 0.12 AttributeError: 'NoneType' object has no attribute 'get_node')




Change Properties
Action