skr0x1c0 / ipybinja

IPython console widget for Binary Ninja
MIT License
12 stars 0 forks source link

Plugin currently broken on Binary Ninja >= 4.1 #3

Open jtang613 opened 4 months ago

jtang613 commented 4 months ago

Describe the bug This plugin no longer works in the latest Binary Ninja releases.

To Reproduce Steps to reproduce the behavior:

  1. Install ipybinja on latest Binary Ninja
  2. Observe no builtin ipython console
  3. Observe jupyter-notebook and jupyter-lab fail to start ipybinja kernel:
    [I 2024-04-04 11:20:58.018 ServerApp] Creating new notebook in 
    [I 2024-04-04 11:20:58.265 ServerApp] Kernel started: 4013b3be-5d73-4301-832a-b36684c6b4dd
    [I 2024-04-04 11:21:01.253 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), new random ports
    [I 2024-04-04 11:21:04.269 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (2/5), new random ports
    [I 2024-04-04 11:21:07.287 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (3/5), new random ports
    [I 2024-04-04 11:21:10.304 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (4/5), new random ports
    [I 2024-04-04 11:21:13.322 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (5/5), new random ports
    [W 2024-04-04 11:21:16.338 ServerApp] AsyncIOLoopKernelRestarter: restart failed
    [W 2024-04-04 11:21:16.338 ServerApp] Kernel 4013b3be-5d73-4301-832a-b36684c6b4dd died, removing from map.[W 2024-04-04 11:21:58.288 ServerApp] Timeout waiting for kernel_info reply from 4013b3be-5d73-4301-832a-b36684c6b4dd
    [I 2024-04-04 11:21:58.289 ServerApp] Connecting to kernel 4013b3be-5d73-4301-832a-b36684c6b4dd.
    [W 2024-04-04 11:21:58.291 ServerApp] 404 GET /api/kernels/4013b3be-5d73-4301-832a-b36684c6b4dd/channels?session_id=97d45d7f-ec02-4fe0-b4e6-b2bf3364c40c (::1): Kernel does not exist: 4013b3be-5d73-4301-832a-b36684c6b4dd

Expected behavior Plugin should work in both builtin ipython console and Jupyter lab/notebook environments.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

fmagin commented 2 months ago

I don't get this issue in 4.1.5527, but: