Opened 16 years ago

Last modified 11 years ago

#3757 closed enhancement

Unsupported version control system "git" after configuration — at Version 5

Reported by: anonymous Owned by: Samat Jain
Priority: highest Component: TracGitPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

i'm installed TracGit: Copying TracGit-0.11.0.1-py2.5.egg to /usr/local/lib/python2.5/site-packages Adding TracGit 0.11.0.1 to easy-install.pth file

added

[components]
webadmin.perm.permissionadminpage = enabled
tracext.git.* = enabled

[git]
cached_repository = true
git_bin = /usr/local/bin/git
persistent_cache = true
shortrev_len = 6

[trac]
repository_type = git
repository_dir = /path/to/myrepo.git

but at all pages of trac i see: "Warning: Can't synchronize with the repository (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information"

in log/trac.log:

2008-09-19 16:58:47,882 Trac[svn_fs] INFO: Failed to load Subversion bindings
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/versioncontrol/svn_fs.py", line 253, in __init__
    _import_svn()
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/versioncontrol/svn_fs.py", line 69, in _import_svn
    from svn import fs, repos, core, delta
ImportError: No module named svn
2008-09-19 16:58:47,898 Trac[env] INFO: The legacy TracWebAdmin plugin has been automatically disabled, and the integrated administration interface will be used instead.
2008-09-19 17:02:02,287 Trac[svn_fs] INFO: Failed to load Subversion bindings
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/versioncontrol/svn_fs.py", line 253, in __init__
    _import_svn()
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/versioncontrol/svn_fs.py", line 69, in _import_svn
    from svn import fs, repos, core, delta
ImportError: No module named svn

don't know what to do

Change History (5)

comment:1 Changed 15 years ago by anonymous

Add

[components] tracext.git.* = enabled

to your conf/trac.ini file.

comment:2 Changed 15 years ago by anonymous

[components]
tracext.git.* = enabled

comment:3 Changed 14 years ago by jjrudi@…

excellent hint, thanks

comment:4 Changed 12 years ago by anonymous

Priority: normalhighest
Severity: normalmajor
Type: defectenhancement

comment:5 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.