{"action":"closed","issue":{"url":"https://api.github.com/repos/arrayfire/arrayfire/issues/1365","repository_url":"https://api.github.com/repos/arrayfire/arrayfire","labels_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/1365/labels{/name}","comments_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/1365/comments","events_url":"https://api.github.com/repos/arrayfire/arrayfire/issues/1365/events","html_url":"https://github.com/arrayfire/arrayfire/issues/1365","id":143849894,"number":1365,"title":"errors when using ArrayFire v3.3.1 on Ubuntu 14.04, 32bit Linux and ArrayFire-Python","user":{"login":"colbyshores","id":5816559,"avatar_url":"https://avatars.githubusercontent.com/u/5816559?v=3","gravatar_id":"","url":"https://api.github.com/users/colbyshores","html_url":"https://github.com/colbyshores","followers_url":"https://api.github.com/users/colbyshores/followers","following_url":"https://api.github.com/users/colbyshores/following{/other_user}","gists_url":"https://api.github.com/users/colbyshores/gists{/gist_id}","starred_url":"https://api.github.com/users/colbyshores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colbyshores/subscriptions","organizations_url":"https://api.github.com/users/colbyshores/orgs","repos_url":"https://api.github.com/users/colbyshores/repos","events_url":"https://api.github.com/users/colbyshores/events{/privacy}","received_events_url":"https://api.github.com/users/colbyshores/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-27T21:29:12Z","updated_at":"2016-03-27T21:58:05Z","closed_at":"2016-03-27T21:58:05Z","body":"Im getting an error when I try an run the \"Hello World\" example on Ubuntu 14.04, ArrayFire v3.3.1 using the ArrayFire-Python bindings.\r\nIm on a Tegra K1 based system and it returns the same error in file data.cpp at the same line reguardless of wither I am using Cuda or CPU.\r\nI have attached my output from the python interpreter.  I know that Cuda is working because af.info() is reporting it's detection.  Reached out to, Pavan Yalamanchili and he advised to file a bug report as this to be a bug in the 32bit version on Linux.\r\nThanks,\r\nCole\r\n\r\n```\r\nPython 2.7.6 (default, Jun 22 2015, 18:31:26) \r\n[GCC 4.8.2] on linux2\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import arrayfire as af\r\n>>> af.info()\r\nArrayFire v3.3.1 (CUDA, 32-bit Linux, build f53efc3)\r\nPlatform: CUDA Toolkit 6.5, Driver: CUDA Driver Version: 6050\r\n[0] GK20A, 4018 MB, CUDA Compute 3.2\r\n>>> af.display(a)\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nNameError: name 'a' is not defined\r\n>>> a = af.randu(5 ,1)\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/lib/python2.7/dist-packages/arrayfire/data.py\", line 223, in randu\r\n    safe_call(backend.get().af_randu(ct.pointer(out.arr), 4, ct.pointer(dims), dtype.value))\r\n  File \"/usr/local/lib/python2.7/dist-packages/arrayfire/util.py\", line 75, in safe_call\r\n    raise RuntimeError(to_str(err_str))\r\nRuntimeError: In function verifyDims\r\nIn file src/api/c/data.cpp:42\r\nInvalid dimension for argument 2\r\nExpected: dims[i] >= 1\r\n\r\n>>> quit()\r\n```\r\n"}}