-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
name '_pdbcmd_print_frame_status' is not defined
message when debugging
#22500
name '_pdbcmd_print_frame_status' is not defined
message when debugging
#22500
Comments
Yes, I'm getting this too. I am finding that that this message appears when I do any of the following:
While these messages are appearing on the console, I am finding that the debugger is still generally working for me apart from that. |
Hey @paulgomme and @EBurtonRod, thanks for reporting. Are you running Spyder in Python 3.12 but connected to another interpreter that runs Python 3.11 or less? That could be the cause of this problem given that |
name '_pdbcmd_print_frame_status' is not defined
message when debugging
No, I don't think so: in my case I'm running Spyder from an environment with Python 3.12.5 (details below) and I'm connected to an interpreter that is also using Python 3.12.5. (Package list in the attached file: console environment.txt ) One thing I've noticed is that in the list below, cython and sympy seem to have warnings of " Versions
Dependencies:
|
Ok, thanks for letting us know about it. But good news is that this error was also shown by our test suite when updating it to use Python 3.12 (see #22541). So, we'll try to address this problem in our 6.0.2 version, to be released in a month or so.
Yes, that's not relevant. |
Fixed in spyder-ide/spyder-kernels#513 |
Has Spyder 6.0.2 version been released? I am also getting this error when trying to debug. |
No, it hasn't. A simple solution is to downgrade to Python 3.12.4 (the bug is only present in 3.12.5 or newer). |
I just upgraded to Spyder 6.0.2. I'm still getting the error
I'm running python 3.12.7. I tried downgrading to 3.12.4 ( On the good side: the error doesn't affect debugging. I'm also glad to see that all the debug icons now display once one starts debugging. |
@paulgomme, we couldn't fix this problem on time for 6.0.2, sorry. It will be for 6.0.3 though. And you can't change the Python version with pip. For that you either need to create an environment with conda, mamba or pixi; or remove your current installation and download an older installer from python.org. |
Description
What steps will reproduce the problem?
Click on the "Debug file" icon. Error message:
*** NameError: name '_pdbcmd_print_frame_status' is not defined
Versions
Dependencies
The text was updated successfully, but these errors were encountered: