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 debug first cell in an unsaved python file #3191

Closed
greazer opened this issue Jul 26, 2019 · 3 comments
Closed

Can't debug first cell in an unsaved python file #3191

greazer opened this issue Jul 26, 2019 · 3 comments
Assignees

Comments

@greazer
Copy link
Member

greazer commented Jul 26, 2019

  1. Import a notebook file.
  2. Try to debug the first cell in the notebook.

You'll get an error "Unable to open 'untitled-1': Unable to read file (etc...)"

@rchiodo
Copy link
Contributor

rchiodo commented Jul 26, 2019

Do the other lines work?

@joyceerhl
Copy link
Contributor

@rchiodo I was able to debug any code cells that didn't contain rewritten Jupyter cell magics with no issues. Debugging any cells containing get_ipython() calls (not just the first one in a notebook) results in the following error message "Unable to open 'untitled-1': Unable to read file (Error: File not found ."

@rchiodo
Copy link
Contributor

rchiodo commented Jul 29, 2019

Ah okay. Those are probably turned into cell magics

@rchiodo rchiodo self-assigned this Jul 30, 2019
@rchiodo rchiodo closed this as completed Aug 6, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Aug 14, 2019
@microsoft microsoft unlocked this conversation Nov 14, 2020
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 14, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants