Modify

Opened 2 years ago

Closed 2 years ago

#9910 closed defect (invalid)

Instructions?

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

Replying to martin_s:

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 2 years ago by rjollos

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

Issue seems to be resolved.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from martin_s. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.