reticivis-net / mediaforge

A Discord bot for editing and creating videos, images, GIFs, and more!
GNU General Public License v3.0
81 stars 28 forks source link

Expected image, <function mp4togif at 0x7efcdd5cc540> returned nothing. #232

Open javolinlake opened 6 months ago

javolinlake commented 6 months ago

Describe the bug

tried to use $togif on a shortened version of a video and it didn't work.

Traceback

DATETIME:2024-02-16 17:42:47.146137 COMMAND:$togif TRACEBACK: Traceback (most recent call last): File "/root/.cache/pypoetry/virtualenvs/mediaforge-HXFskkj--py3.12/lib/python3.12/site-packages/discord/ext/commands/core.py", line 235, in wrapped ret = await coro(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mediaforge/src/commands/conversion.py", line 146, in togif await process(ctx, processing.ffmpeg.mp4togif, [["VIDEO"]]) File "/mediaforge/src/core/process.py", line 151, in process raise e File "/mediaforge/src/core/process.py", line 125, in process raise processing.common.ReturnedNothing(f"Expected image, {func} returned nothing.") processing.common.ReturnedNothing: Expected image, <function mp4togif at 0x7efcdd5cc540> returned nothing.

Expected Behavior

No response

Steps To Reproduce

No response

Anything Else

No response