{"action":"created","issue":{"url":"https://api.github.com/repos/vispy/vispy/issues/649","labels_url":"https://api.github.com/repos/vispy/vispy/issues/649/labels{/name}","comments_url":"https://api.github.com/repos/vispy/vispy/issues/649/comments","events_url":"https://api.github.com/repos/vispy/vispy/issues/649/events","html_url":"https://github.com/vispy/vispy/issues/649","id":50307975,"number":649,"title":"gloo.gl.tests.test_functionality._draw1 fails","user":{"login":"rossant","id":1942359,"avatar_url":"https://avatars.githubusercontent.com/u/1942359?v=3","gravatar_id":"","url":"https://api.github.com/users/rossant","html_url":"https://github.com/rossant","followers_url":"https://api.github.com/users/rossant/followers","following_url":"https://api.github.com/users/rossant/following{/other_user}","gists_url":"https://api.github.com/users/rossant/gists{/gist_id}","starred_url":"https://api.github.com/users/rossant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rossant/subscriptions","organizations_url":"https://api.github.com/users/rossant/orgs","repos_url":"https://api.github.com/users/rossant/repos","events_url":"https://api.github.com/users/rossant/events{/privacy}","received_events_url":"https://api.github.com/users/rossant/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vispy/vispy/labels/component:%20gl","name":"component: gl","color":"B2D2F7"},{"url":"https://api.github.com/repos/vispy/vispy/labels/type:%20bug","name":"type: bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/vispy/vispy/milestones/5","html_url":"https://github.com/vispy/vispy/milestones/version%200.5","labels_url":"https://api.github.com/repos/vispy/vispy/milestones/5/labels","id":1103110,"number":5,"title":"version 0.5","description":"","creator":{"login":"campagnola","id":940580,"avatar_url":"https://avatars.githubusercontent.com/u/940580?v=3","gravatar_id":"","url":"https://api.github.com/users/campagnola","html_url":"https://github.com/campagnola","followers_url":"https://api.github.com/users/campagnola/followers","following_url":"https://api.github.com/users/campagnola/following{/other_user}","gists_url":"https://api.github.com/users/campagnola/gists{/gist_id}","starred_url":"https://api.github.com/users/campagnola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campagnola/subscriptions","organizations_url":"https://api.github.com/users/campagnola/orgs","repos_url":"https://api.github.com/users/campagnola/repos","events_url":"https://api.github.com/users/campagnola/events{/privacy}","received_events_url":"https://api.github.com/users/campagnola/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":5,"state":"open","created_at":"2015-05-09T13:18:39Z","updated_at":"2015-05-31T15:27:43Z","due_on":"2015-09-30T07:00:00Z","closed_at":null},"comments":11,"created_at":"2014-11-27T16:30:43Z","updated_at":"2015-06-01T06:20:52Z","closed_at":null,"body":"Tested on Ubuntu 14.04 and Intel GPU (the test passes on the NVIDIA GPU).\r\n\r\n```\r\n======================================================================\r\nFAIL: Test pyopengl GL backend for full functionality.\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/cyrille/anaconda/envs/py27/lib/python2.7/site-packages/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/data/git/vispy/vispy/testing/_testing.py\", line 180, in skipper\r\n    return f(*args, **kwargs)\r\n  File \"/home/cyrille/anaconda/envs/py27/lib/python2.7/site-packages/numpy/testing/decorators.py\", line 146, in skipper_func\r\n    return f(*args, **kwargs)\r\n  File \"/data/git/vispy/vispy/gloo/gl/tests/test_functionality.py\", line 59, in test_functionality_pyopengl\r\n    _test_functonality('pyopengl')\r\n  File \"/data/git/vispy/vispy/gloo/gl/tests/test_functionality.py\", line 96, in _test_functonality\r\n    _draw1()\r\n  File \"/data/git/vispy/vispy/gloo/gl/tests/test_functionality.py\", line 507, in _draw1\r\n    _check_result()\r\n  File \"/data/git/vispy/vispy/gloo/gl/tests/test_functionality.py\", line 547, in _check_result\r\n    assert_equal(pix1, (0, 0, 0))\r\nAssertionError: Tuples differ: (32, 32, 32) != (0, 0, 0)\r\n\r\nFirst differing element 0:\r\n32\r\n0\r\n\r\n- (32, 32, 32)\r\n+ (0, 0, 0)\r\n```"},"comment":{"url":"https://api.github.com/repos/vispy/vispy/issues/comments/107320759","html_url":"https://github.com/vispy/vispy/issues/649#issuecomment-107320759","issue_url":"https://api.github.com/repos/vispy/vispy/issues/649","id":107320759,"user":{"login":"QuLogic","id":302469,"avatar_url":"https://avatars.githubusercontent.com/u/302469?v=3","gravatar_id":"","url":"https://api.github.com/users/QuLogic","html_url":"https://github.com/QuLogic","followers_url":"https://api.github.com/users/QuLogic/followers","following_url":"https://api.github.com/users/QuLogic/following{/other_user}","gists_url":"https://api.github.com/users/QuLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/QuLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuLogic/subscriptions","organizations_url":"https://api.github.com/users/QuLogic/orgs","repos_url":"https://api.github.com/users/QuLogic/repos","events_url":"https://api.github.com/users/QuLogic/events{/privacy}","received_events_url":"https://api.github.com/users/QuLogic/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T06:20:52Z","updated_at":"2015-06-01T06:20:52Z","body":"Hmm, even simpler:\r\n```\r\ndiff --git a/vispy/gloo/gl/tests/test_functionality.py b/vispy/gloo/gl/tests/test_functionality.py\r\nindex 4b64f3e..7bd6b69 100644\r\n--- a/vispy/gloo/gl/tests/test_functionality.py\r\n+++ b/vispy/gloo/gl/tests/test_functionality.py\r\n@@ -138,7 +138,7 @@ void main()\r\n     vec4 u4 = u_f4 + vec4(u_i4);\r\n     \r\n     // Set varyings (use every 2D and 4D variable, and u1)\r\n-    v_2 = a_1 * a_2 + zero*u_m2 * a_2 * u2 * u1;\r\n+    v_2 = (a_1+1.0f) * a_2 + zero*u_m2 * a_2 * u2 * u1;\r\n     v_4 = u_m4 * a_4 * u4;\r\n     \r\n     // Set position (use 3D variables)\r\n```\r\nSo, it seems like the attribute doesn't get set at all."}}