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 calling display(array) #495

Closed
joa-quim opened this issue Apr 30, 2024 · 2 comments
Closed

Error in calling display(array) #495

joa-quim opened this issue Apr 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@joa-quim
Copy link

Affects: JuliaCall

jl.display(jl.rand(jl.UInt8, 3,2))
---------------------------------------------------------------------------
JuliaError                                Traceback (most recent call last)
Cell In[14], line 1
----> 1 jl.display(jl.rand(jl.UInt8, 3,2))

File ~\.julia\packages\PythonCall\wXfah\src\jlwrap\any.jl:208, in __call__(self, *args, **kwargs)
    206     return ValueBase.__dir__(self) + self._jl_callmethod($(pyjl_methodnum(pyjlany_dir)))
    207 def __call__(self, *args, **kwargs):
--> 208     return self._jl_callmethod($(pyjl_methodnum(pyjlany_call)), args, kwargs)
    209 def __bool__(self):
    210     return True

JuliaError: MethodError: no method matching mode(::Nothing)
@joa-quim joa-quim added the bug Something isn't working label Apr 30, 2024
@cjdoris
Copy link
Collaborator

cjdoris commented Apr 30, 2024

Have you updated JuliaCall? This was fixed a few versions ago.

@joa-quim
Copy link
Author

Sorry, I hadn't. Now I did and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants