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)-Hidequoted text - > > >> > - 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 at http://groups.google.com/group/trac-users?hl=en.
