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: cboos
Priority: normal Component: TocMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11


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 cboos

  • Owner changed from athomas to cboos

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 cboos

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

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.

Add Comment

Modify Ticket

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