Re: IOError with files uploads bigger than 2.5 MB

2008-07-14 Thread Ramiro Morales

On Mon, Jul 14, 2008 at 1:19 PM, tom <[EMAIL PROTECTED]> wrote:
>
> I am running on this version:
> Revision: 7920
> Node Kind: directory
> Schedule: normal
> Last Changed Author: russellm
> Last Changed Rev: 7917
>

Try applying the [1]tempfile3.diff patch attached to ticket [2]7658
but it is a bit unclear because the
reporter has reported  two different issues in teh same ticket. One of
these is the same as yours.

Please report back here your experiences with these tests.

Something a bit strange about the temporary file full path contained
in the traceback
you posted:

Exception Type: IOError at /admin/ads/ad/11/
Exception Value: [Errno 2] No such file or directory:
'/var/folders/g2/g2k+MI0fHlCR7GvjpacMPU+++TI/-Tmp-/tmpR3rxkC.upload'

What's your temporary folder? /var/folders/g2/ ? or
/var/folders/g2/g2k+MI0fHlCR7GvjpacMPU+++TI/ ?

Because  the g2k+MI0fHlCR7GvjpacMPU+++TI/-Tmp-/tmpR3rxkC.upload part
is very long
and contains / characters.

Regards,

-- 
 Ramiro Morales

