#10541: cannot save file from a pipe
-------------------------------------------+--------------------------------
Reporter: liangent | Owner: nobody
Status: new | Milestone: 1.1
Component: File uploads/storage | Version: 1.0
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Comment (by anonymous):
I think you're code is considerably confused. You attempt to access the
"s" attribute from r, which is an integer file descriptor, the branch for
the child does not exit and runs the parent's code. As a result, wait3 is
called in the child which has no children, also getting confused. Failing
that, the file would also attempt to save things and probably cause other
problems --- perhaps related to your bug report. (Finally, os.wait3()
requires an argument in my version of Python (2.5). The documentation for
that version states otherwise, so it could just be inaccurate.)
Could you provide sample code that actually runs?
--
Ticket URL: <http://code.djangoproject.com/ticket/10541#comment:5>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---