id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
9560	GitPlugin not loading, error in git_fs.py:415	mihail.kotov@gmail.com	hvr	When installing GitPlugin on Trac 0.12:\r\n{{{\r\neasy_install-2.4 hvr-trac-git-plugin-v0.12.0.5-20-g722342e.tar.gz \r\nProcessing hvr-trac-git-plugin-v0.12.0.5-20-g722342e.tar.gz\r\nRunning hvr-trac-git-plugin-722342e/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8nGFm-/hvr-trac-git-plugin-722342e/egg-dist-tmp-EGId1i\r\nbuild/bdist.linux-i686/egg/tracext/git/git_fs.py:415: Warning: 'with' will become a reserved keyword in Python 2.6\r\n  File "build/bdist.linux-i686/egg/tracext/git/git_fs.py", line 415\r\n    with self.git.get_historian(old_rev, old_path.strip('/')) as old_historian:\r\n            ^\r\nSyntaxError: invalid syntax\r\n\r\n  File "build/bdist.linux-i686/egg/tracext/git/PyGIT.py", line 64\r\n    p = self.__pipe(git_cmd, *cmd_args, stdout=PIPE, stderr=PIPE)\r\n                                             ^\r\nSyntaxError: invalid syntax\r\n}}}\r\n\r\n\r\nOn Trac pages:\r\n{{{\r\nWarning: Can't synchronize with repository "(default)" (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.\r\n}}}\r\nTrac log:\r\n\r\n{{{\r\n2011-11-28 18:27:00,974 Trac[loader] ERROR: Skipping "git = tracext.git.git_fs": \r\nTraceback (most recent call last):\r\n  File "build/bdist.linux-i686/egg/trac/loader.py", line 70, in _load_eggs\r\n    entry.load(require=True)\r\n  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1912, in load\r\n    entry = __import__(self.module_name, globals(),globals(), ['__name__'])\r\n  File "/usr/lib/python2.5/site-packages/TracGit-0.12.0.5dev-py2.5.egg/tracext/git/git_fs.py", line 415\r\n     with self.git.get_historian(old_rev, old_path.strip('/')) as old_historian:\r\n             ^\r\nSyntaxError: invalid syntax (git_fs.py, line 415))\r\n}}}\r\n\r\n\r\n\r\n\r\n||Trac||_0.12||\r\n||Genshi||_0.6||\r\n||mod_python||_3.3.1||\r\n||MySQL||_server: "5.0.51a-24+lenny5-log", client: "5.0.51a", thread-safe: 1||\r\n||MySQLdb||_1.2.2||\r\n||Pygments||_0.10||\r\n||Python||_2.5.2 (r252:60911, Jan 24 2010, 15:24:24) [GCC 4.3.2]||\r\n||pytz||_2008c||\r\n||setuptools||_0.6c8||\r\n||Subversion||_1.5.1 (r32289)||\r\n||jQuery:||_1.4.2||	defect	new	high	GitPlugin	blocker			andersk@mit.edu	0.12
