Trac woes

After upgrading my Ubuntu Maverick Meerkat to Natty Narwhal, My Trac installation greeted me with “500 Internal Server Error”.

Checking apache error log I saw “ImportError: No module named trac.web.modpython_frontend“.

[Mon May 02 14:02:24 2011] [error] [client 192.168.254.100] mod_python (pid=1991, interpreter=’main_interpreter’, phase=’PythonHandler’, handler=’trac.web.modpython_frontend’): Application error [Mon May 02 14:02:24 2011] [error] [client 192.168.254.100] ServerName: ‘::1′ . . . → Read More: Trac woes

Embed a Flash video in Trac

Embedding a Flash video in Trac can be done with the FlashEmbedMacro plugin.

First I’ve to make sure that I have setuptools.

# easy_install -U setuptools Searching for distribute Reading http://pypi.python.org/simple/distribute/ Reading http://packages.python.org/distribute Best match: distribute 0.6.14 Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz#md5=ac607e05682116c06383b27a15e2db90 Processing distribute-0.6.14.tar.gz Running distribute-0.6.14/setup.py -q bdist_egg –dist-dir /tmp/easy_install-GcfNov/distribute-0.6.14/egg-dist-tmp-X16Nez Before install bootstrap. Scanning installed packages Setuptools . . . → Read More: Embed a Flash video in Trac

How to remove a ticket from Trac

Normally you don’t need to remove a ticket from Trac, you can mark it as duplicated or invalid and close it. This can be done with the web interface and is a normal operation. It is a better option because all the process is documented and searchable. For example someone reports a bug, which is . . . → Read More: How to remove a ticket from Trac

Adding TRAC_ADMIN permission

By default in Trac authenticated users don’t see the Admin menu.

Here is how to enable it for the user stivlo of project sandbox. In the Trac console type the command permission add stivlo TRAC_ADMIN.

# trac-admin sandbox/ Welcome to trac-admin 0.12 Interactive Trac administration console. Copyright (c) 2003-2010 Edgewall Software Type: ‘?’ or ‘help’ . . . → Read More: Adding TRAC_ADMIN permission

How I’ve installed Trac & Subversion on Linux

Trac is an open source project management and task/bug tracking tool. It has also an integrated Wiki for project documentation. I’m using it since a few months already and I quite like it, it’s useful to keep myself organized. The installation procedure for version 0.12 is documented on Trac website.

I wrote this article to . . . → Read More: How I’ve installed Trac & Subversion on Linux