Trac Plugin Installs

Trac Plugin Installs

Posted by: mtowers
Posted on: 2009-07-09 18:58:00

Has anyone had any success installing Trac plugins on top of the one-click Trac install? Namely, I'm trying to install AuthOpenIdPlugin (http://trac.sandbox.lt/auth/wiki/AuthOpenIdPlugin).

To get the install scripts to run correctly, you need to setup a python virtual environment (http://wiki.dreamhost.com/Python#Virtualenv), which is a bit of a hassle, but straightforward.

From there the install instructions call for some tweaks to trac.ini (see plugin wiki page).

Once all of that is done, in theory one should see the OpenId Login option on the wiki home page. In my case it's not there which implies to me that either the plugin is not installed correctly or has not been loaded by Trac.

The TracGuide docs offer the following tidbit: "Note: After installing the plugin, you need to restart your web server. " Which we can't do, though I read somewhere that if you touch index.fcgi or simply click the "change fully hosted settings now" button on the domain admin page, it will refresh all of the virtual host apache gunk for the domain in question. Again, no luck.

Has anyone had any luck installing this or any other Trac plugin?

-Matt

www.typidee.com

Re: Trac Plugin Installs

Posted by: elund
Posted on: 2009-07-22 03:48:00

I would also like to know if anyone had success with installing a Trac Plugin.

I have tried to use the "Install Plugin" feature to install binary_agilo-1.0_PRO_RC2-py2.4.egg. The egg-file is uploaded to the plugin-folder, but the Agilo plugin never appers under "Mange Plugins".

Best regards, Elund

Re: Trac Plugin Installs

Posted by: mtowers
Posted on: 2009-08-18 09:58:00

Unfortunately, as per Dreamhost Support this is currently not possible. If you want to install plugins, you'll need do a custom install running in your user space.

The current theory on why it won't work is that the one-click install of Trac is using a shared Python runtime. The shared runtime does not allow the installation of additional libraries and the path cannot be extended to look in a local path.

-Matt

www.typidee.com

Re: Trac Plugin Installs

Posted by: boomsb
Posted on: 2009-09-24 14:08:00

http://wiki.dreamhost.com/Trac#Plugins

The wiki article makes it seem as though it's possible. Although reading a bit further they mention that shared hosts need to have their own version of python installed.

Even better they talk about installing plugins here:

http://wiki.dreamhost.com/Troubleshoot_Trac_One-Click_Install#Solution_2Edited by boomsb on 09/24/09 02:14 PM (server time).

Tags: domain adminfcgisandboxpythontweakshasslewikiweb serverscripts