{"action":"closed","issue":{"url":"https://api.github.com/repos/toomore/grs/issues/32","repository_url":"https://api.github.com/repos/toomore/grs","labels_url":"https://api.github.com/repos/toomore/grs/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/toomore/grs/issues/32/comments","events_url":"https://api.github.com/repos/toomore/grs/issues/32/events","html_url":"https://github.com/toomore/grs/issues/32","id":161481316,"number":32,"title":"stock.price error","user":{"login":"mannyhsu","id":999138,"avatar_url":"https://avatars.githubusercontent.com/u/999138?v=3","gravatar_id":"","url":"https://api.github.com/users/mannyhsu","html_url":"https://github.com/mannyhsu","followers_url":"https://api.github.com/users/mannyhsu/followers","following_url":"https://api.github.com/users/mannyhsu/following{/other_user}","gists_url":"https://api.github.com/users/mannyhsu/gists{/gist_id}","starred_url":"https://api.github.com/users/mannyhsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mannyhsu/subscriptions","organizations_url":"https://api.github.com/users/mannyhsu/orgs","repos_url":"https://api.github.com/users/mannyhsu/repos","events_url":"https://api.github.com/users/mannyhsu/events{/privacy}","received_events_url":"https://api.github.com/users/mannyhsu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-21T16:24:01Z","updated_at":"2016-09-11T10:38:32Z","closed_at":"2016-09-11T10:38:32Z","body":"ticker = '2317'\r\nmonth =12\r\nstock = Stock(ticker, month)\r\nprint stock.price\r\n會出現 error message\r\n==================\r\nTraceback (most recent call last):\r\n  File \"<pyshell#21>\", line 1, in <module>\r\n    print stock.price\r\n  File \"C:\\Python27\\lib\\site-packages\\grs\\fetch_data.py\", line 391, in price\r\n    return self.__serial_price()\r\n  File \"C:\\Python27\\lib\\site-packages\\grs\\fetch_data.py\", line 291, in __serial_price\r\n    return list(result)\r\n  File \"C:\\Python27\\lib\\site-packages\\grs\\fetch_data.py\", line 290, in <genexpr>\r\n    result = (float(i[rows]) for i in self.__raw_data)\r\nValueError: could not convert string to float: --"}}
{"actor":{"display_login":"toomore"}}