1.(http://code.djangoproject.com/attachment/ticket/7658/tempfile.3.diff
2. http://code.djangoproject.com/ticket/7658

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: IOError with files uploads bigger than 2.5 MB

2008-07-14 Thread tom

I am running on this version:
Revision: 7920
Node Kind: directory
Schedule: normal
Last Changed Author: russellm
Last Changed Rev: 7917


On 14 Jul., 16:14, "Ramiro Morales" <[EMAIL PROTECTED]> wrote:
> On Sun, Jul 13, 2008 at 10:48 PM, tom <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I have a problem with file uploads which are bigger than 2.5 MBs. When
> > I use files which are smaller than 2.5 MBs, the files save as
> > expected. As soon as they are bigger than that, I get an IOError (see
> > traceback further down). I have checked that i have write and delete
> > permissions on this directory. When I change the
> > FILE_UPLOAD_MAX_MEMORY_SIZE the uploads are working fine.
>
> What SVN revision of Django are you using?.
>
> --
>  Ramiro Morales
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: IOError with files uploads bigger than 2.5 MB

2008-07-14 Thread Ramiro Morales

On Sun, Jul 13, 2008 at 10:48 PM, tom <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a problem with file uploads which are bigger than 2.5 MBs. When
> I use files which are smaller than 2.5 MBs, the files save as
> expected. As soon as they are bigger than that, I get an IOError (see
> traceback further down). I have checked that i have write and delete
> permissions on this directory. When I change the
> FILE_UPLOAD_MAX_MEMORY_SIZE the uploads are working fine.
>

What SVN revision of Django are you using?.

-- 
 Ramiro Morales

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: IOError with files uploads bigger than 2.5 MB

2008-07-14 Thread tom

Yes, I get the same error message. I tried it with a different
directory within the homedir of the user who is running the server and
also with the temp directory and even without any setting. Either on
Linux or on Max OSX. I also tried to run the server with sudo and I
also tried to write into the directories. With sudo I've got the same
error and writing into the directories was possible.

On 14 Jul., 10:54, Julien Phalip <[EMAIL PROTECTED]> wrote:
> Do you also get a 'No such file or directory' error when using the
> FILE_UPLOAD_TEMP_DIR setting, or do you get a different error?
>
> On Jul 14, 5:34 pm, tom <[EMAIL PROTECTED]> wrote:
>
> > hi,
>
> > i have done that. I am running the server with the runserver command.
> > I tried also different directories using the FILE_UPLOAD_TEMP_DIR
> > without any change. This behaviour is reproducable on different
> > servers and come up with upgrading to the latest revision of the
> > django branch. It has been working before. I increased the
> > FILE_UPLOAD_MAX_MEMORY_SIZE for the moment, but need to change that
> > back to the FILE_UPLOAD_TEMP_DIR soon.
>
> > cheers, tom
>
> > On 14 Jul., 04:54, Julien Phalip <[EMAIL PROTECTED]> wrote:
>
> > > Looks like apache does not have write access to that directory.
> > > Try setting a different directory where Apache will have appropriate
> > > access, use the FILE_UPLOAD_TEMP_DIR setting for that.
>
> > > On Jul 14, 11:48 am, tom <[EMAIL PROTECTED]> wrote:
>
> > > > Hi,
>
> > > > I have a problem with file uploads which are bigger than 2.5 MBs. When
> > > > I use files which are smaller than 2.5 MBs, the files save as
> > > > expected. As soon as they are bigger than that, I get an IOError (see
> > > > traceback further down). I have checked that i have write and delete
> > > > permissions on this directory. When I change the
> > > > FILE_UPLOAD_MAX_MEMORY_SIZE the uploads are working fine.
>
> > > > Help would be very much appreciated. :)
>
> > > > Cheers, Tom
>
> > > > """
> > > > Environment:
>
> > > > Request Method: POST
> > > > Request URL:http://localhost:8000/admin/ads/ad/11/
> > > > Django Version: 0.97-pre-SVN-unknown
> > > > Python Version: 2.5.1
> > > > Installed Applications:
> > > > ['django.contrib.auth',
> > > >  'django.contrib.contenttypes',
> > > >  'django.contrib.sessions',
> > > >  'django.contrib.sites',
> > > >  'django.contrib.admin',
> > > >  'django.contrib.flatpages',
> > > >  'django.contrib.comments',
> > > >  'our.aps']
> > > > Installed Middleware:
> > > > ('django.middleware.common.CommonMiddleware',
> > > >  'django.contrib.sessions.middleware.SessionMiddleware',
> > > >  'django.contrib.auth.middleware.AuthenticationMiddleware',
> > > >  'django.middleware.cache.CacheMiddleware',
> > > >  'django.middleware.doc.XViewMiddleware',
> > > >  'our.middleware.threadlocals.ThreadLocals',
> > > >  'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware')
>
> > > > Traceback:
> > > > File "/Library/Python/2.5/site-packages/django/core/handlers/base.py"
> > > > in get_response
> > > >   86.                 response = callback(request, *callback_args,
> > > > **callback_kwargs)
> > > > File "/Library/Python/2.5/site-packages/django/contrib/admin/views/
> > > > decorators.py" in _checklogin
> > > >   62.             return view_func(request, *args, **kwargs)
> > > > File "/Library/Python/2.5/site-packages/django/views/decorators/
> > > > cache.py" in _wrapped_view_func
> > > >   44.         response = view_func(request, *args, **kwargs)
> > > > File "/Library/Python/2.5/site-packages/django/contrib/admin/views/
> > > > main.py" in change_stage
> > > >   338.             new_object = manipulator.save(new_data)
> > > > File "/Library/Python/2.5/site-packages/django/db/models/
> > > > manipulators.py" in save
> > > >   106.                 f.save_file(new_data, new_object, self.change
> > > > and self.original_object or None, self.change, rel=False, save=False)
> > > > File "/Library/Python/2.5/site-packages/django/db/models/fields/
> > > > __init__.py" in save_file
> > > >   855.             func(file_name, file, save)
> > > > File "/Library/Python/2.5/site-packages/django/db/models/fields/
> > > > __init__.py" in 
> > > >   817.         setattr(cls, 'save_%s_file' % self.name, lambda
> > > > instance, filename, raw_field, save=True:
> > > > instance._save_FIELD_file(self, filename, raw_field, save))
> > > > File "/Library/Python/2.5/site-packages/django/db/models/base.py" in
> > > > _save_FIELD_file
> > > >   532.             file_move_safe(raw_field.temporary_file_path(),
> > > > full_filename)
> > > > File "/Library/Python/2.5/site-packages/django/core/files/move.py" in
> > > > file_move_safe
> > > >   40.         file_move(old_file_name, new_file_name)
> > > > File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > > > python2.5/shutil.py" in move
> > > >   199.             copy2(src,dst)
> > > > File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > > >

Re: IOError with files uploads bigger than 2.5 MB

2008-07-14 Thread Julien Phalip

Do you also get a 'No such file or directory' error when using the
FILE_UPLOAD_TEMP_DIR setting, or do you get a different error?

On Jul 14, 5:34 pm, tom <[EMAIL PROTECTED]> wrote:
> hi,
>
> i have done that. I am running the server with the runserver command.
> I tried also different directories using the FILE_UPLOAD_TEMP_DIR
> without any change. This behaviour is reproducable on different
> servers and come up with upgrading to the latest revision of the
> django branch. It has been working before. I increased the
> FILE_UPLOAD_MAX_MEMORY_SIZE for the moment, but need to change that
> back to the FILE_UPLOAD_TEMP_DIR soon.
>
> cheers, tom
>
> On 14 Jul., 04:54, Julien Phalip <[EMAIL PROTECTED]> wrote:
>
> > Looks like apache does not have write access to that directory.
> > Try setting a different directory where Apache will have appropriate
> > access, use the FILE_UPLOAD_TEMP_DIR setting for that.
>
> > On Jul 14, 11:48 am, tom <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > I have a problem with file uploads which are bigger than 2.5 MBs. When
> > > I use files which are smaller than 2.5 MBs, the files save as
> > > expected. As soon as they are bigger than that, I get an IOError (see
> > > traceback further down). I have checked that i have write and delete
> > > permissions on this directory. When I change the
> > > FILE_UPLOAD_MAX_MEMORY_SIZE the uploads are working fine.
>
> > > Help would be very much appreciated. :)
>
> > > Cheers, Tom
>
> > > """
> > > Environment:
>
> > > Request Method: POST
> > > Request URL:http://localhost:8000/admin/ads/ad/11/
> > > Django Version: 0.97-pre-SVN-unknown
> > > Python Version: 2.5.1
> > > Installed Applications:
> > > ['django.contrib.auth',
> > >  'django.contrib.contenttypes',
> > >  'django.contrib.sessions',
> > >  'django.contrib.sites',
> > >  'django.contrib.admin',
> > >  'django.contrib.flatpages',
> > >  'django.contrib.comments',
> > >  'our.aps']
> > > Installed Middleware:
> > > ('django.middleware.common.CommonMiddleware',
> > >  'django.contrib.sessions.middleware.SessionMiddleware',
> > >  'django.contrib.auth.middleware.AuthenticationMiddleware',
> > >  'django.middleware.cache.CacheMiddleware',
> > >  'django.middleware.doc.XViewMiddleware',
> > >  'our.middleware.threadlocals.ThreadLocals',
> > >  'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware')
>
> > > Traceback:
> > > File "/Library/Python/2.5/site-packages/django/core/handlers/base.py"
> > > in get_response
> > >   86.                 response = callback(request, *callback_args,
> > > **callback_kwargs)
> > > File "/Library/Python/2.5/site-packages/django/contrib/admin/views/
> > > decorators.py" in _checklogin
> > >   62.             return view_func(request, *args, **kwargs)
> > > File "/Library/Python/2.5/site-packages/django/views/decorators/
> > > cache.py" in _wrapped_view_func
> > >   44.         response = view_func(request, *args, **kwargs)
> > > File "/Library/Python/2.5/site-packages/django/contrib/admin/views/
> > > main.py" in change_stage
> > >   338.             new_object = manipulator.save(new_data)
> > > File "/Library/Python/2.5/site-packages/django/db/models/
> > > manipulators.py" in save
> > >   106.                 f.save_file(new_data, new_object, self.change
> > > and self.original_object or None, self.change, rel=False, save=False)
> > > File "/Library/Python/2.5/site-packages/django/db/models/fields/
> > > __init__.py" in save_file
> > >   855.             func(file_name, file, save)
> > > File "/Library/Python/2.5/site-packages/django/db/models/fields/
> > > __init__.py" in 
> > >   817.         setattr(cls, 'save_%s_file' % self.name, lambda
> > > instance, filename, raw_field, save=True:
> > > instance._save_FIELD_file(self, filename, raw_field, save))
> > > File "/Library/Python/2.5/site-packages/django/db/models/base.py" in
> > > _save_FIELD_file
> > >   532.             file_move_safe(raw_field.temporary_file_path(),
> > > full_filename)
> > > File "/Library/Python/2.5/site-packages/django/core/files/move.py" in
> > > file_move_safe
> > >   40.         file_move(old_file_name, new_file_name)
> > > File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > > python2.5/shutil.py" in move
> > >   199.             copy2(src,dst)
> > > File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > > python2.5/shutil.py" in copy2
> > >   91.     copyfile(src, dst)
> > > File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > > python2.5/shutil.py" in copyfile
> > >   46.         fsrc = open(src, 'rb')
>
> > > Exception Type: IOError at /admin/ads/ad/11/
> > > Exception Value: [Errno 2] No such file or directory: '/var/folders/g2/
> > > g2k+MI0fHlCR7GvjpacMPU+++TI/-Tmp-/tmpR3rxkC.upload'
>
> > > """
--~--~-~--~~~---~--~~
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@googlegr

Re: IOError with files uploads bigger than 2.5 MB

2008-07-14 Thread tom

hi,

i have done that. I am running the server with the runserver command.
I tried also different directories using the FILE_UPLOAD_TEMP_DIR
without any change. This behaviour is reproducable on different
servers and come up with upgrading to the latest revision of the
django branch. It has been working before. I increased the
FILE_UPLOAD_MAX_MEMORY_SIZE for the moment, but need to change that
back to the FILE_UPLOAD_TEMP_DIR soon.

cheers, tom

On 14 Jul., 04:54, Julien Phalip <[EMAIL PROTECTED]> wrote:
> Looks like apache does not have write access to that directory.
> Try setting a different directory where Apache will have appropriate
> access, use the FILE_UPLOAD_TEMP_DIR setting for that.
>
> On Jul 14, 11:48 am, tom <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I have a problem with file uploads which are bigger than 2.5 MBs. When
> > I use files which are smaller than 2.5 MBs, the files save as
> > expected. As soon as they are bigger than that, I get an IOError (see
> > traceback further down). I have checked that i have write and delete
> > permissions on this directory. When I change the
> > FILE_UPLOAD_MAX_MEMORY_SIZE the uploads are working fine.
>
> > Help would be very much appreciated. :)
>
> > Cheers, Tom
>
> > """
> > Environment:
>
> > Request Method: POST
> > Request URL:http://localhost:8000/admin/ads/ad/11/
> > Django Version: 0.97-pre-SVN-unknown
> > Python Version: 2.5.1
> > Installed Applications:
> > ['django.contrib.auth',
> >  'django.contrib.contenttypes',
> >  'django.contrib.sessions',
> >  'django.contrib.sites',
> >  'django.contrib.admin',
> >  'django.contrib.flatpages',
> >  'django.contrib.comments',
> >  'our.aps']
> > Installed Middleware:
> > ('django.middleware.common.CommonMiddleware',
> >  'django.contrib.sessions.middleware.SessionMiddleware',
> >  'django.contrib.auth.middleware.AuthenticationMiddleware',
> >  'django.middleware.cache.CacheMiddleware',
> >  'django.middleware.doc.XViewMiddleware',
> >  'our.middleware.threadlocals.ThreadLocals',
> >  'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware')
>
> > Traceback:
> > File "/Library/Python/2.5/site-packages/django/core/handlers/base.py"
> > in get_response
> >   86.                 response = callback(request, *callback_args,
> > **callback_kwargs)
> > File "/Library/Python/2.5/site-packages/django/contrib/admin/views/
> > decorators.py" in _checklogin
> >   62.             return view_func(request, *args, **kwargs)
> > File "/Library/Python/2.5/site-packages/django/views/decorators/
> > cache.py" in _wrapped_view_func
> >   44.         response = view_func(request, *args, **kwargs)
> > File "/Library/Python/2.5/site-packages/django/contrib/admin/views/
> > main.py" in change_stage
> >   338.             new_object = manipulator.save(new_data)
> > File "/Library/Python/2.5/site-packages/django/db/models/
> > manipulators.py" in save
> >   106.                 f.save_file(new_data, new_object, self.change
> > and self.original_object or None, self.change, rel=False, save=False)
> > File "/Library/Python/2.5/site-packages/django/db/models/fields/
> > __init__.py" in save_file
> >   855.             func(file_name, file, save)
> > File "/Library/Python/2.5/site-packages/django/db/models/fields/
> > __init__.py" in 
> >   817.         setattr(cls, 'save_%s_file' % self.name, lambda
> > instance, filename, raw_field, save=True:
> > instance._save_FIELD_file(self, filename, raw_field, save))
> > File "/Library/Python/2.5/site-packages/django/db/models/base.py" in
> > _save_FIELD_file
> >   532.             file_move_safe(raw_field.temporary_file_path(),
> > full_filename)
> > File "/Library/Python/2.5/site-packages/django/core/files/move.py" in
> > file_move_safe
> >   40.         file_move(old_file_name, new_file_name)
> > File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/shutil.py" in move
> >   199.             copy2(src,dst)
> > File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/shutil.py" in copy2
> >   91.     copyfile(src, dst)
> > File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> > python2.5/shutil.py" in copyfile
> >   46.         fsrc = open(src, 'rb')
>
> > Exception Type: IOError at /admin/ads/ad/11/
> > Exception Value: [Errno 2] No such file or directory: '/var/folders/g2/
> > g2k+MI0fHlCR7GvjpacMPU+++TI/-Tmp-/tmpR3rxkC.upload'
>
> > """
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: IOError with files uploads bigger than 2.5 MB

2008-07-13 Thread Julien Phalip

Looks like apache does not have write access to that directory.
Try setting a different directory where Apache will have appropriate
access, use the FILE_UPLOAD_TEMP_DIR setting for that.

On Jul 14, 11:48 am, tom <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a problem with file uploads which are bigger than 2.5 MBs. When
> I use files which are smaller than 2.5 MBs, the files save as
> expected. As soon as they are bigger than that, I get an IOError (see
> traceback further down). I have checked that i have write and delete
> permissions on this directory. When I change the
> FILE_UPLOAD_MAX_MEMORY_SIZE the uploads are working fine.
>
> Help would be very much appreciated. :)
>
> Cheers, Tom
>
> """
> Environment:
>
> Request Method: POST
> Request URL:http://localhost:8000/admin/ads/ad/11/
> Django Version: 0.97-pre-SVN-unknown
> Python Version: 2.5.1
> Installed Applications:
> ['django.contrib.auth',
>  'django.contrib.contenttypes',
>  'django.contrib.sessions',
>  'django.contrib.sites',
>  'django.contrib.admin',
>  'django.contrib.flatpages',
>  'django.contrib.comments',
>  'our.aps']
> Installed Middleware:
> ('django.middleware.common.CommonMiddleware',
>  'django.contrib.sessions.middleware.SessionMiddleware',
>  'django.contrib.auth.middleware.AuthenticationMiddleware',
>  'django.middleware.cache.CacheMiddleware',
>  'django.middleware.doc.XViewMiddleware',
>  'our.middleware.threadlocals.ThreadLocals',
>  'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware')
>
> Traceback:
> File "/Library/Python/2.5/site-packages/django/core/handlers/base.py"
> in get_response
>   86.                 response = callback(request, *callback_args,
> **callback_kwargs)
> File "/Library/Python/2.5/site-packages/django/contrib/admin/views/
> decorators.py" in _checklogin
>   62.             return view_func(request, *args, **kwargs)
> File "/Library/Python/2.5/site-packages/django/views/decorators/
> cache.py" in _wrapped_view_func
>   44.         response = view_func(request, *args, **kwargs)
> File "/Library/Python/2.5/site-packages/django/contrib/admin/views/
> main.py" in change_stage
>   338.             new_object = manipulator.save(new_data)
> File "/Library/Python/2.5/site-packages/django/db/models/
> manipulators.py" in save
>   106.                 f.save_file(new_data, new_object, self.change
> and self.original_object or None, self.change, rel=False, save=False)
> File "/Library/Python/2.5/site-packages/django/db/models/fields/
> __init__.py" in save_file
>   855.             func(file_name, file, save)
> File "/Library/Python/2.5/site-packages/django/db/models/fields/
> __init__.py" in 
>   817.         setattr(cls, 'save_%s_file' % self.name, lambda
> instance, filename, raw_field, save=True:
> instance._save_FIELD_file(self, filename, raw_field, save))
> File "/Library/Python/2.5/site-packages/django/db/models/base.py" in
> _save_FIELD_file
>   532.             file_move_safe(raw_field.temporary_file_path(),
> full_filename)
> File "/Library/Python/2.5/site-packages/django/core/files/move.py" in
> file_move_safe
>   40.         file_move(old_file_name, new_file_name)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/shutil.py" in move
>   199.             copy2(src,dst)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/shutil.py" in copy2
>   91.     copyfile(src, dst)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/shutil.py" in copyfile
>   46.         fsrc = open(src, 'rb')
>
> Exception Type: IOError at /admin/ads/ad/11/
> Exception Value: [Errno 2] No such file or directory: '/var/folders/g2/
> g2k+MI0fHlCR7GvjpacMPU+++TI/-Tmp-/tmpR3rxkC.upload'
>
> """
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



IOError with files uploads bigger than 2.5 MB

2008-07-13 Thread tom

Hi,

I have a problem with file uploads which are bigger than 2.5 MBs. When
I use files which are smaller than 2.5 MBs, the files save as
expected. As soon as they are bigger than that, I get an IOError (see
traceback further down). I have checked that i have write and delete
permissions on this directory. When I change the
FILE_UPLOAD_MAX_MEMORY_SIZE the uploads are working fine.

Help would be very much appreciated. :)

Cheers, Tom



"""
Environment:

