Bugs item #1732686, was opened at 2007-06-07 18:28 Message generated for change (Comment added) made by alexteo21 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1732686&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: Python 2.3 >Status: Open Resolution: Rejected Priority: 5 Private: No Submitted By: Alex (alexteo21) Assigned to: Nobody/Anonymous (nobody) Summary: Built-in open function fail. Too many file open Initial Comment: Hi, I have created a cron script using python. Every hour it will batch process certain files e.g. t=open(filename,'rb') data=t.read() #processing data... t.close() The script is working fine on the day of execution. It is able to process the files. However, when the next day comes, the processing fail!! Traceback (most recent call last): File "./alexCopy.py", line 459, in processRequestModule sanityTestSteps(reqId,model) File "./alexCopy.py", line 699, in sanityTestSteps t = open(filename, 'rb') IOError: [Errno 24] Too many open files: I have explicitly closed the file. Please help. Thanks, Alex ---------------------------------------------------------------------- >Comment By: Alex (alexteo21) Date: 2007-06-07 22:22 Message: Logged In: YES user_id=1810740 Originator: YES Additional info I am running the script on solaris. If I have a similar script in tcl but there is no issue there. It only happens on python ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2007-06-07 21:08 Message: Logged In: YES user_id=849994 Originator: NO Please do *not* open another bug when your first one was closed! If you think closing it was not correct, reopen the first one. In this case, however, I referred you to comp.lang.python, so *please* post the issue (and your script) there. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1732686&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com