Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#7545 closed defect (fixed)

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

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


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

in file:

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

Attachments (0)

Change History (4)

comment:1 Changed 6 years ago 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?

comment:2 Changed 6 years ago by rjollos

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

comment:3 Changed 6 years ago by rjollos

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

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

comment:4 Changed 6 years ago by rjollos

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

Add Comment

Modify Ticket

as closed The owner will remain rjollos.
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.