{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/rasterio/issues/229","labels_url":"https://api.github.com/repos/mapbox/rasterio/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/rasterio/issues/229/comments","events_url":"https://api.github.com/repos/mapbox/rasterio/issues/229/events","html_url":"https://github.com/mapbox/rasterio/issues/229","id":52778364,"number":229,"title":"test fails on i386","user":{"login":"johanvdw","id":868434,"avatar_url":"https://avatars.githubusercontent.com/u/868434?v=3","gravatar_id":"","url":"https://api.github.com/users/johanvdw","html_url":"https://github.com/johanvdw","followers_url":"https://api.github.com/users/johanvdw/followers","following_url":"https://api.github.com/users/johanvdw/following{/other_user}","gists_url":"https://api.github.com/users/johanvdw/gists{/gist_id}","starred_url":"https://api.github.com/users/johanvdw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanvdw/subscriptions","organizations_url":"https://api.github.com/users/johanvdw/orgs","repos_url":"https://api.github.com/users/johanvdw/repos","events_url":"https://api.github.com/users/johanvdw/events{/privacy}","received_events_url":"https://api.github.com/users/johanvdw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-23T21:59:34Z","updated_at":"2015-01-15T22:19:47Z","closed_at":null,"body":"When building on ubuntu trusty (14.04), everything works fine on the amd64 architecture. However, if I run the same tests on i386 I get this error:\r\n=================================== FAILURES ===================================\r\n________________ ReaderContextTest.test_read_out_shape_resample ________________\r\n\r\nself = <tests.test_read.ReaderContextTest testMethod=test_read_out_shape_resample>\r\n\r\n    def test_read_out_shape_resample(self):\r\n        with rasterio.open('tests/data/RGB.byte.tif') as s:\r\n            a = numpy.zeros((7, 8), dtype=rasterio.ubyte)\r\n            s.read_band(1, a)\r\n            self.assert_(\r\n                repr(a) == \"\"\"array([[  0,   8,   5,   7,   0,   0,   0,   0],\r\n           [  0,   6,  61,  15,  27,  15,  24, 128],\r\n           [  0,  20, 152,  23,  15,  19,  28,   0],\r\n           [  0,  17, 255,  25, 255,  22,  32,   0],\r\n           [  9,   7,  14,  16,  19,  18,  36,   0],\r\n           [  6,  27,  43, 207,  38,  31,  73,   0],\r\n>          [  0,   0,   0,   0,  74,  23,   0,   0]], dtype=uint8)\"\"\", a)\r\nE           ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()\r\n\r\ntests/test_read.py:104: ValueError\r\n\r\nFull buildlog here: \r\nhttps://launchpadlibrarian.net/193257737/buildlog_ubuntu-trusty-i386.rasterio_0.16-0~trusty_FAILEDTOBUILD.txt.gz\r\ncompare with a succesful build (from same source) on amd64: \r\nhttps://launchpadlibrarian.net/193257699/buildlog_ubuntu-trusty-amd64.rasterio_0.16-0~trusty_UPLOADING.txt.gz"},"comment":{"url":"https://api.github.com/repos/mapbox/rasterio/issues/comments/70173467","html_url":"https://github.com/mapbox/rasterio/issues/229#issuecomment-70173467","issue_url":"https://api.github.com/repos/mapbox/rasterio/issues/229","id":70173467,"user":{"login":"johanvdw","id":868434,"avatar_url":"https://avatars.githubusercontent.com/u/868434?v=3","gravatar_id":"","url":"https://api.github.com/users/johanvdw","html_url":"https://github.com/johanvdw","followers_url":"https://api.github.com/users/johanvdw/followers","following_url":"https://api.github.com/users/johanvdw/following{/other_user}","gists_url":"https://api.github.com/users/johanvdw/gists{/gist_id}","starred_url":"https://api.github.com/users/johanvdw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanvdw/subscriptions","organizations_url":"https://api.github.com/users/johanvdw/orgs","repos_url":"https://api.github.com/users/johanvdw/repos","events_url":"https://api.github.com/users/johanvdw/events{/privacy}","received_events_url":"https://api.github.com/users/johanvdw/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T22:19:46Z","updated_at":"2015-01-15T22:19:46Z","body":"The problem persists.\r\nWhen looking for a clue: I assume some rounding problem. We had such a problem with mipp which built fine on amd64 but failed on i386.  See: http://anonscm.debian.org/cgit/pkg-grass/mipp.git/commit/?id=efb22a0f070e5e7f86d66e340a5b0911f250f02b"}}