Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#89 closed defect (fixed)

Allow the plugin to be installed into the python site-packages directory

Reported by: Peter Kropf Owned by: Peter Kropf
Priority: normal Component: GraphvizPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.8


Here's a snippet from a trac mailing list thread that hints at the problem:

Hmm.  I tried, actually, putting the [graphviz] section in the main trac.ini,
but it didn't work.  Maybe if I'd put the egg in the main plugins section
(trac/plugins) *and* put the [graphviz] section in the main conf/trac.ini it'd
work.  (And then enable it there too).

Let's see... (goes away to try it)... nope.  I get a red box with  Error:
Failed to load processor graphviz / No macro named [[graphviz]] found.

Actually, never mind -- I see that trac doesn't actually load plug-ins from
trac/plugins.  I don't even know how that dir got in there.  It wants them to
be in the python site-packages dir.  But when I put them there, I get a
message from the egg that there's no [graphviz] section in my .ini file.  It
seems like it really wants that to be in the site/conf/trac.ini.

Anyway, I just put it all back into the site dir and it works fine.

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by Peter Kropf

Resolution: fixed
Status: newclosed
Trac Release: 0.8

Fixed with release v0.6.2.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Peter Kropf.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.