On Thursday 30 September 2010, Phantom Hawk wrote:
> Hello, I've just started using Trac, and to avoid the configuration
> nightmare I was wading through (on windows), I installer the Trac
> stack Bitnami provides. (http://bitnami.org/stack/trac)
...
> Anyone have an idea as to what could be causing this? The Developer
> Tools on chrome don't seem to have any clues for me either, but it's
> been awhile since I did web work.
I agree, setting up Apache and mod_python on Windows is no fun --
unfortunately. On the other hand, Bitnami makes it easier to run exactly
the use case the stack was built for -- in this case, running Trac, but
no plug-ins.
What you describe shows that you installed Agilo correctly and trac-
admin picks it up as well (hence "trac-admin upgrade" shows that it
creates the product backlog, etc). Unfortunately, with Bitnami, all
Python eggs are *copied* again to the apache server directory
(apache/bin/Lib). So you have to install Agilo (and its dependencies) to
that directory as well. This worked for me:
set PYTHONPATH=C:\Program Files\BitNami Trac Stack\apache2\bin\Lib\site-
packages
…\Scripts\easy_install.exe --install-dir=
"C:\Program Files\BitNami Trac Stack\apache2\bin\Lib\site-packages"
binary_agilo-1.3.0.7_PRO-py2.5.egg
…\Scripts\easy_install.exe --install-dir=
"C:\Program Files\BitNami Trac Stack\apache2\bin\Lib\site-packages"
simplejson
The second line (simplejson) is because easy_install may already find
simplejson in python\Lib -- but apache does not. Try using the --always-
copy parameter to easy_install, that should help as well.
Cheers
Robert