Ticket #3428 (new defect)

Opened 3 months ago

Last modified 3 months ago

No macro or processor named 'WikiInclude' found

Reported by: risto.kankkunen@iki.fi Assigned to: yu-ji
Priority: normal Component: WikiIncludePlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description

I get the error message

Error: Failed to load processor WikiInclude
No macro or processor named 'WikiInclude' found

when trying to uses the latest SVN version of WikiIncludePlugin with Trac 0.11.

Attachments

Change History

07/21/08 09:43:36 changed by risto.kankkunen@iki.fi

It seems that the plugin was loaded but Trac was not using it at all. I got it working by making the following change to setup.py:

--- setup.py    (revision 4019)
+++ setup.py    (working copy)
@@ -3,4 +3,14 @@
 PACKAGE = 'WikiInclude'
 VERSION = '0.1'

-setup(name=PACKAGE, version=VERSION, packages=['wikiinclude'])
+setup(
+    name=PACKAGE,
+    version=VERSION,
+    packages=['wikiinclude'],
+
+    entry_points = {
+        'trac.plugins': [
+            'wikiinclude.macros = wikiinclude',
+        ]
+    }
+)

Add/Change #3428 (No macro or processor named 'WikiInclude' found)




Change Properties
Action