Trac trunk & TracMercurial 0.11

Skip to first unread message

Frank Cornelissen

Nov 15, 2007, 5:51:27 PM11/15/07

having installed trac from trunk (Trac-0.11dev_r6153-py2.4.egg) and
tracmercurial (TracMercurial- as described on the
wiki/TracMercurial I run into the problem that the hg repository
module is not correctly installed. I'm using hg 0.9.1 and python 2.4.4
(both from debian edge).

The message on top of the welcome page is :

*Warning:* Can't synchronize with the repository (Unsupported
version control system "hg". Check that the Python support libraries
for "hg" are correctly installed.

The relevant part of the projects trac.ini is :

tracext.hg.* = enabled

node_format = short
show_rev = yes

repository_type = hg
repository_dir = /var/projects/elan/brandweer

The debug log shows that the TracMercurial plugin is being loaded :
2007-11-15 23:16:01,307 Trac[__init__] DEBUG: Loading hg from /usr/lib/python2.4

Trying to import the MercurialConnector from the python commandline
seems to work:
Python 2.4.4 (#2, Apr 5 2007, 20:11:18)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from tracext.hg.backend import MercurialConnector

Adding some debugging to the versioncontrol shows that the
RepositoryManager connectors member only contains a
SubversionConnector object.

Any ideas on how to debug this any further? I'm kind of lost here....

Frank Cornelissen

rupert thurner

Nov 15, 2007, 5:57:55 PM11/15/07
to Trac Users
did you try the recent 0.95 version?

On 15 Nov., 23:51, "Frank Cornelissen" <>

Frank Cornelissen

Nov 16, 2007, 3:46:11 AM11/16/07
to Trac Users

On Nov 15, 11:57 pm, rupert thurner <> wrote:
> did you try the recent 0.95 version?

I just did, and that works.... Maybe the wiki should make this more
clear (I was under the impression that any 0.9 version would work)

Thanks for the help!

Frank Cornelissen
Reply all
Reply to author
0 new messages