Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7061 closed defect (fixed)

Does not work with Trac 0.12dev-r9611

Reported by: rjollos Owned by: anonymous
Priority: normal Component: ChangeLogMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

This macro does not work with Trac 0.12dev-r9611, presumably because of the multirepository features.

The error message I'm seeing when trying to use the macro with is:

Error: Macro ChangeLog(/,2) failed

'NoneType' object has no attribute 'get_youngest_rev'

Attachments (0)

Change History (7)

comment:1 Changed 5 years ago by rjollos

  • Owner changed from rjollos to anonymous
  • Status changed from new to assigned

I've added a 0.11 branch with the install_requirement trac <= 0.11.7. This seems to be effective because on starting Trac 0.11.7 with the log level set to INFO, I get

06:15:59 PM Trac[loader] ERROR: Skipping "ChangeLogMacro 0.2-r7922":
(version conflict "VersionConflict: (Trac 0.12dev-r9611
(/home/rjollos/Workspace/trac012xdev/trac-trunk),
Requirement.parse('Trac<=0.11.7'))")

and the macro does not appear on the plugins admin panel.

comment:2 Changed 5 years ago by rjollos

(In [7923]) Add install_requires trac <= 0.11.7 for 0.11 branch. Refs #7061.

comment:3 Changed 5 years ago by rjollos

(In [7924]) Add install_requires trac >= 0.12 on trunk. Refs #7061.

comment:4 Changed 5 years ago by rjollos

(In [7925]) Merged [7924] from trunk into 0.12 branch. Refs #7061.

comment:6 Changed 5 years ago by rjollos

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

(In [7926]) Make compatible with default repository on Trac 0.12 and set minimum required version to 0.12dev. Fixes #7061.

comment:7 Changed 5 years ago by rjollos

(In [7927]) Merged [7926] from trunk into 0.12 branch. Refs #7061.

Add Comment

Modify Ticket

Action
as closed The owner will remain anonymous.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.