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

'missing handle' error #644

Closed
YitzhakSp opened this issue Sep 12, 2017 · 3 comments
Closed

'missing handle' error #644

YitzhakSp opened this issue Sep 12, 2017 · 3 comments

Comments

@YitzhakSp
Copy link

YitzhakSp commented Sep 12, 2017

Hi, I get the 'missing handle' error in the following scenario.
When I open a video with VideoFileClip() inside a myfunc and then open it once again after the function was executed

some code 
myfunc(video_path) 
myclip=VideoFileClip(video_path)

I already tried to apply
subproccess._cleanup()
and
del myclip
inside myfunc, but it didn't work

@YitzhakSp YitzhakSp changed the title 'missing hadle' error 'missing handle' error Sep 12, 2017
@tburrows13
Copy link
Collaborator

Can you post both the exact error message, and a short succinct piece of code that demonstrates the point please?

@YitzhakSp
Copy link
Author

actually I ran it on win 10 (previously win 7) and now its working well. Maybe the reason is different: another python version (3.6, previously 3.5). I am not sure.

@tburrows13
Copy link
Collaborator

Ok, great! For any future readers, we currently have an issue with del myclip not really doing what it should. Use myclip.__del__ instead.

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

2 participants