Unable to browse git repositories

Issue #588 resolved
P Ka created an issue

Installed 1.4.3 (on CentOS 6.3)

Created new git repository and pushed content to it. Content showing up in git repo ok (while checking from terminal)

Unable to browser git repositories in RhoheCode UI as no repo content shown (changelog, files, ...). Using gunicorn and app server output says:

2012-10-02 18:06:35.313 INFO [rhodecode.lib.auth] user xxx is authenticated and granted access to ChangelogController:before using RegularAuth 2012-10-02 18:06:35.383 ERROR [rhodecode.lib.vcs.backends.git.repository] Traceback (most recent call last): File "/opt/rhodecode-venv/lib/python2.6/site-packages/rhodecode/lib/vcs/backends/git/repository.py", line 122, in run_git_command p = subprocessio.SubprocessIOChunker(cmd, **opts) File "/opt/rhodecode-venv/lib/python2.6/site-packages/rhodecode/lib/subprocessio.py", line 375, in init raise EnvironmentError("Subprocess exited due to an error:\n" + err) EnvironmentError: Subprocess exited due to an error:

Exception in thread Thread-18: Traceback (most recent call last): File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/opt/rhodecode-venv/lib/python2.6/site-packages/rhodecode/lib/subprocessio.py", line 122, in run b = s.read(cs) ValueError: I/O operation on closed file

Comments (5)

  1. Marcin Kuzminski repo owner

    Try upgrading you git to latest version, it might be that your git version doesn't supper -c flag which rhodecode is using

  2. P Ka reporter

    Thanks Marcin!

    CentOS / RHEL 6 comes with git 1.7.1 by default. Git needs to be upgraded (at least) to 1.7.6 in order to work with rhodecode

  3. Log in to comment