Advertisement
Guest User

My error

a guest
Apr 23rd, 2023
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\VideoClip.py", line 1137, in __init__
  2. subprocess_call(cmd, logger=None)
  3. File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\tools.py", line 54, in subprocess_call
  4. raise IOError(err.decode('utf8'))
  5. OSError: magick.exe: label expected `@C:\Users\gasto\AppData\Local\Temp\tmpa82_jp2e.txt' @ error/annotate.c/GetMultilineTypeMetrics/797.
  6.  
  7.  
  8. During handling of the above exception, another exception occurred:
  9.  
  10. Traceback (most recent call last):
  11. File "D:\Document\AutoTiktok\TiktokPro.py", line 79, in <module>
  12. subtitles_clip = SubtitlesClip(subtitles)
  13. ^^^^^^^^^^^^^^^^^^^^^^^^
  14. File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\tools\subtitles.py", line 87, in __init__
  15. self.mask = VideoClip(make_mask_frame, ismask=True) if hasmask else None
  16. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  17. File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\VideoClip.py", line 86, in __init__
  18. self.size = self.get_frame(0).shape[:2][::-1]
  19. ^^^^^^^^^^^^^^^^^
  20. File "<decorator-gen-11>", line 2, in get_frame
  21. File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\decorators.py", line 89, in wrapper
  22. return f(*new_a, **new_kw)
  23. ^^^^^^^^^^^^^^^^^^^
  24. File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\Clip.py", line 93, in get_frame
  25. return self.make_frame(t)
  26. ^^^^^^^^^^^^^^^^^^
  27. File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\tools\subtitles.py", line 81, in make_mask_frame
  28. sub = add_textclip_if_none(t)
  29. ^^^^^^^^^^^^^^^^^^^^^^^
  30. File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\tools\subtitles.py", line 71, in add_textclip_if_none
  31. self.textclips[sub] = self.make_textclip(sub[1])
  32. ^^^^^^^^^^^^^^^^^^^^^^^^^^
  33. File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\tools\subtitles.py", line 49, in <lambda>
  34. make_textclip = lambda txt: TextClip(txt, font='Georgia-Bold',
  35. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  36. File "C:\Users\gasto\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\VideoClip.py", line 1146, in __init__
  37. raise IOError(error)
  38. OSError: MoviePy Error: creation of None failed because of the following error:
  39.  
  40. magick.exe: label expected `@C:\Users\gasto\AppData\Local\Temp\tmpa82_jp2e.txt' @ error/annotate.c/GetMultilineTypeMetrics/797.
  41. .
  42.  
  43. .This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or that the path you specified is incorrect
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement