Open 664787022 opened 2 years ago
@664787022, I cannot reproduce this issue with either our released 5.3.3 macOS standalone application or my experimental conda-based installer. But I'll try later with my Windows VM.
Thanks for checking @mrclary!
I was unable to reproduce the OP in my Windows VM using the Windows standalone application, either. One thing that I did notice was that the variables didn't seem to show up in the Variable Explorer until I ran a command in the terminal. Although that did not seem to be consistent; other times the variables showed up immediately upon kernel connection (if the kernel already had variables). But it seemed that every time I actually created a new variable, it showed up immediately in Variable Explorer.
I also get the same behavior with our latest 5.x commit running from the command line conda environment. If the variables don't show up immediately upon kernel connection, clicking the refresh button in Variable Explorer immediately reveals them, also.
So, I don't know if there may be an issue with consistently refreshing the list at kernel connect, but otherwise I have not seen any issues displaying the workspace variables.
I also get the same behavior with our latest 5.x commit running from the command line conda environment. If the variables don't show up immediately upon kernel connection, clicking the refresh button in Variable Explorer immediately reveals them, also.
So, I don't know if there may be an issue with consistently refreshing the list at kernel connect, but otherwise I have not seen any issues displaying the workspace variables.
Thanks! I created a new environment and did not meet this problem again. I don't know what's going on with my last environment. But I can enjoy using spyder with remote server now. Thanks again!
So, I don't know if there may be an issue with consistently refreshing the list at kernel connect, but otherwise I have not seen any issues displaying the workspace variables.
Yeah, I think we should fix that to prevent confusions about the Variable Explorer not working, when it's really not displaying the current namespace state.
I have the same problem; no variables ... Don't know how to fix this
@driesdep, we're designing a new architecture to connect to remote machines and run code in them, which will be available in Spyder 6 (to be released in a couple of months).
So, please check after that version is out and let us know if the problem is still present then.
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
Variable explorer don't show variables after connecting to remote kernel.
What steps reproduce the problem?
python -m spyder_kernels.console
connect to an exsiting kernel
in spyderWhat is the expected output? What do you see instead?
Variable explorer is expected to show variable
a
if i run 'a = 1'Paste Traceback/Error Below (if applicable)
Versions
Dependencies
This issue seems to be resolved in #14894 , #281, #11538. What happened to my spyder?