neex/gifoeb

error

eutskuky opened this issue · 4 comments

error(

python3 gifoeb gen 512x512 dump.gif
Traceback (most recent call last):
File "gifoeb", line 245, in
gif = gen_dumping_gif(w, h, tool=args.tool, animate=args.animate, colors=args.colors)
File "gifoeb", line 110, in gen_dumping_gif
convert = subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 709, in init
restore_signals, start_new_session)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'convert': 'convert'

neex commented

Hello,

the script depends on ImageMagick or GraphicsMagick in order to generate the PoC image. None of them is installed, obviously.

На сколько я вижу по вашему профилю, вы говорите по русски)
Получается эта ошибка вызвана отсутствием ImageMagick/GraphicsMagick на рабочей машине? (ПК на котором будет запущен PY скрипт)

neex commented

да

To run the script required ImageMagick, So install it first.
sudo apt install imagemagick