When I use the TemporaryFileUploadHandler I get the following
exception:

[Errno 13] Permission denied....
The problem is that the temporary-upload files dkhskjds.upload cannot
be deleted

When taking a look on the stack-trace I discovered this:

  82.  try:

  83. os.remove(old_file_name) ...

  84. except OSError, e:
  85.       # Certain operating systems (Cygwin and Windows)
  86.       # fail when deleting opened files, ignore it
  87.       if getattr(e, 'winerror', 0) != 32:
  88.            # FIXME: should we also ignore errno 13?
  89.            raise


So does anyone know how to handle this ?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to