Closed ted423 closed 2 years ago
Same issue.
Can confirm on Windows 11 too
Thank you for info. Currently I have no access to Windows 11 to check it. As I see you forgot to install pywin32 as described here, it is neccessary under Windows, try python -m pip install pywin32 fotokilof
I encountered the same problem. By debugging the source code, I figured it out that this problem is probably due to non-utf8 system encoding instead of Windows 11. The error log was like:
C:\Users\xxx\AppData\Local\Temp\fotokilof_carbene_fonts_list
Traceback (most recent call last):
File "C:\Users\xxx\Projects\FotoKilof\src\fotokilof.py", line 2381, in <module>
img_text_font_dict = fonts() # Reading available fonts
File "C:\Users\xxx\Projects\FotoKilof\src\fotokilof.py", line 610, in fonts
result = magick.get_fonts_dict(GM_or_IM)
File "C:\Users\xxx\Projects\FotoKilof\src\magick.py", line 163, in get_fonts_dict
for line in file:
UnicodeDecodeError: 'gbk' codec can't decode byte 0xad in position 6025: illegal multibyte sequence
And it can be solved simply by specifying the encoding utf-8(src/magick.src, line 148):
file = open(file_font, "r", encoding="utf-8")
Thanks a lot for hint with encoding. I will update it today, we will see ;-)
fixed in 3.8.5
bug repeats again. fotokilof command does not open a window in windows 11
did you use\: python -m pip install pywin32 fotokilof
pywin32 has to be installed
try latest version 4.0.0 install: python -m pip install pywin32 wand fotokilof during install ImageMagick, enable libraries! and add to path
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
the path is already add
after run fotokilof ,no window come out ,and no keep in task manager
windows 10
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.