[Systems] [Systems-logs] [ERROR] commit_diffs#index (ActionView::TemplateError) "Grit::Git::GitTimeout"

Bernie Innocenti bernie at codewiz.org
Mon Jul 22 22:01:16 EDT 2013


Aleksey, is there a way to hush these errors?

On 07/22/13 13:50, Exception Notifier wrote:
> A ActionView::TemplateError occurred in commit_diffs#index:
> 
>   Grit::Git::GitTimeout
>   On line #27 of app/views/commit_diffs/index.html.erb
> 
>     24:   <p><%= t("views.commits.message", :path => tree_path(@commit.id)) %></p>
>     25: <% else -%>
>     26:   <% unless @commit.merge? -%>
>     27:     <%= render_diff_stats(@commit.stats) if sidebyside_diff? -%>
>     28:     <%= render_diffmode_selector :url => url_for(:controller => :commit_diffs, :action => :index) -%>
>     29:     <%= render :partial => "commits/diffs" -%>
>     30:   <% end -%>
> 
>     vendor/grit/lib/grit/git.rb:101:in `sh'
>     vendor/grit/lib/grit/git.rb:71:in `run'
>     /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
>     vendor/grit/lib/grit/git.rb:70:in `run'
>     vendor/grit/lib/grit/git.rb:57:in `method_missing'
>     vendor/grit/lib/grit/commit_stats.rb:39:in `find_all'
>     vendor/grit/lib/grit/repo.rb:154:in `commit_stats'
>     vendor/grit/lib/grit/commit.rb:191:in `stats'
>     app/views/commit_diffs/index.html.erb:27
>     actionpack (2.3.18) lib/action_view/renderable.rb:34:in `send'
>     actionpack (2.3.18) lib/action_view/renderable.rb:34:in `render'
>     actionpack (2.3.18) lib/action_view/base.rb:306:in `with_template'
>     actionpack (2.3.18) lib/action_view/renderable.rb:30:in `render'
>     actionpack (2.3.18) lib/action_view/template.rb:205:in `render_template'
>     actionpack (2.3.18) lib/action_view/base.rb:265:in `render'
>     actionpack (2.3.18) lib/action_view/base.rb:348:in `_render_with_layout'
>     actionpack (2.3.18) lib/action_view/base.rb:262:in `render'
>     actionpack (2.3.18) lib/action_controller/base.rb:1252:in `render_for_file'
>     actionpack (2.3.18) lib/action_controller/base.rb:978:in `render_without_benchmark'
>     actionpack (2.3.18) lib/action_controller/benchmarking.rb:51:in `render'
>     activesupport (2.3.18) lib/active_support/core_ext/benchmark.rb:17:in `ms'
>     /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
>     activesupport (2.3.18) lib/active_support/core_ext/benchmark.rb:17:in `ms'
>     actionpack (2.3.18) lib/action_controller/benchmarking.rb:51:in `render'
>     app/controllers/commit_diffs_controller.rb:34:in `index'
>     actionpack (2.3.18) lib/action_controller/base.rb:1333:in `send'
>     actionpack (2.3.18) lib/action_controller/base.rb:1333:in `perform_action_without_filters'
>     actionpack (2.3.18) lib/action_controller/filters.rb:617:in `call_filters'
>     actionpack (2.3.18) lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
>     actionpack (2.3.18) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
>     activesupport (2.3.18) lib/active_support/core_ext/benchmark.rb:17:in `ms'
>     /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
>     activesupport (2.3.18) lib/active_support/core_ext/benchmark.rb:17:in `ms'
>     actionpack (2.3.18) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
>     actionpack (2.3.18) lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
>     actionpack (2.3.18) lib/action_controller/flash.rb:151:in `perform_action'
>     actionpack (2.3.18) lib/action_controller/base.rb:532:in `send'
>     actionpack (2.3.18) lib/action_controller/base.rb:532:in `process_without_filters'
>     actionpack (2.3.18) lib/action_controller/filters.rb:606:in `process'
>     actionpack (2.3.18) lib/action_controller/base.rb:391:in `process'
>     actionpack (2.3.18) lib/action_controller/base.rb:386:in `call'
>     actionpack (2.3.18) lib/action_controller/routing/route_set.rb:438:in `call'
>     actionpack (2.3.18) lib/action_controller/dispatcher.rb:87:in `dispatch'
>     actionpack (2.3.18) lib/action_controller/dispatcher.rb:121:in `_call'
>     actionpack (2.3.18) lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
>     activerecord (2.3.18) lib/active_record/query_cache.rb:29:in `call'
>     activerecord (2.3.18) lib/active_record/query_cache.rb:29:in `call'
>     activerecord (2.3.18) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
>     activerecord (2.3.18) lib/active_record/query_cache.rb:9:in `cache'
>     activerecord (2.3.18) lib/active_record/query_cache.rb:28:in `call'
>     activerecord (2.3.18) lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
>     actionpack (2.3.18) lib/action_controller/string_coercion.rb:25:in `call'
>     rack (1.1.6) lib/rack/head.rb:9:in `call'
>     rack (1.1.6) lib/rack/methodoverride.rb:24:in `call'
>     actionpack (2.3.18) lib/action_controller/params_parser.rb:15:in `call'
>     rails (2.3.18) lib/rails/rack/metal.rb:47:in `call'
>     actionpack (2.3.18) lib/action_controller/session/cookie_store.rb:99:in `call'
>     activesupport (2.3.18) lib/active_support/cache/strategy/local_cache.rb:25:in `call'
>     actionpack (2.3.18) lib/action_controller/failsafe.rb:26:in `call'
>     rack (1.1.6) lib/rack/lock.rb:11:in `call'
>     rack (1.1.6) lib/rack/lock.rb:11:in `synchronize'
>     rack (1.1.6) lib/rack/lock.rb:11:in `call'
>     actionpack (2.3.18) lib/action_controller/dispatcher.rb:106:in `call'
>     /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:96:in `process_request'
>     /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:516:in `accept_and_process_next_request'
>     /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
>     /usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
>     /usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
>     /usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
>     /usr/lib/ruby/1.8/phusion_passenger/utils.rb:470:in `safe_fork'
>     /usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
>     /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in `__send__'
>     /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
>     /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
>     /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:180:in `start'
>     /usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
>     /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
>     /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
>     /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
>     /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
>     /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
>     /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
>     /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
>     /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
>     /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in `__send__'
>     /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
>     /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
>     /usr/share/phusion-passenger/helper-scripts/passenger-spawn-server:99
> 
> -------------------------------
> Request:
> -------------------------------
> 
>   * URL       : http://git.sugarlabs.org/batovide/batovide/commit/d4ab14183ade2c38c8e16ad05f813f4a836d156a/diffs?diffmode=sidebyside&fragment=1
>   * IP address: 66.249.72.177
>   * Parameters: {"diffmode"=>"sidebyside", "controller"=>"commit_diffs", "action"=>"index", "id"=>"d4ab14183ade2c38c8e16ad05f813f4a836d156a", "project_id"=>"batovide", "fragment"=>"1", "repository_id"=>"batovide"}
>   * Rails root: /srv/gitorious/app
> 
> -------------------------------
> Session:
> -------------------------------
> 
>   * session: {}
> 
> -------------------------------
> Environment:
> -------------------------------
> 
>   * DOCUMENT_ROOT                                  : /srv/gitorious/app/public
>   * HTTP_ACCEPT                                    : */*
>   * HTTP_ACCEPT_ENCODING                           : gzip,deflate
>   * HTTP_CONNECTION                                : Keep-alive
>   * HTTP_FROM                                      : googlebot(at)googlebot.com
>   * HTTP_HOST                                      : git.sugarlabs.org
>   * HTTP_USER_AGENT                                : Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
>   * PASSENGER_CONNECT_PASSWORD                     : [FILTERED]
>   * PATH_INFO                                      : /batovide/batovide/commit/d4ab14183ade2c38c8e16ad05f813f4a836d156a/diffs
>   * QUERY_STRING                                   : diffmode=sidebyside&fragment=1
>   * REMOTE_ADDR                                    : 66.249.72.177
>   * REMOTE_PORT                                    : 37563
>   * REQUEST_METHOD                                 : GET
>   * REQUEST_URI                                    : /batovide/batovide/commit/d4ab14183ade2c38c8e16ad05f813f4a836d156a/diffs?diffmode=sidebyside&fragment=1
>   * SCRIPT_NAME                                    : 
>   * SERVER_ADDR                                    : 18.85.44.69
>   * SERVER_ADMIN                                   : webmaster at sugarlabs.org
>   * SERVER_NAME                                    : git.sugarlabs.org
>   * SERVER_PORT                                    : 80
>   * SERVER_PROTOCOL                                : HTTP/1.1
>   * SERVER_SOFTWARE                                : Apache/2.2.22 (Ubuntu)
>   * _                                              : _
>   * action_controller.request.path_parameters      : controllercommit_diffsactionindexidd4ab14183ade2c38c8e16ad05f813f4a836d156aproject_idbatoviderepository_idbatovide
>   * action_controller.request.query_parameters     : diffmodesidebysidefragment1
>   * action_controller.request.request_parameters   : 
>   * action_controller.rescue.request               : #<ActionController::Request:0x7fc61f2f4788>
>   * action_controller.rescue.response              : #<ActionController::Response:0x7fc61f2f4738>
>   * action_dispatch.request.unsigned_session_cookie: 
>   * rack.errors                                    : #<IO:0x7fc62dafa9b0>
>   * rack.input                                     : #<PhusionPassenger::Utils::RewindableInput:0x7fc61f325310>
>   * rack.multiprocess                              : true
>   * rack.multithread                               : false
>   * rack.request.query_hash                        : diffmodesidebysidefragment1
>   * rack.request.query_string                      : diffmode=sidebyside&fragment=1
>   * rack.run_once                                  : false
>   * rack.session                                   : 
>   * rack.session.options                           : httponlytruepath/domain.git.sugarlabs.orgkey_session_ididexpire_after
>   * rack.url_scheme                                : http
>   * rack.version                                   : 10
>   
>   * Process: 31731
>   * Server : jita
> 
> -------------------------------
> Backtrace:
> -------------------------------
> 
>   On line #27 of app/views/commit_diffs/index.html.erb
>   
>       24:   <p><%= t("views.commits.message", :path => tree_path(@commit.id)) %></p>
>       25: <% else -%>
>       26:   <% unless @commit.merge? -%>
>       27:     <%= render_diff_stats(@commit.stats) if sidebyside_diff? -%>
>       28:     <%= render_diffmode_selector :url => url_for(:controller => :commit_diffs, :action => :index) -%>
>       29:     <%= render :partial => "commits/diffs" -%>
>       30:   <% end -%>
>   
>       vendor/grit/lib/grit/git.rb:101:in `sh'
>       vendor/grit/lib/grit/git.rb:71:in `run'
>       /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
>       vendor/grit/lib/grit/git.rb:70:in `run'
>       vendor/grit/lib/grit/git.rb:57:in `method_missing'
>       vendor/grit/lib/grit/commit_stats.rb:39:in `find_all'
>       vendor/grit/lib/grit/repo.rb:154:in `commit_stats'
>       vendor/grit/lib/grit/commit.rb:191:in `stats'
>       app/views/commit_diffs/index.html.erb:27
>       actionpack (2.3.18) lib/action_view/renderable.rb:34:in `send'
>       actionpack (2.3.18) lib/action_view/renderable.rb:34:in `render'
>       actionpack (2.3.18) lib/action_view/base.rb:306:in `with_template'
>       actionpack (2.3.18) lib/action_view/renderable.rb:30:in `render'
>       actionpack (2.3.18) lib/action_view/template.rb:205:in `render_template'
>       actionpack (2.3.18) lib/action_view/base.rb:265:in `render'
>       actionpack (2.3.18) lib/action_view/base.rb:348:in `_render_with_layout'
>       actionpack (2.3.18) lib/action_view/base.rb:262:in `render'
>       actionpack (2.3.18) lib/action_controller/base.rb:1252:in `render_for_file'
>       actionpack (2.3.18) lib/action_controller/base.rb:978:in `render_without_benchmark'
>       actionpack (2.3.18) lib/action_controller/benchmarking.rb:51:in `render'
>       activesupport (2.3.18) lib/active_support/core_ext/benchmark.rb:17:in `ms'
>       /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
>       activesupport (2.3.18) lib/active_support/core_ext/benchmark.rb:17:in `ms'
>       actionpack (2.3.18) lib/action_controller/benchmarking.rb:51:in `render'
>       app/controllers/commit_diffs_controller.rb:34:in `index'
>       actionpack (2.3.18) lib/action_controller/base.rb:1333:in `send'
>       actionpack (2.3.18) lib/action_controller/base.rb:1333:in `perform_action_without_filters'
>       actionpack (2.3.18) lib/action_controller/filters.rb:617:in `call_filters'
>       actionpack (2.3.18) lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
>       actionpack (2.3.18) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
>       activesupport (2.3.18) lib/active_support/core_ext/benchmark.rb:17:in `ms'
>       /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
>       activesupport (2.3.18) lib/active_support/core_ext/benchmark.rb:17:in `ms'
>       actionpack (2.3.18) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
>       actionpack (2.3.18) lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
>       actionpack (2.3.18) lib/action_controller/flash.rb:151:in `perform_action'
>       actionpack (2.3.18) lib/action_controller/base.rb:532:in `send'
>       actionpack (2.3.18) lib/action_controller/base.rb:532:in `process_without_filters'
>       actionpack (2.3.18) lib/action_controller/filters.rb:606:in `process'
>       actionpack (2.3.18) lib/action_controller/base.rb:391:in `process'
>       actionpack (2.3.18) lib/action_controller/base.rb:386:in `call'
>       actionpack (2.3.18) lib/action_controller/routing/route_set.rb:438:in `call'
>       actionpack (2.3.18) lib/action_controller/dispatcher.rb:87:in `dispatch'
>       actionpack (2.3.18) lib/action_controller/dispatcher.rb:121:in `_call'
>       actionpack (2.3.18) lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
>       activerecord (2.3.18) lib/active_record/query_cache.rb:29:in `call'
>       activerecord (2.3.18) lib/active_record/query_cache.rb:29:in `call'
>       activerecord (2.3.18) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
>       activerecord (2.3.18) lib/active_record/query_cache.rb:9:in `cache'
>       activerecord (2.3.18) lib/active_record/query_cache.rb:28:in `call'
>       activerecord (2.3.18) lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
>       actionpack (2.3.18) lib/action_controller/string_coercion.rb:25:in `call'
>       rack (1.1.6) lib/rack/head.rb:9:in `call'
>       rack (1.1.6) lib/rack/methodoverride.rb:24:in `call'
>       actionpack (2.3.18) lib/action_controller/params_parser.rb:15:in `call'
>       rails (2.3.18) lib/rails/rack/metal.rb:47:in `call'
>       actionpack (2.3.18) lib/action_controller/session/cookie_store.rb:99:in `call'
>       activesupport (2.3.18) lib/active_support/cache/strategy/local_cache.rb:25:in `call'
>       actionpack (2.3.18) lib/action_controller/failsafe.rb:26:in `call'
>       rack (1.1.6) lib/rack/lock.rb:11:in `call'
>       rack (1.1.6) lib/rack/lock.rb:11:in `synchronize'
>       rack (1.1.6) lib/rack/lock.rb:11:in `call'
>       actionpack (2.3.18) lib/action_controller/dispatcher.rb:106:in `call'
>       /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:96:in `process_request'
>       /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:516:in `accept_and_process_next_request'
>       /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
>       /usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
>       /usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
>       /usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
>       /usr/lib/ruby/1.8/phusion_passenger/utils.rb:470:in `safe_fork'
>       /usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
>       /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in `__send__'
>       /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
>       /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
>       /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:180:in `start'
>       /usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
>       /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
>       /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
>       /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
>       /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
>       /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
>       /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
>       /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
>       /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
>       /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in `__send__'
>       /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
>       /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
>       /usr/share/phusion-passenger/helper-scripts/passenger-spawn-server:99
> 
> 
> _______________________________________________
> Systems-logs mailing list
> Systems-logs at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/systems-logs
> 


-- 
 _ // Bernie Innocenti
 \X/  http://codewiz.org


More information about the Systems mailing list