This forum is no longer active. Please post your questions to our new community site

Forums Trac

How to install plugin?

Subscribe to How to install plugin? 4 post(s), 3 voice(s)

 
Avatar lynda 4 post(s)

I just install trac stack smoothly. and I am trying to install plugin xmlrpc for it. I followed instruction from http://trac.edgewall.org/wiki/TracPlugins to made an egg file. Then I go to BitNami trac admin page, install it. Then I go to trac.ini to put
[components]
tracrpc.* = enabled
stopped the server, then run again. Still I cannot see the plugin is installed. I tried to install it again, it says the plugin is already insatlled.
If so, why cannot I see it from the plugin page?
What is general rules to install a plugin?
Also, I install the BitNami on windows server 2008. I cannot modify trac.ini, it says read only. I change it to any user write permission. I was able to do it. I don’t think it is a good idea to give any user write permission. But I cannot modify it ortherwise.
Thank you for your help.

 
Avatar victoria Administrator 134 post(s)

Hi,

Can you try copying the Lib folder from python directory into the apache2/bin folder and let us know if it works for you?

Regarding the trac.ini file, you need to open it with administrator privileges (so you don’t need to change the permissions). In the Windows start menu, look for cmd, click on it with the right mouse button and select run as administrator. Then execute:

write /path/to/trac.ini

where /path/to/trac.ini is the location of the trac.ini file :)

 
Avatar lynda 4 post(s)

Victoria,
Thank you! It is admininstrator permission problem. I reinstalled BitNami Trac and use web admin panel to install the plugins, it worked.
Best regards
lynda

 
Avatar raveenb 3 post(s)

I have found another work around for this, use the python binary which is in the trac installation to do the setup or easy_setup, using this you dont have to edit the trac.ini

/path/to/python/binary/in/trac setup.py install
or
/path/to/easy_install/binary/in/trac <*.egg>

then /trac/path/ctlscript stop
then /trac/path/ctlscript start

refresh the trac>admin>plugin page and you should have the new plugin or macro listed in there

but on some plugins which require trac to upgrade i faced some problem on my mac (see the other post about it)

Forums Trac