I need some help resolving the problem above and repeated below:

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

I started installing this on Friday and I'm still at it today... This
is a new Trac install on a new machine.

My configuration is:

1. CENTOS 5
2. Python 2.5.1 installed in /opt/Python-2.5.1
3. MySQL and the python bindings
4. Mercurial 5b0b0834419c? debuginstall responds "no problems
detected".

So first I cloned the repositories to the new machine.

Then I followed the instruction on http://trac.edgewall.org/wiki/TracMercurial
Mercurial Plugin for Trac. I decided to use 0.11 and the the sandbox
plugin since the page states they are "kept in sync".

I kept jumping back and forth between this page and
http://trac.edgewall.org/wiki/TracInstall.

This had me install:

4. setuptools (0.6c7)
5. genshi (0.4.4--using easy_install)
6. docutils (http://docutils.sourceforge.net/README.html#quick-start,
the snap shot version)
7. SilverCity (0.9.7)
8. Installed TracMercurial using: svn co
http://svn.edgewall.com/repos/trac/sandbox/mercurial-plugin-0.11

I perfomed the normal build/install as per the directions. I think
that covers all the installs.

I created a new database trac in mysql (create database trac;).

Then I performed:

> trac-admin /opt/trac/marcene initenv

I used:

Name: Marcene
DB: mysql://uname,[EMAIL PROTECTED]:3306/trac
VC: hg
Repos:/home/repos/marcene

/opt/trac is a new directory (all installs were performed in /opt/src/
xxx). This created the marcene directory with the necessary
configuration.

trac_admin complained about hg--not supported.

I then edited /opt/trac/marcene/conf/trac.ini for the following
changes:

[component]
tracvc.hg.* = enabled

[hg]
show_rev =y es
node_format = short

I verified that repository_type is hg and the repository_dir is /home/
repos/marcene.

I then ran:

> tracd --port 8000 /opt/trac/marcene

and brought up a browser on a client. The first page provides me with
a single link for the "Available Projects", which is Marcene.
Selecting this link takes me to http://dlcb0080a:8000/marcene, which
shows the trac wiki with the error message:

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

I then spent some time googling and searching trac and found one
suggestion. This was to edit backend.py and add the following lines:

try:
    from mercurial import demandimport
    demandimport.enabled()
except:
    demandimport = None

This had no impact on my problem.

I have cleaned everything off and performed a re-install but to no
avail. I need some help, any ideas about what to look at to make this
work. Any help would be greatly appreciated.

Thanks,

etc.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to