Cannot do automatic frame extraction, or manual

Help, Help!!!

We are trying to do an analysis of our mp4 video, and we cannot do the frame extraction for manual or automatic. We have also tried the format .h264, but it still gives us the same error (similar to mp4). The terminal gives us the following error for both options:

SystemError: <class ‘wx._core.CommandEvent’> returned a result with an error set
/home/coelho/anaconda3/envs/dlc-ubuntu-GPU/lib/python3.6/site-packages/deeplabcut/generate_training_dataset/frame_extraction_toolbox.py:386: RuntimeWarning: invalid value encountered in log10
img_name = str(output_path) +’/img’+str(self.currFrame).zfill(int(np.ceil(np.log10(self.numberFrames)))) + ‘.png’
Traceback (most recent call last):
File “/home/coelho/anaconda3/envs/dlc-ubuntu-GPU/lib/python3.6/site-packages/deeplabcut/generate_training_dataset/frame_extraction_toolbox.py”, line 405, in grabFrame
self.chooseFrame()
File “/home/coelho/anaconda3/envs/dlc-ubuntu-GPU/lib/python3.6/site-packages/deeplabcut/generate_training_dataset/frame_extraction_toolbox.py”, line 386, in chooseFrame
img_name = str(output_path) +’/img’+str(self.currFrame).zfill(int(np.ceil(np.log10(self.numberFrames)))) + ‘.png’
ValueError: cannot convert float NaN to integer

What should I do?

could you give us more information please:

OS: ??
DeepLabCut version: ?? (deeplabcut.__version__)
Please provide the full command you used to call extract_frames