-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use gif-for-cli (Float division by zero on execute.py) #33
Comments
I have exactly the same problem, any workarounds? |
@FrancoCorleone You could manually edit Edit: If you don't feel like manually editing, you could also replace |
Same issue here. [cephir@archlinux]$ gif-for-cli I tried replacing gif_for_cli/generate/init.py with the one from your repo, but it doesn't work for me. |
@Cephir23 That may be because you have already used the bugged version of |
Worked! Thank you so much. |
num_fames is on: gif_for_cli/generate/init.py just replace it
https://github.com/Lepidos/gif-for-cli/blob/master/gif_for_cli/generate/__init__.py |
archlinux :: ~/Projects/gif-for-cli ‹master*› » gif-for-cli
Traceback (most recent call last):
File "/home/lark/.local/bin/gif-for-cli", line 33, in
sys.exit(load_entry_point('gif-for-cli==1.1.2', 'console_scripts', 'gif-for-cli')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lark/.local/lib/python3.11/site-packages/gif_for_cli-1.1.2-py3.11.egg/gif_for_cli/main.py", line 23, in main
execute(os.environ, sys.argv[1:], sys.stdout)
File "/home/lark/.local/lib/python3.11/site-packages/gif_for_cli-1.1.2-py3.11.egg/gif_for_cli/execute.py", line 94, in execute
seconds_per_frame=config['seconds'] / config['num_frames'],
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
ZeroDivisionError: float division by zero
The text was updated successfully, but these errors were encountered: