You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TextClip.list('font') raises "TypeError: startswith first arg must be bytes or a tuple of bytes, not str" under moviepy-0.2.2.04, Python 3.4.0, linux x64.
TextClip.search('Courier','font') calls TextClip.list('font'), so it also fails.
In VideoClip.py, TextClip.list uses Popen.communicate, which in Python 3 apparently returns bytes, not strings. So also in TextClip.list, l.startswith(" Font:") would not be str.startswith, but bytes.startswidth, which doesn't accept a str arg.
The text was updated successfully, but these errors were encountered:
TextClip.list('font') raises "TypeError: startswith first arg must be bytes or a tuple of bytes, not str" under moviepy-0.2.2.04, Python 3.4.0, linux x64.
TextClip.search('Courier','font') calls TextClip.list('font'), so it also fails.
In VideoClip.py, TextClip.list uses Popen.communicate, which in Python 3 apparently returns bytes, not strings. So also in TextClip.list, l.startswith(" Font:") would not be str.startswith, but bytes.startswidth, which doesn't accept a str arg.
The text was updated successfully, but these errors were encountered: