Project

General

Profile

Actions

Defect #3906

closed

Cannot browse Git repositories in r2898

Added by Rahul Vaidya about 15 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2009-09-23
Due date:
% Done:

0%

Estimated time:
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

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

Actions
Actions #1

Updated by Rahul Vaidya about 15 years ago

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

Actions #2

Updated by Eric Davis about 15 years ago

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

Actions #3

Updated by Rahul Vaidya about 15 years ago

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)

Actions #4

Updated by Babar O'Cap about 15 years ago

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)

Actions #5

Updated by Rahul Vaidya about 15 years ago

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.

Actions #6

Updated by Rahul Vaidya about 15 years ago

  • Status changed from New to Resolved

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

Actions #7

Updated by Toshi MARUYAMA almost 14 years ago

  • 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: Atom PDF