{"action":"created","issue":{"url":"https://api.github.com/repos/focuslight/focuslight/issues/32","repository_url":"https://api.github.com/repos/focuslight/focuslight","labels_url":"https://api.github.com/repos/focuslight/focuslight/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/focuslight/focuslight/issues/32/comments","events_url":"https://api.github.com/repos/focuslight/focuslight/issues/32/events","html_url":"https://github.com/focuslight/focuslight/pull/32","id":143666676,"number":32,"title":"Fix default vaule of upper_limit and lower_limit.","user":{"login":"koichiro","id":9646,"avatar_url":"https://avatars.githubusercontent.com/u/9646?v=3","gravatar_id":"","url":"https://api.github.com/users/koichiro","html_url":"https://github.com/koichiro","followers_url":"https://api.github.com/users/koichiro/followers","following_url":"https://api.github.com/users/koichiro/following{/other_user}","gists_url":"https://api.github.com/users/koichiro/gists{/gist_id}","starred_url":"https://api.github.com/users/koichiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koichiro/subscriptions","organizations_url":"https://api.github.com/users/koichiro/orgs","repos_url":"https://api.github.com/users/koichiro/repos","events_url":"https://api.github.com/users/koichiro/events{/privacy}","received_events_url":"https://api.github.com/users/koichiro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-26T05:51:37Z","updated_at":"2016-06-08T04:08:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/focuslight/focuslight/pulls/32","html_url":"https://github.com/focuslight/focuslight/pull/32","diff_url":"https://github.com/focuslight/focuslight/pull/32.diff","patch_url":"https://github.com/focuslight/focuslight/pull/32.patch"},"body":"It does not draw graph using rrdtool-1.5.5.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/9646/14058350/b778649e-f360-11e5-82ac-a4e75ff75e99.png)\r\n\r\n```\r\n11:34:29 web.1     | 2016-03-26 11:34:29 - RuntimeError - RRDtool returns error to draw graph, error: option -u - Cannot convert '' to float:\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/focuslight-0.1.4/lib/focuslight/rrd.rb:255:in `graph'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/focuslight-0.1.4/lib/focuslight/web.rb:433:in `block in <class:Web>'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `call'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `block in compile!'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (3 levels) in route!'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in `route_eval'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (2 levels) in route!'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in `block in process_route'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `catch'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `process_route'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in `block in route!'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `each'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `route!'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in `block in dispatch!'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in `dispatch!'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `block in call!'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `call!'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in `call'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/nulllogger.rb:9:in `call'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in `call'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in `call'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `block in call'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in `synchronize'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `call'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:562:in `process_client'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/unicorn-worker-killer-0.4.4/lib/unicorn/worker_killer.rb:52:in `process_client'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/unicorn-worker-killer-0.4.4/lib/unicorn/worker_killer.rb:92:in `process_client'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:658:in `worker_loop'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:508:in `spawn_missing_workers'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/unicorn-5.0.1/lib/unicorn/http_server.rb:132:in `start'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/unicorn-5.0.1/bin/unicorn:126:in `<top (required)>'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/bin/unicorn:23:in `load'\r\n11:34:29 web.1     | \t/Users/koichiro/.rbenv/versions/2.3.0/bin/unicorn:23:in `<main>'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/focuslight/focuslight/issues/comments/224482183","html_url":"https://github.com/focuslight/focuslight/pull/32#issuecomment-224482183","issue_url":"https://api.github.com/repos/focuslight/focuslight/issues/32","id":224482183,"user":{"login":"sonots","id":2290461,"avatar_url":"https://avatars.githubusercontent.com/u/2290461?v=3","gravatar_id":"","url":"https://api.github.com/users/sonots","html_url":"https://github.com/sonots","followers_url":"https://api.github.com/users/sonots/followers","following_url":"https://api.github.com/users/sonots/following{/other_user}","gists_url":"https://api.github.com/users/sonots/gists{/gist_id}","starred_url":"https://api.github.com/users/sonots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonots/subscriptions","organizations_url":"https://api.github.com/users/sonots/orgs","repos_url":"https://api.github.com/users/sonots/repos","events_url":"https://api.github.com/users/sonots/events{/privacy}","received_events_url":"https://api.github.com/users/sonots/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T04:08:18Z","updated_at":"2016-06-08T04:08:18Z","body":"We need to investigate the reason why the default was 2.\r\nDoes growth forecast set the default to 2?\r\nIf so, we should also set the default to 2 for compatibility with growth forecast."}}
{"actor":{"display_login":"sonots"}}