This forum is no longer active. Please post your questions to our new community site
Aggh-please fix easy_install
|
|
Trac is such a BITCH to install unless you are installing it for EVERYONE. also, I guess this is mistly Python’s fault. But anyway, using a STACK is great, but so much of Trac-add ins require easy_install to work right. Any help? |
|
|
Hi, I’ll look into it Cheers |
|
|
Ok, there’s a problem with the shebang line in easy_install file. The easiest way to avoid it is by launching easy_install as
from python/bin folder Another workaround is to change in easy_install the first line, which is something like
to
I will fix it for the next release. Thanks for pointing this out, this doesn’t happen on my machine (I use zsh as shell) so I hadn’t noticed it. |
|
|
Thanks. I did have to actually set my path to include the /opt/trac/python/bin dir (in the first) in order to use the 2nd hack mentioned above, but that seems to have worked. Thanks for looking into it. |
|
|
Aggh! I have set my path to include the local trac-admin utility and the local python lib but something isn’t quite working out.
echo $PATH and here is the result of ls -l on /opt/trac/python/lib/libpython* So I now its there, but how to tell trac-admin to change LIB search paths? |
|
|
This seems to have worked, so in case anyone else is wondering. /opt/trac/python/bin# ./python2.5 /opt/trac/trac/bin/trac-admin resync Basically run python2.5 from the python bin dir and execute trac-admin from there. |
|
|
Yes, the idea of the BitNami stacks is to be completely independent so that they don’t interfere with your system. That’s the reason why INSTALLDIR/python/bin/python loads the needed variables which define the libraries path. You don’t have to set the PATH environment variable at all. Cheers |
|
|
The VM version of Trac + SubVersion also has a similar bug in easy_install. The shebang line has /bitnami/tracstack-linux/output/python/bin/python instead of /opt/bitnami/python/bin/python |
|
|
Thanks for letting us know. |

