Looks like that worked. Thanks! On May 5, 9:07 am, Jason Miller <[email protected]> wrote: > Thanks! > > Ok, so if I am reading all the posts right, I would do: > Move all the plugins to; > > /home/arv/pyenv/python2.7/lib/python2.7/site-packages/ > > then edit the file: > > /home/arv/pyenv/python2.7/lib/python2.7/site-packages/easy-install.pth > And make it look like: > > import sys; sys.__plen = len(sys.path) > ./setuptools-0.6c11-py2.7.egg > ./pip-1.0-py2.7.egg > ./Babel-0.9.5-py2.7.egg > ./Trac-0.12.2-py2.7.egg > ./Genshi-0.6-py2.7.egg > ./TracAnnouncer-some-version-py2.7.egg > import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; > p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p > +len(new) > > (TracAnnouncer.egg, name it to match your file name) And add any other > plugin file names that you are also trying to load. > > Other then that, I am guessing your already running tracd as you and > not sudo/root, but worth mentioning; Be sure to run tracd as you and > not root. > > Lets see what that does! > Jason > > On Wed, May 4, 2011 at 2:37 PM, Alejandro V. > > <[email protected]> wrote: > > Trac egg is located at: > > /home/arv/pyenv/python2.7/lib/python2.7/site-packages/Trac-0.12.2- > > py2.7.egg/trac/__init__.pyc > > > Here's my sys.path: > > ------> print(sys.path) > > ['', '/home/arv/pyenv/python2.7/bin', '/home/arv/pyenv/python2.7/lib/ > > python2.7/site-packages/setuptools-0.6c11-py2.7.egg', '/home/arv/pyenv/ > > python2.7/lib/python2.7/site-packages/pip-1.0-py2.7.egg', '/home/arv/ > > pyenv/python2.7/lib/python2.7/site-packages/Babel-0.9.5-py2.7.egg', '/ > > home/arv/pyenv/python2.7/lib/python2.7/site-packages/Trac-0.12.2- > > py2.7.egg', '/home/arv/pyenv/python2.7/lib/python2.7/site-packages/ > > Genshi-0.6-py2.7.egg', '/home/arv/pyenv/python2.7/lib/python2.7/site- > > packages/South-0.7.3-py2.7.egg', '/home/arv/pyenv/python2.7/lib/ > > python2.7', '/home/arv/pyenv/python2.7/lib/python2.7/plat-linux2', '/ > > home/arv/pyenv/python2.7/lib/python2.7/lib-tk', '/home/arv/pyenv/ > > python2.7/lib/python2.7/lib-old', '/home/arv/pyenv/python2.7/lib/ > > python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat- > > linux2', '/usr/lib/python2.7/lib-tk', '/home/arv/pyenv/python2.7/lib/ > > python2.7/site-packages', '/home/arv/pyenv/python2.7/lib/python2.7/ > > site-packages/PIL', '/usr/local/lib/python2.7/dist-packages/ > > virtualenv-1.6-py2.7.egg', '/usr/local/lib/python2.7/site-packages', '/ > > usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist- > > packages', '/home/arv/pyenv/python2.7/lib/python2.7/site-packages/ > > IPython/Extensions', u'/home/arv/.ipython'] > > > On May 4, 3:06 pm, Jason Miller <[email protected]> wrote: > >> Oh and, where was your Trac egg located? > > >> On Wed, May 4, 2011 at 12:47 PM, Jason Miller <[email protected]> > >> wrote: > >> > can you tell us what your sys.path says? > > >> > python > > >> > import sys > >> > print sys.path > > >> > Thanks! > > >> > On Wed, May 4, 2011 at 9:47 AM, Alejandro V. > >> > <[email protected]> wrote: > >> >> Here are mine: > >> >>> cat easy-install.pth: > >> >> import sys; sys.__plen = len(sys.path) > >> >> ./setuptools-0.6c11-py2.7.egg > >> >> ./pip-1.0-py2.7.egg > >> >> ./Babel-0.9.5-py2.7.egg > >> >> ./Trac-0.12.2-py2.7.egg > >> >> ./Genshi-0.6-py2.7.egg > >> >> import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; > >> >> p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p > >> >> +len(new) > > >> >>> cat setuptools.pth : > >> >> ./setuptools-0.6c11-py2.7.egg > > >> >> On May 4, 11:01 am, Jason Miller <[email protected]> wrote: > >> >>> In the same place where you moved your eggs to, can you concatenate > >> >>> your easy-install.pth file for us? > >> >>> eg, mine reads: > > >> >>> (for your information so you know what I am running on) > >> >>> #> lsb_release -a > >> >>> No LSB modules are available. > >> >>> Distributor ID: Ubuntu > >> >>> Description: Ubuntu 10.10 > >> >>> Release: 10.10 > >> >>> Codename: maverick > > >> >>> #> cd /usr/local/lib/python2.6/dist-packages > >> >>> #> cat easy-install.pth > >> >>> import sys; sys.__plen = len(sys.path) > >> >>> ./Trac-0.12.3dev_r10683-py2.6.egg > >> >>> /usr/local/lib/python2.6/dist-packages > >> >>> ./Bitten-0.6.1dev_r990-py2.6.egg > >> >>> ./TracAnnouncer-0.11.1-py2.6.egg > >> >>> ./TracDoxygen-0.11.0.2-py2.6.egg > >> >>> import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; > >> >>> p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = > >> >>> p+len(new) > > >> >>> It might not hurt to concatenate your setuptools.pth as well (also in > >> >>> the same location): > > >> >>> #> cat setuptools.pth > >> >>> /usr/lib/python2.6/dist-packages > > >> >>> This information will help us continue troubleshooting > > >> >>> Thanks, > >> >>> Jason > > >> >>> On Wed, May 4, 2011 at 8:24 AM, Alejandro V. > > >> >>> <[email protected]> wrote: > >> >>> > Hm, locating the trac egg pointed out that none of the other plugin > >> >>> > eggs were in the same folder, but even after moving they still do not > >> >>> > appear in the admin panel, or anywhere else. > > >> >>> > On May 3, 7:50 pm, Jason Miller <[email protected]> wrote: > >> >>> >> I believe with Ubuntu the eggs are stored in: > > >> >>> >> /usr/local/lib/python2.6/dist-packages > >> >>> >> or > >> >>> >> /usr/lib/python2.6/dist-packages > >> >>> >> (not site-packages with normal python ./setup.py install) > > >> >>> >> If in doubt you could always try running python directly (just type > >> >>> >> python at your shell prompt) and enter in the command: > > >> >>> >> import <name of plugin> > >> >>> >> print myplugin.__file__ > > >> >>> >> TracAnnouncer for example on my machine in a svn developers non- > >> >>> >> installed state: > > >> >>> >> import announcerplugin > >> >>> >> print announcerplugin.__file__ > >> >>> >> returns: > >> >>> >> /home/milljm/dev/DEV-Trac/downloads/announcer/0.11/announcerplugin/ > >> >>> >> __init__.pyc > > >> >>> >> Once you have the "exact" location, you can start messing with > >> >>> >> permissions and the like (if that is indeed the issue). However, if > >> >>> >> python errors out with un-able to find said module (plugin), then > >> >>> >> you > >> >>> >> have a different issue... > >> >>> >> The module is just not installed correctly as of yet. Or at the very > >> >>> >> least, in a location python does not know about. > > >> >>> >> You do seem to have trac installed correctly though, so I would > >> >>> >> start > >> >>> >> a python shell and do the following: > > >> >>> >> import trac > >> >>> >> print.trac.__file__ > > >> >>> >> and see where the Trac egg is. In most if not all cases, the plugin > >> >>> >> eggs should be located in the same spot. > > >> >>> >> Looking forward to your results! > >> >>> >> Jason > > >> >>> >> On May 3, 12:03 pm, "Alejandro V." <[email protected]> > >> >>> >> wrote: > > >> >>> >> > Oh ok, the url is only /about in my case, but yes I do not see any > >> >>> >> > plugins, but it also doesn't look like my plugins_dir is set for > >> >>> >> > whatever reason. > >> >>> >> > Setting it doesn't seem to do anything either though. > > >> >>> >> > On May 3, 1:57 pm, "Jeff Watson" <[email protected]> wrote: > > >> >>> >> > > Sorry, just login to the website (I presume you can since you > >> >>> >> > > indicate you > >> >>> >> > > can get in the admin panel to see the plug-ins, so in general > >> >>> >> > > the site is > >> >>> >> > > alive) and click on the "About Trac" link. That should have > >> >>> >> > > been > >> >>> >> > > localhost:<tracd-port>/trac/<trac-project-folder-name>/about > >> >>> >> > > (so in my case > >> >>> >> > > it'shttp://localhost:8080/trac/risks/about)-Hidequotedtext- > > >> >>> >> > - Show quoted text - > > >> >>> > -- > >> >>> > You received this message because you are subscribed to the Google > >> >>> > Groups "Trac Users" group. > >> >>> > To post to this group, send email to [email protected]. > >> >>> > To unsubscribe from this group, send email to > >> >>> > [email protected]. > >> >>> > For more options, visit this group > >> >>> > athttp://groups.google.com/group/trac-users?hl=en. > > >> >> -- > >> >> You received this message because you are subscribed to the Google > >> >> Groups "Trac Users" group. > >> >> To post to this group, send email to [email protected]. > >> >> To unsubscribe from this group, send email to > >> >> [email protected]. > >> >> For more options, visit this group > >> >> athttp://groups.google.com/group/trac-users?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Trac Users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/trac-users?hl=en.
-- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
