[mod_python] problems uploading large files

Graham Dumpleton graham.dumpleton at gmail.com
Sat Nov 1 04:48:48 EDT 2008


2008/11/1 Hector Muñoz <hectormunozh at gmail.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi!
>
> Graham Dumpleton escribió:
>> Sorry, also provide the Python traceback so can see where in code
>> I/O Error is coming from.
>
> The error description is: IOError: [Errno 28] No space left on device
>
> And device has space enough.

The device you are looking at may be, but not the one being used.

The form handling code in mod_python will write a temporary file to
disk when processing file uploads. On a UNIX system this will be one
of:

  [ '/tmp', '/var/tmp', '/usr/tmp' ]

On Windows it will be one of:

  [ r'c:\temp', r'c:\tmp', r'\temp', r'\tmp' ]

It is likely that whichever of these is being used is what is running
out of space and not where you are eventually trying to write the file
to.

Graham

> Regards!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkkLwEkACgkQkXQuTK97GwMSGgCfQEn9wJv3o0TluSajr6okg9vK
> oIMAn2zAEO/SsvsVE4Ed7Dyr+LqFevFe
> =mfRq
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>



More information about the Mod_python mailing list