id summary reporter owner description type status priority component severity resolution keywords cc release 9641 Source browser fails with SMB hosted git repository jan.hurst@… Herbert Valerio Riedel "I have configured my Trac, TracGit on a Windows XP + Apache machine, and a git repository that lives on a Windows hosted SMB share. I can use trac-admin $ENV repository add/remove/list/resync with no problems and the resync appears to work correctly. However when I got to the web interface, the browse source tab is not available. When I manually enter http://my_env_url/browser I receive: {{{ GitError: GIT control files not found, maybe wrong directory? }}} Similarly, in the trac.log file (with DEBUG loggin) I see: {{{ 2011-12-28 10:50:31,065 Trac[git_fs] INFO: detected GIT version 1.7.7.1.msysgit.0 2011-12-28 10:50:31,065 Trac[PyGIT] ERROR: GIT control files missing in '\\smbserver\share\repo.git' 2011-12-28 10:50:31,065 Trac[main] ERROR: Internal Server Error: Traceback (most recent call last): File ""C:\Python27\lib\site-packages\trac\web\main.py"", line 511, in _dispatch_request dispatcher.dispatch(req) File ""C:\Python27\lib\site-packages\trac\web\main.py"", line 237, in dispatch resp = chosen_handler.process_request(req) File ""C:\Python27\lib\site-packages\trac\versioncontrol\web_ui\browser.py"", line 341, in process_request reponame, repos, path = rm.get_repository_by_path(path) File ""C:\Python27\lib\site-packages\trac\versioncontrol\api.py"", line 552, in get_repository_by_path return (reponame, self.get_repository(reponame), File ""C:\Python27\lib\site-packages\trac\versioncontrol\api.py"", line 526, in get_repository repos = connector.get_repository(rtype, rdir, repoinfo.copy()) File ""build\bdist.win32\egg\tracext\git\git_fs.py"", line 244, in get_repository use_committer_time=self._use_committer_time, File ""build\bdist.win32\egg\tracext\git\git_fs.py"", line 360, in __init__ git_fs_encoding=git_fs_encoding).getInstance() File ""build\bdist.win32\egg\tracext\git\PyGIT.py"", line 139, in __init__ i = Storage(repo, log, git_bin, git_fs_encoding) File ""build\bdist.win32\egg\tracext\git\PyGIT.py"", line 252, in __init__ raise GitError(""GIT control files not found, maybe wrong directory?"") GitError: GIT control files not found, maybe wrong directory? 2011-12-28 10:50:31,111 Trac[chrome] DEBUG: Prepare chrome data for request 2011-12-28 10:50:31,127 Trac[PyGIT] ERROR: GIT control files missing in '\\smbserver\share\repo.git' 2011-12-28 10:50:31,127 Trac[chrome] ERROR: Error with navigation contributor BrowserModule: GitError: GIT control files not found, maybe wrong directory? }}} If I take a copy of the git repository to a local dir I end up with some Windows permission problems that I also have yet to resolve (fairly sure this is just getting the right system account with the right permissions on the local folder) Any suggestions would be great?! " defect closed normal GitPlugin normal wontfix 0.11