Trackers - a Rough Overview

I've been asked to compare various issue trackers. While I don't really feel qualified do to so, I have an opinion nonetheless. So here are my two cents about it:

  • There are trackers for various use cases, various technologies, and licenses (eg. Jira is imho mostly commercial software).

  • I've not yet found a package which is equally suitable for handling customer (self-?) support tasks outside of software development, and software development tasks.

  • I don't have real experience with Jira, and only a very cursory impression about eg. OTRS (Perl) and Mantis (PHP).

  • From all trackers I have seen so far, OTRS, RT (Perl) and roundup (Python) are basically suitable to customer support tasks, but less suitable to software development tasks.

  • OTOH, Trac and Redmine seem to support software development tasks much better (and Redmine, written with RoR, much better than Trac, written in Python, imho).

For me, so far only Roundup and RT mattered for the customer-support space, but I intend to take a look at OTRS, now that they claim to support ITIL-conformant processes (whatever that means, but it's a requirement of some potential customers). When I talk about RT, I mean RT 3.x, not RT 4.x. I also ignore all PHP stuff for principal reasons.

  • Roundup's advantage, compared to RT, is that it is very lightweight.

  • Roundup's permission system seems to be more flexible than RT's, but all-in-all, changing anything requires rolling out a new revision of the installation (eg. to include the new permissions). This stuff is highly intertwined with the rest of roundup, and I've yet to see (didn't try) how to eg. migrate the database from one version of the software to the next.

  • RT's advantage is the much larger functionality out of the box, and esp. support for distributed workflows, with auto-escalation, re-assignment, hierarchical tickets with dependencies, statistics, multiple external authentication sources and what-not. It's much more heavy-weight, though, and the UI is clumsier, too. RT can be scripted, and the scripts seem to end up in the database, making it comparatively easy to migrate an instance. It's Perl, though, and the main author(s) are afaik on the forefront of Perl development themselves, so you frequently find that you have to pull in brand-new versions of modules from CPAN that you've never heard of, and that have had little exposure.

  • OOTB, RT's permission system is much more powerful than what is distributed with Roundup, though.

  • Roundup seems to be much more geared towards a "one customer project, one tracker" situation, where eg. general access control is of not very high importance.

