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

almond-scalafmt doesn't work: "WARN Kernel Ignoring unhandled message" #904

Open
suevii opened this issue Jan 10, 2022 · 2 comments
Open

Comments

@suevii
Copy link

suevii commented Jan 10, 2022

Hi,

I installed the almond-scalafmt but it doesn't work(the cell is not formatted successfully), and the jupyterlab log shows:

WARN Kernel Ignoring unhandled message:
Message(Vector(ArraySeq(101, 50, 48, 100, 101, 98, 98, 101, 45, 48, 51, 99, 50, 45, 52, 97, 98, 57, 45, 57, 101, 100, 51, 45, 57, 99, 51, 101, 57, 102, 98, 100, 52, 53, 55, 101)), {"date":"2022-01-10T02:46:00.177Z","msg_id":"d008c7e2-5fa0-4cc6-9192-489c3dfa9859","msg_type":"format_response","session":"e20debbe-03c2-4ab9-9ed3-9c3e9fbd457e","username":"","version":"5.2"}, {}, {}, {"cells":{"0ee776a6-5801-4fad-8a6c-f263b74836c1":"println ("Hello World!")"},"conf":{}})

It seems the response is not received or what.

Version info:

@almond-sh/scalafmt: 0.1.1
almond: 0.11.2
jupyterlab: 3.1.18

By the way, could you tell me how to check the almond version? I know its version only because I specified the version when I install almond:
cs launch --fork almond:0.11.2 --scala 2.12.11 -M almond.ScalaKernel -- --install

@kiendang
Copy link
Collaborator

Hi almond-scalafmt has not been updated for jupyterlab 3 yet.
You can get almond version with almond.api.Properties.version.

@suevii
Copy link
Author

suevii commented Jan 13, 2022

Hi almond-scalafmt has not been updated for jupyterlab 3 yet. You can get almond version with almond.api.Properties.version.

Thank you for the reminder, but unfortunately I tried it on jupyterlab 2.3.2 and it still report the same warning and still doesn't work.

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