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
What is the expected output? What do you see instead?
My script runs fine without profiling but freezes after one loop iteration when run in profile mode. I am given the attached error when I stop profiling
Please provide any additional information below
File "C:\Users\User\Anaconda3\envs\deeplearningtest3\lib\site-packages\spyder_profiler\widgets\profilergui.py", line 264, in
self.finished(ec, es))
File "C:\Users\User\Anaconda3\envs\deeplearningtest3\lib\site-packages\spyder_profiler\widgets\profilergui.py", line 329, in finished
self.show_data(justanalyzed=True)
File "C:\Users\User\Anaconda3\envs\deeplearningtest3\lib\site-packages\spyder_profiler\widgets\profilergui.py", line 350, in show_data
self.datatree.load_data(self.DATAPATH)
File "C:\Users\User\Anaconda3\envs\deeplearningtest3\lib\site-packages\spyder_profiler\widgets\profilergui.py", line 462, in load_data
stats_indi = [pstats.Stats(profdatafile),]
File "C:\Users\User\Anaconda3\envs\deeplearningtest3\lib\pstats.py", line 72, in init
self.init(arg)
File "C:\Users\User\Anaconda3\envs\deeplearningtest3\lib\pstats.py", line 86, in init
self.load_stats(arg)
File "C:\Users\User\Anaconda3\envs\deeplearningtest3\lib\pstats.py", line 99, in load_stats
with open(arg, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\User\.spyder-py3\profiler.results'
@CAM-Gerlach Thank you for the response. I followed your link to issue #5587 and applied the fix suggested by Lemming0815 (calling reset_config_files()). But I got the same error as before.
Description
I am trying to profile a script in spyder on Windows 10 but it freezes
What steps will reproduce the problem?
I am on Windows 10
>conda create --name deeplearningtest3 python
andactivate deeplearningtest3
main5.txt
What is the expected output? What do you see instead?
My script runs fine without profiling but freezes after one loop iteration when run in profile mode. I am given the attached error when I stop profiling
Please provide any additional information below
File "C:\Users\User\Anaconda3\envs\deeplearningtest3\lib\site-packages\spyder_profiler\widgets\profilergui.py", line 264, in
self.finished(ec, es))
File "C:\Users\User\Anaconda3\envs\deeplearningtest3\lib\site-packages\spyder_profiler\widgets\profilergui.py", line 329, in finished
self.show_data(justanalyzed=True)
File "C:\Users\User\Anaconda3\envs\deeplearningtest3\lib\site-packages\spyder_profiler\widgets\profilergui.py", line 350, in show_data
self.datatree.load_data(self.DATAPATH)
File "C:\Users\User\Anaconda3\envs\deeplearningtest3\lib\site-packages\spyder_profiler\widgets\profilergui.py", line 462, in load_data
stats_indi = [pstats.Stats(profdatafile),]
File "C:\Users\User\Anaconda3\envs\deeplearningtest3\lib\pstats.py", line 72, in init
self.init(arg)
File "C:\Users\User\Anaconda3\envs\deeplearningtest3\lib\pstats.py", line 86, in init
self.load_stats(arg)
File "C:\Users\User\Anaconda3\envs\deeplearningtest3\lib\pstats.py", line 99, in load_stats
with open(arg, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\User\.spyder-py3\profiler.results'
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: