On Wed, Sep 5, 2018 at 2:53 PM Quinn Comendant <[email protected]> wrote:

> On Wed, 5 Sep 2018 13:43:38 -0700, Ryan Ollos wrote:
> > Are you running Trac >= 1.2?
>
> No, I have Trac 1.0.13.
>
> > Does the plugin appear on the Plugins admin page? You can enable the
> plugin
> > on that page.
>
> It doesn't appear there.
>
> > For troubleshooting plugin loading issues:
> > https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs
>
> Oh, there is an error in the logs: "No module named api"! What does it
> mean?
>
> Sep  5 21:50:15 durian journal: Trac[loader] ERROR: Failed to load plugin
> from /home/scdev/trac/projects/fwr/plugins/EmailHeaders.py: #012Traceback
> (most recent call last):#012  File
> "/usr/lib/python2.7/site-packages/trac/loader.py", line 90, in
> _load_py_files#012    module = imp.load_source(plugin_name,
> plugin_file)#012  File
> "/home/scdev/trac/projects/fwr/plugins/EmailHeaders.py", line 15, in
> <module>#012    from trac.notification.api import
> IEmailDecorator#012ImportError: No module named api
>
> Quinn
>

Trac >= 1.2 is required. I've updated the wiki page with that information.

https://trac.edgewall.org/wiki/CookBook/Notification/Email?action=diff&version=7

- Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to