TeaM-TL / FotoKilof

GUI for ImageMagick and Wand
MIT License
306 stars 17 forks source link

UnboundLocalError: local variable 'result' referenced before assignment (MacOs) #123

Closed frinsen closed 2 years ago

frinsen commented 2 years ago

I am running MacOs

tried:

  1. python3 -m pip install fotokilof
  2. fotokilof

Result:

Traceback (most recent call last): File "/opt/homebrew/bin/fotokilof", line 5, in from src import main File "/opt/homebrew/lib/python3.10/site-packages/src/main.py", line 2371, in GM_or_IM_data = magick.check_magick() File "/opt/homebrew/lib/python3.10/site-packages/src/magick.py", line 227, in check_magick if check_imagemagick(suffix) is not None: File "/opt/homebrew/lib/python3.10/site-packages/src/magick.py", line 268, in check_imagemagick return result UnboundLocalError: local variable 'result' referenced before assignment

TeaM-TL commented 2 years ago

Hi Thanks for bug report. Now I have continuous access to macos and i will solve it in next days

TeaM-TL commented 2 years ago

fixed in 3.8.4, I hope that tomorrow I will be able to publish it. But if you encounter this error it means that you did not install imagemagick, or imagemagics is not in PATH. Please check it

frinsen commented 2 years ago

re-adding imagemagick to the path did the job :)