← Back to team overview

openshot.developers team mailing list archive

[Bug 700478] Re: OSError: [Errno 24] Too many open files

 

@Jonathan
Thanks, but the error still occurs.

I think your changes take no effect because a file object should
automatically close when its reference count hits zero. For example,

Code 1:

import os
f=[]
for name in os.listdir("."):
    f.append(open(name))

Code 2:

import os
for name in os.listdir("."):
    f=open(name)

Code 1 can cause the error but code 2 doesn't.

-- 
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/700478

Title:
  OSError: [Errno 24] Too many open files

Status in OpenShot Video Editor:
  Fix Committed

Bug description:
      Using OpenShot 1.3-alpha-1 latest branch, while trying to view
  edits in the timeline (sliding the bar) the preview screen goes white,
  the the program stops working, the only term output is OSError: [Errno
  24] Too many open files: '~/.openshot/queue'

      Running the program straight from .py haven't compiled it, if that
  makes a difference.





References