Opened 9 years ago

Closed 9 years ago

# macro works not

Reported by: Owned by: didley@… TerryBrown normal MilestoneCompactMacro normal 0.11

I put the line [[MilestoneCompact()]] in a wiki page after submit changes there is just the line [[MilestoneCompact()]].

### comment:1 Changed 9 years ago by didley@…

I have to correct the view after submit changes there I can see only

[[MilestoneCompact()]]


### comment:2 in reply to: ↑ description Changed 9 years ago by TerryBrown

I put the line [[MilestoneCompact()]] in a wiki page after submit changes there is just the line [[MilestoneCompact()]].

How did you install the macro? Try copying milestonecompactmacro/0.11/MilestoneCompactMacro.py

to the plugins directory of your Trac environment. Also, when you go to the WikiMacros page of your trac's wiki, [[MilestoneCompact]] should be listed under Available macros, it appears at the bottom of the list for me.

If this doesn'y help, please tell me are you seeing (a) the red box with the "Error: Failed to load processor..." message, or (b) just the literal text [[MilestoneCompact()]]?

-Terry Brown

Last edited 3 years ago by rjollos (previous) (diff)

### comment:3 Changed 9 years ago by didley@…

I did it install as you described. Under Available macros I can see just the literal text. The same like my wiki pages. Under plugins I can see the MilestoneCompactmacro and it's enabled.

didley

### comment:4 Changed 9 years ago by didley@…

(b) just the literal text.

### comment:5 Changed 9 years ago by TerryBrown

I'm sorry I don't know what else to suggest. With the macro installed in the plugins directory I have a wiki page with the following content:

= Milestones =

[[MilestoneCompact()]]

== Same information in a table ==

[[MilestoneCompact(table)]]


and it works just as expected (0.11 - that's important).

What I don't understand is why, when I put [[MacroThatDoesNotExist()]] in a page, I get an error, but you're saying you just get the literal text. I assume you're not enclosing it in {{{ in any way.

### comment:6 Changed 9 years ago by didley@…

Thanx for your help. I changed the Trac revision also and now it works.

### comment:7 Changed 9 years ago by TerryBrown

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

### comment:8 Changed 3 years ago by rjollos

• Description modified (diff)