Thanks to visit codestin.com
Credit goes to github.com

Skip to content

spyder debugger not working #794

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

Open
DGuidi opened this issue Nov 21, 2019 · 4 comments
Open

spyder debugger not working #794

DGuidi opened this issue Nov 21, 2019 · 4 comments

Comments

@DGuidi
Copy link

DGuidi commented Nov 21, 2019

Installed Winpython32-3.7.4.1 in a win10 desktop where there is also a separate python 3.71-32bit installation.
All works well, both in python and in spyder, except spyder debugger: when I try to start a simple script, even a simple print('hello') I see

.... (thousands of stack trace lines and then)
  File "C:\Users\sa160859\AppData\Roaming\Python\Python37\site-packages\pdb.py", line 163, in __init__
    self.config = self.get_config(self.ConfigFactory)
  File "C:\Users\sa160859\AppData\Roaming\Python\Python37\site-packages\fancycompleter.py", line 192, in get_config
    rcfile = os.path.expanduser(filename)
  File "C:\winpython\wpy\python-3.7.4\lib\ntpath.py", line 302, in expanduser
    if 'HOME' in os.environ:
  File "C:\winpython\wpy\python-3.7.4\lib\_collections_abc.py", line 666, in __contains__
    self[key]
  File "C:\winpython\wpy\python-3.7.4\lib\os.py", line 675, in __getitem__
    value = self._data[self.encodekey(key)]
RecursionError: maximum recursion depth exceeded

I suspect there's something wrong with existing python installation or with some environment variable, but only in debugging.

@stonebig
Copy link
Contributor

try to set a HOME variable ?

@DGuidi
Copy link
Author

DGuidi commented Nov 22, 2019

I haven't admin rights in my work PC, so simply I can't

Tried opening a console, setting %HOME% variable and then starting spyder from the same console, but I0ve experienced the same error.
Actually, looking at the code, looks the error is because HOME variable exists, so I should try to "delete" this variable to see if behavior changes....

@stonebig
Copy link
Contributor

more importantly, spyder-4.0.0rc3, now starts in full glory spyder-ide/spyder#10481

image

@stonebig
Copy link
Contributor

stonebig commented May 4, 2025

resolved ?

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