Opened 2 years ago

Closed 20 months ago

# Instructions?

Reported by: Owned by: robert@… martin_s normal DashesSyntaxPlugin normal 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.

### comment:1 follow-up: ↓ 2 Changed 2 years ago by martin_s

• Status changed from new to assigned

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 inside conf/trac.ins:

[components]
tracdashessyntax.* = enabled


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 and log_level = debug in the logging section of trac.ini) and then check if the plugin is loaded properly.

### comment:2 in reply to: ↑ 1 Changed 2 years ago by robert@…

You can enable plugins in the components section inside conf/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 20 months ago by rjollos

• Resolution set to invalid
• Status changed from assigned to closed

Issue seems to be resolved.

### Modify Ticket

Change Properties