Open Yaraslaut opened 1 year ago
On MacOSX, I'm not getting any error:
You'll notice that NotcursesObject()
calls this function:
which calls this function:
Line 12 is checking that the pointer is not a C_NULL
. The pointer is from this function:
which calls into the Notcurses
C library.
To me this seems like the Notcurses
library is returning an C_NULL
in your terminal for some reason.
Things to check:
contour
. Do you get the same error on a different terminal?ctypes
, you can even use the same library Julia does. And if you can get the same error in Python that makes it might more likely that the error is with the Notcurses
library.Lastly, depending on what you are interested in developing, I'd ask you to consider using TerminalUserInterfaces.jl
or the underlying package Crossterm.jl
. I'm the maintainer of those two packages and I'm happy to answer any questions regarding them.
Sorry for taking so long.
Thanks for the references will definitely look into it. Also, here is notcurses-info
Interesting that notcurses-info works. If you can try it in Python that’ll tell us if the issue is with Julia or the notcurses library compiled and distributed with the Julia package.
Can not initialize NotcursesObject when using contour
command to reproduce
julia -e "import Notcurses; Notcurses.NotcursesObject()"