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

Kernel is unable to find "topfind" #197

Open
JoanAguilar opened this issue Jan 30, 2023 · 1 comment
Open

Kernel is unable to find "topfind" #197

JoanAguilar opened this issue Jan 30, 2023 · 1 comment

Comments

@JoanAguilar
Copy link

When launching a notebook I get the following output:

[I 16:36:59.950 NotebookApp] Kernel started: 08175a1c-d923-4908-af0f-6db7c157d6a1, name: ocaml-jupyter-default
2023-01-29T16:37:00  STDOUT>> Cannot find file topfind.
2023-01-29T16:37:00  STDOUT>> File "/home/joan/.ocamlinit", line 2, characters 0-11:
2023-01-29T16:37:00  STDOUT>> 2 | Topfind.log:=ignore;;
2023-01-29T16:37:00  STDOUT>>     ^^^^^^^^^^^
2023-01-29T16:37:00  STDOUT>> Error: Unbound module Topfind
[I 16:37:00.120 NotebookApp] Adapting from protocol version 5.2 (kernel 08175a1c-d923-4908-af0f-6db7c157d6a1) to 5.3 (client).

My .ocamlinit was created during the install:

#use "topfind";;
Topfind.log:=ignore;;

Use of #require in the notebook fails, but the notebook seems to be working fine otherwise.

I have no issues with the #use "topfind";; directive in either UTop or the OCaml prompt.

There's a workaround here, but it seems like this shouldn't really be needed.

I'm using Ubuntu 22.04.

@johnW-ret
Copy link

Same problem with same workaround working for me.

Ubuntu 22.04 via WSL 2.

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