On Wednesday, February 12, 2014 12:46:12 PM UTC-8, Soha wrote: > > Hi, > > I installed ticketcreationstatus plugin and the changes are not reflecting > in the ticket status as I still see the status as new when a new ticket is > submitted. I installed the wrong version of egg and all the python eggs in > my plugin directory are having 2.7 version. I did an easy_install > http://trac-hacks.org/svn/ticketcreationstatusplugin/ and the egg got > created in python2.4/site-packages folder. >
I did copy paste it to the plugin folder and also made the changes in > trac.ini and restarted the webserver. > It is not necessary to move the file to the plugins folder. You may want to delete that file and easy_install it again in case something went bad in these steps. > > Now the installation did not make any give me the output as expected. > > > I suspect it could be because of the mismatch of the python version. While > installing I did not get option to select for a python version. How do I > install the plugin which is compatible with python2.7 version? > Just run easy_install associated with your Python 2.7 installation. On Linux, you may be able to use: /usr/bin/easy_install-2.7 If you still have issues: - Check if the plugin is visible on the plugin admin page. If it is, then at least the egg is being seen. - Turn on TracLogging and set the level to Debug, Restart the web server or tracd and look for messages about the plugin being loaded: http://trac.edgewall.org/wiki/TracLogging > > Also please let me know if I am missing anything. > > Thanks, > > > On Friday, July 13, 2012 6:13:47 PM UTC-4, RjOllos wrote: >> >> On Friday, July 13, 2012 2:57:07 AM UTC-7, paul.wilding wrote: >>> >>> Will there be any issues with using the commands you suggested once I >>> deploy the plugin? >>> >> >> The plugins will be installed in site-packages for your installation, >> which some say is not a good idea. I've been told that it is generally >> considered bad practice to install plugins globally when you will be >> running other applications in Python. My Trac instance is setup in a >> virtualenv, so it doesn't seem to matter in that case. Others will probably >> have more insightful comments on this. >> >> It seems to work fine to copy the file into the $TRACENV/plugins >> directory through: >> >> python setup.py bdist_egg >> cp dist/buildrequestsplugin-1.2-py2.6.egg /path/to/trac-env/plugins/ >> > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/groups/opt_out.