In the software development space, integrating a tracker, a wiki, and a repository browser was popularized probably by SourceForge, and has led to the creation of packages like Trac and Redmine, the latter allegedly being a clone of Trac (imho it isn't, if you run the two side-by-side).

  • Roundup has no integration with either a wiki or a repository browser out of the box, so one would have to do manual work to use it in that manner. One also has to find suitable wiki and repository browser software to integrate with, first, and except for the wiki (MoinMoin), there are imho no obvious candidates.

  • Of the remaining two, Redmine imho has much better support for multi-project scenarios, seems to support a broader range of databases, and also provides much more functionality.

  • It can also be much easier extended by Joe Average User because of a plethora of plugins, supporting popular use cases.

  • Redmine appears to be easier to host than Roundup, using thin.


Back to top

ZopeProfiler on Plone4

As per the author's statement, using ZopeProfiler together with Plone4 is unsupported. It really is. First, get a current version of ZopeProfiler instead. Implement in your buildout as usual and run buildout. In the relevant instance's (eg. secondary) zope.conf, one has to enable it, too:

enable-product-installation on

You also need to fix the output from the pstats module. In Debian, this is located at /usr/lib/python2.6/ Copy to your virtualenv's lib/python2.6 and manually apply the patch mentioned here:

After that, following the instructions generally works, except for that the site now runs orders of magnitudes slower, and (at least) I get this error when trying to view the stats (sample traceback):

2011-05-04 13:47:56 ERROR Zope.SiteErrorLog 1304509676.940.218731970327 http://localhost:9082/Control_Panel/ZopeProfiler/showHigh
Traceback (innermost last):
  Module ZPublisher.Publish, line 127, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 47, in call_object
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module App.special_dtml, line 185, in _exec
  Module DocumentTemplate.DT_Let, line 76, in render
  Module DocumentTemplate.DT_Util, line 202, in eval
   - __traceback_info__: stdnameRe
  Module <string>, line 1, in <module>
  Module Products.ZopeProfiler.ZopeProfiler, line 237, in getStatistics
  Module pstats, line 353, in print_stats
ValueError: I/O operation on closed file

I've seen the latter error on various other occasions as well, esp. when a long time has passed between the original activity and the display of results (eg. when running ExternalMethods). If someone has a fix for that, I'd highly appreciate it!

Back to top

Your Phone - Your Electronic Tag

Recent press articles like indicate that today's users of smartphones are effectively under possibly real-time surveillance for their whereabouts. This, in my opinion, greaty diminuishes the value of such gadgets, as that is a gross invasion of privacy. It does illustrate, however, that free software projects for mobile devices really need a push, and that the users should insist on rooting, or jailbreaking, their phones to gain the ability to install their own operating system software. Now we "only" need viable operating system software for our phones, but on that front, things look a little dim.

After the downturn in the OpenMoko project, the best bets may be a community-administrated version of Android, or a current version of SHR, if Google should obstruct the creation of a "Community-Android". But in the longer run, there'll be no alternative to having fully-open operating systems for mobile phones, like we already have on the desktop or on server. Let's hope that the developers achieve that before companies manage to finally lock down all devices.

Back to top

Installing Plone4 on Debian/Squeeze

After writing how to Install Plone4 on Debian/Lenny, I thought I'd follow up with an update for Debian Squeeze (please look into the upper right corner), which is what I'm currently using.

The good news: After having many software packages updated on Squeeze, You basically don't need much extra software to run Plone4. Install some required packages. using apt-get or aptitude. The following set should get you started, although it will pull in a significant number of dependencies:

# aptitude install python2.6-dev python-virtualenv python-setuptools build-essentials

After that, you simply create your virtualenv, like before:

$ virtualenv --no-site-packages vplone

and populate that:

$ source vplone/bin/activate
(vplone)$ easy_install PIL paste lxml ZopeSkel

Now you create your Plone buildout directory along the lines outlined on, but you can, of course, substitute plone4_buildout for the plone3_buildout (both should work).

I personally prefer to have a local versions.cfg, too, so I change my buildout.cfg to read eg.

extends = 

and fetch an appropriate versions.cfg from After that, you should be ready to run your buildout and get the ball rolling, like eg.

(vplone)$ buildout
... lots and lots of output clipped...

Watch out for any error messages which might be flushed out of the terminal window by the dumping of the eggs list.

Back to top

Python BarCamp 2011

Yesterday, I went to the Python BarCamp. In the process, I discovered the collaboration tool etherpad, which nicely complements PasteBins (eg.,, or The session protocls have their own etherpad page.

The disscussions covered a broad range of subjects, including how to interface with modules written in C, practical hosting questions, several talks on testing, the small high-performance web server Tornado, and the latest developments in Django, now in version 1.3. Regarding Django, the speaker highlighted a number of new features which were being implemented by using mixin classes. Although some quantitative analysis would be required to really assess this development, I had some strong repercussions about the Zope2 development that eventually caused the initially painful, but highly liberating, Zope3 development.

For everyone interested, the event continues to this evening, so hurry if you haven't been there yet. You should already be in or near Cologne, though, due to the limited time remaining.

Back to top

Assigning a Portlet With Python

All tutorials I found online deal with using either GenericSetup for portlets assignment, or explain only how to delete a portlet from Python. Below, I want to explain how to assign a portlet from Python, as is required when you want to have portlets that depend on dynamic structures.

Get the assignment_manager:

>>> manager = getUtility(IPortletManager, name=u"plone.leftcolumn", context=site)
>>> assignment_mapping = getMultiAdapter((context, manager), IPortletAssignmentMapping)

Get a portlet's assignment class, eg. that one from Events, and instantiate it:

>>> from import events
>>> myevents = events.Assignment()

Then assign the new portlet:

>>> assignment_mapping[u"my_events"] = myevents

If you're doing it manually, like me, then you also need to commit the change:

>>> assignment_mapping._p_changed = True
>>> transaction.commit()

Back to top