Re: Multiprocessing using python shows error “I/O operation on closed file”

2021-06-01 Thread Aurora Eugene
>> >> folder path, EXTENSION >> >> for example >> >> C:\users , .CSV >> C:\Windows, .PDF >> >> etc >> >> so, the CSV file will contain more than 200 folder paths and their >> extensions. What I have to do in code is I should

Multiprocessing using python shows error “I/O operation on closed file”

2021-06-01 Thread Joel Tanko
; etc > > so, the CSV file will contain more than 200 folder paths and their > extensions. What I have to do in code is I should loop through the CSV file > and print the contents of the CSV file parallelly by assigning it to > workers in a POOL > > So below is my Code, but it

Multiprocessing using python shows error “I/O operation on closed file”

2021-06-01 Thread Aurora Eugene
, the CSV file will contain more than 200 folder paths and their extensions. What I have to do in code is I should loop through the CSV file and print the contents of the CSV file parallelly by assigning it to workers in a POOL So below is my Code, but it throws "I/O operation on closed file&

Re: I/O operation on closed file

2009-05-14 Thread Tim Sawyer
On Tuesday 12 May 2009 21:28:35 Alex Gaynor wrote: > On Tue, May 12, 2009 at 3:27 PM, Tim Sawyer wrote: > > ValueError: I/O operation on closed file > > This is probably a symptom of http://code.djangoproject.com/ticket/11084 . > Thanks Alex. I've just updated to 10784

Re: I/O operation on closed file

2009-05-12 Thread Alex Gaynor
On Tue, May 12, 2009 at 3:27 PM, Tim Sawyer wrote: > > Hi, > > I'm getting the following error uploading images to my gallery using the > admin > site, written in django (full stack at bottom of mail) > > ValueError: I/O operation on closed file > > It doesn&#x

I/O operation on closed file

2009-05-12 Thread Tim Sawyer
Hi, I'm getting the following error uploading images to my gallery using the admin site, written in django (full stack at bottom of mail) ValueError: I/O operation on closed file It doesn't always happen, and it;s more likely to occur using "Save but keep editing" in t