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
Infinite waiting state on stop video recording operation
Full message
When the stop video recording keyword is called , its entering infinite waiting state, specifically on the statement futures.result(), since timeout is not defined, its waiting infinitely to get the future result value.
Proposed Fix
As part of fix, can we add timeout as parameter when making futures.result() call
Fix: futures.result(timeout=60)
Stack Trace
File "/conda/envs/conda_robot_framework/lib/python3.8/site-packages/robot/running/librarykeywordrunner.py", line 92, in <lambda>
return lambda: handler(*positional, **named)
File "/conda/envs/conda_robot_framework/lib/python3.8/site-packages/ScreenCapLibrary/library.py", line 376, in stop_video_recording
recording.stop_video_recording(save_to_disk)
File "/conda/envs/conda_robot_framework/lib/python3.8/site-packages/ScreenCapLibrary/videoclient.py", line 60, in stop_video_recording
self._stop_thread()
File "/conda/envs/conda_robot_framework/lib/python3.8/site-packages/ScreenCapLibrary/client.py", line 246, in _stop_thread
self.futures.result()
File "/conda/envs/conda_robot_framework/lib/python3.8/concurrent/futures/_base.py", line 439, in result
self._condition.wait(timeout)
File "/conda/envs/conda_robot_framework/lib/python3.8/threading.py", line 302, in wait
waiter.acquire()
The text was updated successfully, but these errors were encountered:
General information:
Description of the warning/error
Infinite waiting state on stop video recording operation
Full message
Proposed Fix
Stack Trace
The text was updated successfully, but these errors were encountered: