Modify

Opened 10 years ago

Closed 10 years ago

#1128 closed defect (fixed)

Macro TOC Error: 'Environment' object has no attribute 'env'

Reported by: bobbens Owned by: Christian Boos
Priority: normal Component: TocMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Upgrading trac svn to r4612 I find that it now gives me the following error:

Error: Macro TOC(None) failed

'Environment' object has no attribute 'env'

Before this it wasn't working but didn't give any errors, but now it just seems to be completely broken.

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by Christian Boos

Owner: changed from Alec Thomas to Christian Boos

The 0.10 macro already contains a bunch of # TODO 0.11 comments. I'll contribute a complete 0.11 version this evening.

comment:2 Changed 10 years ago by Christian Boos

Resolution: fixed
Status: newclosed

Ok, the TocMacro 0.11 branch is now compatible with Trac 0.11dev (>= [T2621], i.e. bleeding edge as of this writing ;) ).

I'll go through the other TocMacro tickets to see whether those issues are also present in the new version.

Modify Ticket

Action
as closed The owner will remain Christian Boos.
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.