Project

General

Profile

Actions

Defect #10806

closed

svn: 500 Internal Server Error on repository/statistics

Added by Stephane Malinet over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Hi,

I have a partial 500 Internal Server Error in "/projects/puppet/repository/statistics" :

Started GET "/projects/puppet/repository/statistics" for unix: at Tue May 01 19:07:12 +0200 2012
Processing by RepositoriesController#stats as HTML
  Parameters: {"id"=>"puppet"}
  Rendered repositories/stats.html.erb within layouts/base (9.1ms)
Completed 200 OK in 449ms (Views: 126.4ms | ActiveRecord: 274.0ms)

Started GET "/projects/puppet/repository/graph?graph=commits_per_month" for unix: at Tue May 01 19:07:12 +0200 2012
Processing by RepositoriesController#graph as HTML
  Parameters: {"graph"=>"commits_per_month", "id"=>"puppet"}

Started GET "/projects/puppet/repository/graph?graph=commits_per_author" for unix:sitory at Tue May 01 19:07:12 +0200 2012
Completed 500 Internal Server Error in 132ms

ArgumentError (wrong number of arguments (0 for 1)):
  app/controllers/repositories_controller.rb:350:in `months_ago'
  app/controllers/repositories_controller.rb:350:in `graph_commits_per_month'
  app/controllers/repositories_controller.rb:350:in `graph_commits_per_month'
  app/controllers/repositories_controller.rb:280:in `graph'

More informations :

Environment:
  Redmine version                          2.0.0.devel.9608
  Ruby version                             1.8.7 (x86_64-linux)
  Rails version                            3.2.3
  Environment                              production
  Database adapter                         MySQL
Redmine plugins:
  no plugin installed
Actions #1

Updated by Stephane Malinet over 12 years ago

My subjet is incorrect : my repository is git.

Actions #2

Updated by Jean-Philippe Lang over 12 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Fixed in r9610, thanks for pointing this out.

Actions #3

Updated by Stephane Malinet over 12 years ago

r9610 works perfect! thnank you!

Actions

Also available in: Atom PDF