Better handling failures in video creating GUI by kngwyu · Pull Request #2075 · DeepLabCut/DeepLabCut
Show errors if video creation fails, like:

When prot_trajectry is checked:

Currently, the message Labeled videos created. is shown regardless of the result.
If I check plot_trajectory, the exception below is thrown (for a single animal case), which I don't feel very kind.
FileNotFoundError: No unfiltered data file found in /home/yuji/Videos/...
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/yuji/Programs/DeepLabCut/deeplabcut/gui/tabs/create_videos.py", line 241, in create_videos
deeplabcut.plot_trajectories(
File "/home/yuji/Programs/DeepLabCut/deeplabcut/utils/plotting.py", line 321, in plot_trajectories
_ = auxiliaryfunctions.load_detection_data(
File "/home/yuji/Programs/DeepLabCut/deeplabcut/utils/auxiliaryfunctions.py", line 792, in load_detection_data
raise ValueError(f"Unrecognized track_method={track_method}")
ValueError: Unrecognized track_method=