Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a TypeError in FramesMatch #126

Closed
Prooffreader opened this issue Feb 12, 2015 · 4 comments
Closed

Getting a TypeError in FramesMatch #126

Prooffreader opened this issue Feb 12, 2015 · 4 comments

Comments

@Prooffreader
Copy link

When running the following:

>>> from moviepy.editor import VideoFileClip
>>> from moviepy.video.tools.cuts import FramesMatches
>>> clip = VideoFileClip("myvideo.mp4")
>>> clip_small = clip.resize(width=150)
>>> matches = FramesMatches.from_clip(clip_small, 5, 3)
>>> matches

I get the following output:
<repr(<moviepy.video.tools.cuts.FramesMatch at 0x86d3a90>) failed: TypeError: not all arguments converted during string formatting>,
<repr(<moviepy.video.tools.cuts.FramesMatch at 0x86d3a58>) failed: TypeError: not all arguments converted during string formatting>,
etc.

@Prooffreader
Copy link
Author

This error is with a fresh install of Ubuntu 14.04 and Anaconda Python Distribution (Python 3,4) on a micro AWS instance; all that was done is pip install moviepy and pip install pillow.

@Prooffreader
Copy link
Author

Same error occurs with a fresh install of Ubuntu 14.04 on AWS, Python 2.7.6, pip install moviepy and pillow.

@filipochnik
Copy link
Contributor

Should be fixed in #131

Zulko added a commit that referenced this issue Feb 22, 2015
@keikoro
Copy link
Collaborator

keikoro commented Feb 18, 2017

Looks like this issue was fixed by the linked (and already merged) PR and can thus be closed. Please feel free to reopen the issue/create a new one if the problem persists.

@keikoro keikoro closed this as completed Feb 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants