Bitnami Trac stack and Agilo

64 views
Skip to first unread message

Phantom Hawk

unread,
Sep 30, 2010, 12:19:51 PM9/30/10
to Agilo for Scrum
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)

I followed the instructions at: http://www.agile42.com/cms/pages/download-install/
and after I was done with the upgrade command, I lost my header (with
the links to new tickets and such.) Through trial and error I found
that if I remove the line it added to my trac.ini in:

[inherit]: templates_dir = C:\Program Files\BitNami Trac Stack\python
\Lib\site-packages\binary_agilo-1.3.0.7_PRO-py2.5.egg\agilo\templates

that I could regain the navigation bar. Some portions of Agilo are
showing on the new tickets page, at least, I assume it's what added
the Sprint drop-down.

I also found this post, but it doesn't appear I can reply to the
thread, which is why I started a new one:

http://groups.google.com/group/agilo/browse_thread/thread/6528858d848cc766/980bf07827e1629d

In response to the request Felix had for the other user, who appears
to be having the exact issue I am, I ran the python commands and
received the following output:

>>> import simplejson
>>> import agilo
>>> agilo.__file__
'C:\\Program Files\\BitNami Trac Stack\\python\\lib\\site-packages\
\binary_agilo-1.3.0.7_pro-py2.5.egg\\agilo\\__init__.pyc'

He also requested the version table, so here it is:

Trac: 0.11.6
Python: 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit
(Intel)]
setuptools: 0.6c11
SQLite: 3.6.11
pysqlite: 2.5.5
Genshi: 0.5.1
mod_python: 3.3.1
Subversion: 1.6.6 (r40053)
jQuery: 1.2.6

My suspicion is that it's only the header templates that are the
issue, and if they could be resolved, this would all be running
correctly.

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.

Thanks,
Chris Teague

Robert Buchholz

unread,
Oct 4, 2010, 8:53:38 AM10/4/10
to ag...@googlegroups.com
Hey Chris,

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

Phantom Hawk

unread,
Oct 4, 2010, 11:58:47 AM10/4/10
to Agilo for Scrum
Hey Robert,

Thanks, that worked like a charm! In fact, your explanation also
helped me to get other plugins working! (Pygments was being a pain as
well.) Pretty sure we'll be talking to your sales department about
pro licensing pretty shortly. Very impressed, and you have quite a
grasp of the necessary details, thanks!

Also, this may only affect my installation, but I found there was a
conflicting module on Trac, and had to add this line to my trac.ini:

trac.ticket.api.ticketsystem = disabled

I was getting this error:

error: redefinition of group name 'it_ticket' as group 20; was group
18

but I found the solution in the group here.

Thanks again for the detailed response!

Chris Teague

On Oct 4, 5:53 am, Robert Buchholz <robert.buchh...@agilosoftware.com>
wrote:
Reply all
Reply to author
Forward
0 new messages