Request Method: POST
Request URL: http://localhost:8000/admin/ads/ad/11/
Django Version: 0.97-pre-SVN-unknown
Python Version: 2.5.1
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin',
 'django.contrib.flatpages',
 'django.contrib.comments',
 'our.aps']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.cache.CacheMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'our.middleware.threadlocals.ThreadLocals',
 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware')


Traceback:
File "/Library/Python/2.5/site-packages/django/core/handlers/base.py"
in get_response
  86. response = callback(request, *callback_args,
**callback_kwargs)
File "/Library/Python/2.5/site-packages/django/contrib/admin/views/
decorators.py" in _checklogin
  62. return view_func(request, *args, **kwargs)
File "/Library/Python/2.5/site-packages/django/views/decorators/
cache.py" in _wrapped_view_func
  44. response = view_func(request, *args, **kwargs)
File "/Library/Python/2.5/site-packages/django/contrib/admin/views/
main.py" in change_stage
  338. new_object = manipulator.save(new_data)
File "/Library/Python/2.5/site-packages/django/db/models/
manipulators.py" in save
  106. f.save_file(new_data, new_object, self.change
and self.original_object or None, self.change, rel=False, save=False)
File "/Library/Python/2.5/site-packages/django/db/models/fields/
__init__.py" in save_file
  855. func(file_name, file, save)
File "/Library/Python/2.5/site-packages/django/db/models/fields/
__init__.py" in 
  817. setattr(cls, 'save_%s_file' % self.name, lambda
instance, filename, raw_field, save=True:
instance._save_FIELD_file(self, filename, raw_field, save))
File "/Library/Python/2.5/site-packages/django/db/models/base.py" in
_save_FIELD_file
  532. file_move_safe(raw_field.temporary_file_path(),
full_filename)
File "/Library/Python/2.5/site-packages/django/core/files/move.py" in
file_move_safe
  40. file_move(old_file_name, new_file_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/shutil.py" in move
  199. copy2(src,dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/shutil.py" in copy2
  91. copyfile(src, dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/shutil.py" in copyfile
  46. fsrc = open(src, 'rb')

Exception Type: IOError at /admin/ads/ad/11/
Exception Value: [Errno 2] No such file or directory: '/var/folders/g2/
g2k+MI0fHlCR7GvjpacMPU+++TI/-Tmp-/tmpR3rxkC.upload'

"""
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---