Opened 17 years ago
Closed 17 years ago
#8060 closed defect (invalid)
AssertionError: Trying to enable TracGit
| Reported by: | admin | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.11 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
How to Reproduce
While doing a GET operation on /admin/general/plugin, Trac issued an internal error.
I have been trying to install the Trac-Git plugin, but kept coming up with the "Can't synchronize with the repository (Unsupported version control system "git". Check that the Python support libraries for "git" are correctly installed.) error. I had run apt-get install trac-git on ubuntu 8.10 amd64. also run python easy_install against the setup.py of tracgit 0.11 i have also attached my trac project."
Request parameters:
{'cat_id': u'general', 'panel_id': u'plugin', 'path_info': None}
User Agent was: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.10 (intrepid) Firefox/3.0.6
System Information
| Trac | 0.11
|
| Python | 2.5.2 (r252:60911, Oct 5 2008, 19:49:54) [GCC 4.3.2]
|
| setuptools | 0.6c9
|
| SQLite | 3.5.9
|
| pysqlite | 2.4.1
|
| Genshi | 0.5
|
| mod_python | 3.3.1
|
| Pygments | 0.10
|
| GIT | 1.5.6.3
|
| jQuery: | 1.2.3
|
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 423, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 173, in dispatch
chosen_handler)
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 286, in _pre_process_request
chosen_handler = filter_.pre_process_request(req, chosen_handler)
File "/usr/lib/python2.5/site-packages/trac/versioncontrol/api.py", line 79, in pre_process_request
self.get_repository(req.authname).sync()
File "/usr/lib/python2.5/site-packages/trac/versioncontrol/cache.py", line 110, in sync
repos_youngest = self.repos.youngest_rev
File "/usr/lib/python2.5/site-packages/trac/versioncontrol/api.py", line 264, in <lambda>
youngest_rev = property(lambda x: x.get_youngest_rev())
File "build/bdist.linux-x86_64/egg/tracext/git/git_fs.py", line 189, in get_youngest_rev
return self.git.youngest_rev()
File "build/bdist.linux-x86_64/egg/tracext/git/PyGIT.py", line 331, in youngest_rev
return self.rev_cache[0]
File "build/bdist.linux-x86_64/egg/tracext/git/PyGIT.py", line 316, in get_rev_cache
assert all(e is not None for e in self.__rev_cache)
AssertionError
Attachments (1)
Change History (2)
by , 17 years ago
| Attachment: | gitTracTest.tar.gz added |
|---|
comment:1 by , 17 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |



My trac project environment