Opened 16 years ago
Last modified 13 years ago
#11103 closed
AttributeError: 'ImageFieldFile' object has no attribute 'name' — at Version 2
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Keywords: | ImageFieldFile | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/django/core/servers/basehttp.py", line 278, in run self.result = application(self.environ, self.start_response) File "/usr/lib/python2.6/dist-packages/django/core/servers/basehttp.py", line 636, in __call__ return self.application(environ, start_response) File "/usr/lib/python2.6/dist-packages/django/core/handlers/wsgi.py", line 245, in __call__ response = middleware_method(request, response) File "/usr/lib/python2.6/dist-packages/django/contrib/sessions/middleware.py", line 36, in process_response request.session.save() File "/usr/lib/python2.6/dist-packages/django/contrib/sessions/backends/db.py", line 53, in save session_data = self.encode(self._get_session(no_load=must_create)), File "/usr/lib/python2.6/dist-packages/django/contrib/sessions/backends/base.py", line 88, in encode pickled = pickle.dumps(session_dict, pickle.HIGHEST_PROTOCOL) File "/usr/lib/python2.6/dist-packages/django/db/models/fields/files.py", line 139, in __getstate__ return {'name': self.name, 'closed': False, '_committed': True, '_file': None}
Change History (2)
comment:1 by , 16 years ago
Component: | File uploads/storage → Database layer (models, ORM) |
---|
comment:2 by , 16 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
Fixed formatting.