{"action":"opened","issue":{"url":"https://api.github.com/repos/vmtyler/vascodagama/issues/6","labels_url":"https://api.github.com/repos/vmtyler/vascodagama/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/vmtyler/vascodagama/issues/6/comments","events_url":"https://api.github.com/repos/vmtyler/vascodagama/issues/6/events","html_url":"https://github.com/vmtyler/vascodagama/issues/6","id":67380129,"number":6,"title":"twitter-dashboard craps out if the rq db is cleared","user":{"login":"vmtyler","id":1933680,"avatar_url":"https://avatars.githubusercontent.com/u/1933680?v=3","gravatar_id":"","url":"https://api.github.com/users/vmtyler","html_url":"https://github.com/vmtyler","followers_url":"https://api.github.com/users/vmtyler/followers","following_url":"https://api.github.com/users/vmtyler/following{/other_user}","gists_url":"https://api.github.com/users/vmtyler/gists{/gist_id}","starred_url":"https://api.github.com/users/vmtyler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmtyler/subscriptions","organizations_url":"https://api.github.com/users/vmtyler/orgs","repos_url":"https://api.github.com/users/vmtyler/repos","events_url":"https://api.github.com/users/vmtyler/events{/privacy}","received_events_url":"https://api.github.com/users/vmtyler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-09T14:57:48Z","updated_at":"2015-04-09T14:57:48Z","closed_at":null,"body":"Need to add some input checking \r\n\r\n```\r\n2015-04-09T10:56:17.69-0400 [App/0]      ERR Traceback (most recent call last):\r\n2015-04-09T10:56:17.69-0400 [App/0]      ERR   File \"run_dashboard.py\", line 6, in <module>\r\n2015-04-09T10:56:17.69-0400 [App/0]      ERR     update_dashboard()\r\n2015-04-09T10:56:17.69-0400 [App/0]      ERR   File \"/home/vcap/app/dashboard/__init__.py\", line 140, in update_dashboard\r\n2015-04-09T10:56:17.69-0400 [App/0]      ERR     tweet_count = get_tweet_count()\r\n2015-04-09T10:56:17.69-0400 [App/0]      ERR   File \"/home/vcap/app/dashboard/__init__.py\", line 208, in get_tweet_count\r\n2015-04-09T10:56:17.69-0400 [App/0]      ERR     return int(r.get(\"stats:tweets\")) #simple get from redis\r\n2015-04-09T10:56:17.69-0400 [App/0]      ERR TypeError: int() argument must be a string or a number, not 'NoneType'\r\n```"}}