You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to open "Find in files". The textbox to search in files was already filled with the last line of code I ran in the console for some reason.
Traceback
Traceback (most recent call last):
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/findinfiles/widgets/search_thread.py", line 101, in run
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder/plugins/findinfiles/widgets/search_thread.py", line 119, in find_files_in_path
File "os.pyc", line 342, in walkTypeError: expected str, bytes or os.PathLike object, not NoneType
Tried to open "Find in files". The textbox to search in files was already filled with the last line of code I ran in the console for some reason.
Solution
OK so first try to set Spyder to factory defaults.
Then RE-install if not work
run cmd.exe as admin and type sfc /scannow
reboot spyder
if not work try: DISM /Online /Cleanup-Image /RestoreHealth --> might wanna try to do DISM /Online /Cleanup-Image /CheckHealth first.
Hey @popovs, thanks for reporting. I don't understand very well how this error can be generated. If possible, could you post a screenshot of the current options you have in the Find pane that lead to this error?
If that's not possible, don't worry. We'll find a way to prevent it in Spyder 6, to be released during the first quarter of next year.
Description
What steps will reproduce the problem?
Tried to open "Find in files". The textbox to search in files was already filled with the last line of code I ran in the console for some reason.
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: