Opened 15 years ago
Closed 15 years ago
#6147 closed defect (fixed)
Anchor with Trac 0.11.5 and Python 2.5
Reported by: | Myriam | Owned by: | Dmitri K |
---|---|---|---|
Priority: | normal | Component: | AnchorMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
With Trac 0.10 and Python 2.4, the plugin worked perfectly. With Trac 0.11.5 and Python 2.5, I have just "No macro or processor named 'Anchor' found" while I have to copy the file Anchor.py in macro repository (C:\Python25\Lib\plugins). I also tried by copying it in a local directory unsuccessfully. :( Can anybody help me?
Attachments (0)
Change History (4)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Yes. I also tried by copying in C:\Python25\Lib\plugins unsuccessfully.
Other plugins with a unique file .py (WikiCalendar) not functioning, while some work very well (ColorMacro).
comment:3 follow-up: 4 Changed 15 years ago by
I just started developing macros, and I have found that simply changing some indenting of the code will result in a "No macro found" error. It (python?) seems excessively sensitive to indentation to the extent that indenting a line by 3 rather than 4 chars will make the macro not work for me.
I'm not really sure what is going on, but that might be the same issue you are experiencing.
comment:4 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to rjollos:
I just started developing macros, and I have found that simply changing some indenting of the code will result in a "No macro found" error. It (python?) seems excessively sensitive to indentation to the extent that indenting a line by 3 rather than 4 chars will make the macro not work for me.
I'm not really sure what is going on, but that might be the same issue you are experiencing.
Thank you for your answer, but my problem did not come from indentation.
It occurs because I downloaded files by saving the target of the link after a right click on the attached file (with Firefox), what did not save the file .py but the html page!
Shouldn't it go in
trac/plugins
?