#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 liangent):
sorry... i removed too much code...
1. in line beginning with {{{r.s.save}}}, change {{{r}}} to {{{rx}}}, not
the same as {{{r}}} above. {{{rx}}} is a model instance.
2. in complete code, the child process invokes one of {{{os.exec*}}} after
doing something, so the rest of parent code will not be executed.
3. {{{os.wait3()}}} should be changed to {{{os.wait3(0)}}}.
4. i didn't understand 'the file would also attempt to save things and
probably cause other problems', what did u mean?
--
Ticket URL: <http://code.djangoproject.com/ticket/10541#comment:6>
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
-~----------~----~----~----~------~----~------~--~---