Ticket #3428 (closed defect: fixed)

Opened 5 years ago

Last modified 2 years ago

No macro or processor named 'WikiInclude' found

Reported by: risto.kankkunen@iki.fi Assigned to: rjollos
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 16: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',
+        ]
+    }
+)

11/29/10 02:31:47 changed by tonin

I confirm this patch work as of Trac 0.11.7 and WikiIncludePlugin 0.2.

12/04/10 15:53:37 changed by rjollos

  • owner changed from yu-ji to rjollos.
  • status changed from new to assigned.

Looks reasonable. I'll try to commit this to the repository tomorrow.

12/04/10 16:01:12 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [9581]) Add 0.11 version to repository, previously attached to wiki page, and patch setup.py. Fixes #3428.


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




Change Properties
Action