Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in plot3d.py example #205

Open
D-K-E opened this issue Mar 9, 2019 · 1 comment
Open

Error in plot3d.py example #205

D-K-E opened this issue Mar 9, 2019 · 1 comment

Comments

@D-K-E
Copy link

D-K-E commented Mar 9, 2019

Hi,
I recently installed arrayfire python bindings. It passes all the tests and it launches few of the examples. However I got the following error when I tried to launch plot3d.py in the examples/graphics folder. Any idea ?

ArrayFire v3.6.2 (CUDA, 64-bit Linux, build dc38ef1)
Platform: CUDA Toolkit 10, Driver: 418.39
[0] Quadro M2000M, 4044 MB, CUDA Compute 5.0
Traceback (most recent call last):
  File "examples/graphics/plot3.py", line 32, in <module>
    win.plot3(Pts)
  File "/home/user1/miniconda3/envs/ptmviewer/lib/python3.7/site-packages/arrayfire-3.6.20181017-py3.7.egg/arrayfire/graphics.py", line 296, in plot3
    assert(line.numdims() == 3)
AttributeError: 'NoneType' object has no attribute 'numdims'
@9prady9
Copy link
Member

9prady9 commented Mar 9, 2019

From the error, it seems like line is not an ArrayFire array. Otherwise, it would have the numdims member function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants