Edgewall Software

Opened 13 years ago

Closed 13 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:


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: 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
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
  File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 173, in dispatch
  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
  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)

Attachments (1)

gitTracTest.tar.gz (139.6 KB ) - added by munderwood@… 13 years ago.
My trac project environment

Download all attachments as: .zip

Change History (2)

by munderwood@…, 13 years ago

Attachment: gitTracTest.tar.gz added

My trac project environment

comment:1 by Emmanuel Blot, 13 years ago

Resolution: invalid
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.