Opened 13 years ago
Closed 12 years ago
#9910 closed defect (invalid)
Instructions?
Reported by: | Robert Inder | Owned by: | Martin Scharrer |
---|---|---|---|
Priority: | normal | Component: | DashesSyntaxPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
I've tried to install this following the default instructions for installing a plugin (i.e. python setup.py bdist_egg plus copying .egg into "plugins" directory).
But nothing seems to have changed.
Have I done something wrong? What SHOULD I have done?
Is it 0.11 only? Or what?
Robert.
Attachments (0)
Change History (3)
comment:1 follow-up: 2 Changed 13 years ago by
Status: | new → assigned |
---|
comment:2 Changed 13 years ago by
Replying to martin_s:
You can enable plugins in the
components
section insideconf/trac.ins
:[components] tracdashessyntax.* = enabled
That was the missing step.
I know I have to enable (most) plugins, but I didn't know what, exactly, to enable. I did look in the source code, to see if I figure it out, but I'm not a python programmer (and, I confess, I missed the pointer to __init__.py
in http://trac.edgewall.org/wiki/TracPlugins).
I didn't add these instructions to every of my plugins because these steps are always the same.
Well, they're always very similar! Adding Enable as "tracdashessyntax.* = enabled"
would have made the difference for me.
The plugin was written for 0.11 and I never tested it with 0.12.
Well, it works with 0.12.
At least, once it is enabled!
Thanks for the prompt response. Oh, and for the neat wee macro that this (former) latex user, at least, greatly appreciates.
comment:3 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Issue seems to be resolved.
Standard installation instructions for plugins can be found at the trac-hacks main page, which links to http://trac.edgewall.org/wiki/TracPlugins. Basically you need to install and enable the plugin. I usually install plugins globally using
easy_install <plugin checkout dir or repository url>
.You can enable plugins in the
components
section insideconf/trac.ins
:I didn't add these instructions to every of my plugins because these steps are always the same.
The plugin was written for 0.11 and I never tested it with 0.12. It is clearly marked as 0.11: there is only a 0.11 directory and the wiki page is only tagged with 0.11. However, it might just work fine with 0.12, if the used interface didn't change.
You might also want to enable debug output in the logfile (
log_type = file
andlog_level = debug
in thelogging
section oftrac.ini
) and then check if the plugin is loaded properly.