Modify

Opened 7 years ago

Closed 7 years ago

Last modified 13 months ago

#2271 closed defect (invalid)

macro works not

Reported by: didley@… Owned by: TerryBrown
Priority: normal Component: MilestoneCompactMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by rjollos)

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

Attachments (0)

Change History (8)

comment:1 Changed 7 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 7 years ago by TerryBrown

Replying to didley@gmx.de:

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 13 months ago by rjollos (previous) (diff)

comment:3 Changed 7 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 7 years ago by didley@…

(b) just the literal text.

comment:5 Changed 7 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 7 years ago by didley@…

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

comment:7 Changed 7 years ago by TerryBrown

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

comment:8 Changed 13 months ago by rjollos

  • Description modified (diff)

Add Comment

Modify Ticket

Action
as closed .
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.