Eclipse Mylyn integration with trac using XML-RPC

eclipseTrac is a great project management tool. You get a project website with a wiki, your source repository and a ticket system.

Cool stuff, for instance :

  • If you write the name of a Java class in your Wiki, Trac will recognize this and link to your source repository.
  • If you checkin code into your SVN repo and use comments like #235, Trac will link your SVN comments to the right ticket.
  • Visualisation of the branches via revtree en mergeenhancer plugins.
  • and much more…

They do eat their own dog food as the Trac project website is build with … Trac. I have Trac-0.11rc2-py2.5.egg running on my VPS. Today I’m trying to get Trac XML_RPC to work.

Ultimate goal : integration with Eclipse Mylyn.

I downloaded the plugin here.

This is a zip file with a 0.10, sandbox and trunk version in it. The documentation says you should install 0.10 so I did :

root@koma:~# easy_install xmlrpcplugin/0.10/

Edit trac.ini to enable the plugin :

[components]
tracrpc.* = enabled

But when surfing to the project website, I get :

SystemError: Parent module ‘tracrpc’ not loaded

A forum post reports the same problem and suggests installing the trunk version.

root@koma:~# easy_install xmlrpcplugin/trunk/

and this works. The project website is online and surfing to /login/xmlrpc on the project website returns the list of exported functions via the XML-RPC interface. And since ticket #1075 is fixed, Mylyn-Trac integration is supposed to work out-of-the-box.

Leave a Reply