{"action":"created","issue":{"url":"https://api.github.com/repos/OpenSourcePolicyCenter/Tax-Calculator/issues/405","labels_url":"https://api.github.com/repos/OpenSourcePolicyCenter/Tax-Calculator/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/OpenSourcePolicyCenter/Tax-Calculator/issues/405/comments","events_url":"https://api.github.com/repos/OpenSourcePolicyCenter/Tax-Calculator/issues/405/events","html_url":"https://github.com/OpenSourcePolicyCenter/Tax-Calculator/issues/405","id":112147216,"number":405,"title":"Bug in Travis-CI or in SimpleTaxIO calculate method","user":{"login":"martinholmer","id":12170745,"avatar_url":"https://avatars.githubusercontent.com/u/12170745?v=3","gravatar_id":"","url":"https://api.github.com/users/martinholmer","html_url":"https://github.com/martinholmer","followers_url":"https://api.github.com/users/martinholmer/followers","following_url":"https://api.github.com/users/martinholmer/following{/other_user}","gists_url":"https://api.github.com/users/martinholmer/gists{/gist_id}","starred_url":"https://api.github.com/users/martinholmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinholmer/subscriptions","organizations_url":"https://api.github.com/users/martinholmer/orgs","repos_url":"https://api.github.com/users/martinholmer/repos","events_url":"https://api.github.com/users/martinholmer/events{/privacy}","received_events_url":"https://api.github.com/users/martinholmer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenSourcePolicyCenter/Tax-Calculator/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-19T13:44:13Z","updated_at":"2015-10-19T17:40:07Z","closed_at":null,"body":"Pull request #404 uncomments a single line of code in test_simpletaxio.py test_3.  The activated test_3 passes just fine on my Mac computer running Python 2.7 (as documented in the pull request #404 comment).\r\n\r\nWhy is the Travis-CI test failing?  Is it a bug in Travis-CI or a bug in the SimpleTaxIO calculate method?\r\n\r\nThe SimpleTaxIO calculate method is working fine when called from the validation/tests script on the computers of @MattHJensen and Martin Holmer, and perhaps others.\r\n\r\nThis is a critical test because its omission has already caused other check-ins to break the SimpleTaxIO class (for example, pull request #379 broke the SimpleTaxIO class and pull request #379 had to be repaired by pull request #389).  The whole point of the Travis-CI system is to prevent this sort of thing from happening.\r\n\r\nNote: this problem was pointed out to @talumbau last week, but he got involved in the rush to release the TaxBrain webapp."},"comment":{"url":"https://api.github.com/repos/OpenSourcePolicyCenter/Tax-Calculator/issues/comments/149292840","html_url":"https://github.com/OpenSourcePolicyCenter/Tax-Calculator/issues/405#issuecomment-149292840","issue_url":"https://api.github.com/repos/OpenSourcePolicyCenter/Tax-Calculator/issues/405","id":149292840,"user":{"login":"talumbau","id":1891418,"avatar_url":"https://avatars.githubusercontent.com/u/1891418?v=3","gravatar_id":"","url":"https://api.github.com/users/talumbau","html_url":"https://github.com/talumbau","followers_url":"https://api.github.com/users/talumbau/followers","following_url":"https://api.github.com/users/talumbau/following{/other_user}","gists_url":"https://api.github.com/users/talumbau/gists{/gist_id}","starred_url":"https://api.github.com/users/talumbau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talumbau/subscriptions","organizations_url":"https://api.github.com/users/talumbau/orgs","repos_url":"https://api.github.com/users/talumbau/repos","events_url":"https://api.github.com/users/talumbau/events{/privacy}","received_events_url":"https://api.github.com/users/talumbau/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T17:40:07Z","updated_at":"2015-10-19T17:40:07Z","body":"Although I can't quantify exactly why, this fix:\r\n\r\nhttps://github.com/OpenSourcePolicyCenter/Tax-Calculator/pull/406\r\n\r\nresolves the issue. For some reason, the compiler does not it when certain record columns are int32 instead of int64. This occurs on a Linux 64 machine and a OS X 64 machine. I wondered if the tests were passing on a 32 bit machine, which is why I was asking about Marin's platform when running the tests locally."}}