andrewray / iocaml

An OCaml kernel for the IPython notebook
MIT License
193 stars 20 forks source link

Completion doesn't work #46

Open jaredly opened 8 years ago

jaredly commented 8 years ago

When I run iocaml -completion, and then type print_e and press tab (to trigger completion), nothing pops up, and in fact the kernel stalls (no subsequent execution requests work, I have to kill the kernel). When running the ocaml kernel under jupyter, completion requests don't do anything either, although it doesn't stall the kernel.

jaredly commented 8 years ago

Looking at the log file (when running from iocaml -completion, it has:

Exception: Ag_oj_run.Error("Line 1:\nMissing record field line")
Dying.
jaredly commented 8 years ago

ah, I was missing ocp-index

andrewray commented 8 years ago

Lets leave this open, as the kernel shouldn't just crash (in fact the -completion arg should be rejected if ocp-index isn't installed).