Wednesday, May 27, 2015

Re: InMemoryUploadedFile object retrieved from request.FILES got closed automatically on django 1.7

Russ,

I have a view which create a new thread to process files user uploaded. I found either InMemoryUploadedFile or TempUploaedFile is closed in the new thread. I think that might be caused by the exit of the view thread. Do you have any idea how to re-open the closed UploadedFile or clone one?

It is related to this bug I found: https://bugs.launchpad.net/horizon/+bug/1451429

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/08b2e392-e536-46ab-9960-3ea2c7978ac9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment