Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


This little app will look at the summary from the currently viewed Trac ticket and find related questions & answers on stackoverflow, or other stackexchange sites.

Screenshot stack-trac (see full size)


Similar to a normal Trac plugin:

Full instructions:

  1. Download the stack-trac source from
  2. cd to stacktrac-plugin
  3. run python bdist_egg (note: due to a bug, need to run: 'python develop' instead. I have a fix but can't make it till I get back from work today)
  4. copy dist/Stacktrac... to your_trac_project_folder/plugins
  5. enable stacktrac in your trac.ini by adding the following


    stacktrac.* = enabled

Configuring the site used by stacktrac: add the following to your trac.ini:

site =
apiSite =

where stackoverflow is replaced by the SE site you would like to query

This is what I would call a pre-alpha release to get some feedback. Lots of hardening & new features for stack-trac's stack exchange api wrapper to come. First time using Python. I must admit, I kinda like the language ;)

If the look and feel is deemed to be too similar to SE sites I'll gladly update it.


Apache 2



Written in Python, hosted @ google code

share|improve this question
Isn't Python such a fun language to learn the first time you use it? I sure thought it was. – Nathan Osman Jul 30 '10 at 1:12
Minor note, you probably don't want the API version you're targeting to be configurable (the apiSite configuration). Subsequent API version will contain numerous breaking changes, but 1.0 will be kept around for quite awhile. – Kevin Montrose Jul 30 '10 at 1:30
@George yep, and I actually ended up enjoying the fact that code blocks are indicated by spacing. Although I have mixed feelings on the mix of operators, global functions and method calls. E.g., getting the length of a list is len(list) and not list.length()... and using |= to append to structures... I'm sure there are reasons for it, but I'm not educated enough about the language yet. – mlaw Jul 30 '10 at 16:27

I noticed a bug while installing this as en egg.... you may get a "template not found" error. The work around is to run "python develop" instead of "python bdist_egg" and skip the copying steps. I'll let you know once I find a fix for this.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .