Defect #3906
closedCannot browse Git repositories in r2898
0%
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
Updated by Rahul Vaidya about 15 years ago
Running Redmine on Windows with msysgit binaries in path, if that matters.
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
?
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)
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)
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.
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.
Updated by Toshi MARUYAMA almost 14 years ago
- Status changed from Resolved to Closed