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

Can't check for ipykernel 6 on remote kernel #7576

Closed
Tracked by #5607
Syndorik opened this issue Sep 17, 2021 · 7 comments
Closed
Tracked by #5607

Can't check for ipykernel 6 on remote kernel #7576

Syndorik opened this issue Sep 17, 2021 · 7 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug notebook-remote Applies to remote Jupyter Servers notebook-run-by-line

Comments

@Syndorik
Copy link

Environment data

  • VS Code version: 1.61.0-insider a0af58197e4a1d3e82fbe3048e0549e622d19f4f x64
  • Jupyter Extension version (available under the Extensions sidebar): v2021.9.1001244851
  • Python Extension version (available under the Extensions sidebar): v2021.9.1230869389
  • OS (Windows | Mac | Linux distro) and version: Ubuntu 18.04
  • Python and/or Anaconda version: Python 3.9.7 64-bit, conda 4.10.3
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
  • Jupyter server running: Remote

Actual behaviour

I have Ipykernel version 6.4.1 installed, but the line by line debugger cannot seem to work. It always redirect me to the setup link telling me ton install ipykernel 6.2.0. I've downgrade ipykernel to this version, but still can't seem to work.

Is it becasue I'm working on a remote instance?

@Syndorik Syndorik added the bug Issue identified by VS Code Team member as probable bug label Sep 17, 2021
@claudiaregio
Copy link
Contributor

@Syndorik Can you please provide the jupyter output logs when this occurs

@claudiaregio claudiaregio added the info-needed Issue requires more information from poster label Sep 20, 2021
@greazer greazer added this to the September 2021 milestone Sep 20, 2021
@Syndorik
Copy link
Author

Well there are no output from jupyter logs even though I've set "jupyter.logging.level": "verbose"

The only thing I'm getting is the following
image

I've also looked at python logs and there is nothing

@DavidKutu DavidKutu changed the title Can't run the debugger line by line Can't check for ipykernel 6 on remote kernel Sep 24, 2021
@DavidKutu
Copy link

Thanks for filing @Syndorik, like you guessed, it is because of being remote. We're looking into it.

@Syndorik
Copy link
Author

Ok thanks for the information!

@DonJayamanne
Copy link
Contributor

@david what about the startDebugging method in JupyterDebugger.ts that still uses the old way to check the version of ipykernel.
You'd need to fix that one as well.

@DavidKutu
Copy link

@Syndorik, this will work on our release next week, and its available on our insiders build right now.
This was half the issue tho, this is the other half (#7690). We'll probably get to that one on out next iteration.

For now, this should work if you run a cell before debugging, otherwise, reloading VS Code will also fix it.

Thanks again for filing!

@Syndorik
Copy link
Author

It works! Thanks a lot!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug notebook-remote Applies to remote Jupyter Servers notebook-run-by-line
Projects
None yet
Development

No branches or pull requests

5 participants