Project

General

Profile

Actions

Defect #3906

closed

Cannot browse Git repositories in r2898

Defect #3906: Cannot browse Git repositories in r2898

Added by Rahul Vaidya about 17 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Resolution:
Affected version:

Description

Works fine in the 0.8.5 release. When clicking the Repository link, I get this:

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your redMine administrator for assistance.


Related issues 1 (0 open — 1 closed)

Related to Redmine - Feature #7517: Configurable path of executable for scm adaptersClosedToshi MARUYAMAActions

Updated by Rahul Vaidya about 17 years ago Actions #1

Running Redmine on Windows with msysgit binaries in path, if that matters.

Updated by Eric Davis about 17 years ago Actions #2

Can you post the error from your log file (log/production.log) as well as the full output from script/about?

Updated by Rahul Vaidya about 17 years ago Actions #3

I cannot run script/about, it asks for libmysql.dll, and I do not have MySQL installed...

Error from error log:
Processing RepositoriesController#show (for 192.168.1.125 at 2009-09-22 17:34:12) [GET]
Parameters: {"action"=>"show", "id"=>"myproject", "controller"=>"repositories"}

NoMethodError (private method `chomp' called for nil:NilClass):
lib/redmine/scm/adapters/git_adapter.rb:115:in `num_revisions'
lib/redmine/scm/adapters/abstract_adapter.rb:193:in `call'
lib/redmine/scm/adapters/abstract_adapter.rb:193:in `shellout'
lib/redmine/scm/adapters/abstract_adapter.rb:191:in `popen'
lib/redmine/scm/adapters/abstract_adapter.rb:191:in `shellout'
lib/redmine/scm/adapters/abstract_adapter.rb:177:in `shellout'
lib/redmine/scm/adapters/git_adapter.rb:115:in `num_revisions'
app/models/repository/git.rb:47:in `fetch_changesets'
app/controllers/repositories_controller.rb:68:in `show'

Rendering C:/Ruby/redmine-trunk/redmine/public/500.html (500 Internal Server Error)

Updated by Babar O'Cap about 17 years ago Actions #4

Have you added this :

;%GIT_PATH%\cmd;%GIT_PATH%\bin;
to your %PATH% environment variable ?
Where %GIT_PATH% is the install directory of Git (eg: C:\Git)

Updated by Rahul Vaidya about 17 years ago Actions #5

I have 0.8.5 stable and trunk installed as two services on the same machine. 0.8.5 works with git repo browsing. The git binary path is in the system-wide PATH variable.

Updated by Rahul Vaidya about 17 years ago Actions #6

  • Status changed from New to Resolved

Sorry, the /cmd path was in PATH but not /bin. Seems to work now.

Updated by Toshi MARUYAMA almost 16 years ago Actions #7

  • Status changed from Resolved to Closed

Svn trunk r4795 adds a feature of configurable path of executable for scm adapters (#7517).

Actions

Also available in: PDF Atom