Hello,
Sorry by reopening the thread.
I'm having the same issue.
The response of the POST is:
Traceback:
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
115. response = callback(request, *callback_args, **callback_kwargs)
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
77. return view_func(*args, **kwargs)
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/filer/admin/clipboardadmin.py" in ajax_upload
88. 'thumbnail': file_obj.icons['32'],
Exception Type: KeyError at /admin/filer/clipboard/operations/upload/
Exception Value: '32'
Request information:
GET:
qqfile = u'fondo.jpg'
POST: No POST data
FILES: No FILE
Traceback:
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
115. response = callback(request, *callback_args, **callback_kwargs)
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
77. return view_func(*args, **kwargs)
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/filer/admin/clipboardadmin.py" in ajax_upload
88. 'thumbnail': file_obj.icons['32'],
Exception Type: KeyError at /admin/filer/clipboard/operations/upload/
Exception Value: '32'
Request information:
GET:
qqfile = u'fondo.jpg'
POST: No POST data
FILES: No FILES data
COOKIES:
csrftoken = 's7Yqs18I8xt5dEs5e8rUmta28l4K33z4'
sessionid = 'end1mn3irj7r37qvyam9gqjok05d3iz1'
With this settings:
########## storages CONFIGURATION
if True:
AWS_QUERYSTRING_AUTH = False
AWS_STORAGE_BUCKET_NAME = 'xxx'
AWS_ACCESS_KEY_ID = 'xxx'
AWS_SECRET_ACCESS_KEY = 'xxx'
AWS_S3_FILE_OVERWRITE = False
STATICFILES_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
S3_URL = 'http://%s.s3.amazonaws.com/' % AWS_STORAGE_BUCKET_NAME
STATIC_URL = S3_URL
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
########## END storages CONFIGURATION
########## filer (common) CONFIGURATION
THUMBNAIL_PROCESSORS = (
'easy_thumbnails.processors.colorspace',
'easy_thumbnails.processors.autocrop',
'filer.thumbnail_processors.scale_and_crop_with_subject_location',
'easy_thumbnails.processors.filters',
)
########## END filer (common) CONFIGURATION
And this env:
Django==1.5.2
Pillow==2.1.0
boto==2.11.0
django-filer==0.9.5
django-mptt==0.5.5
django-polymorphic==0.5.1
django-s3-folder-storage==0.1
django-storages==1.1.8
easy-thumbnails==1.3
I've tried PIL and Pillow (both apparently had JPEG and ZLIB) support.
I've tried on sqlite and pgsql.
When it's configured to write in local works perfect, but on S3 only creates 'filer_public'.
Also I've read that maybe making reset to 'easy_thumbnail' fix some problems with cache tables, but doesn't works.
The only clue I have is this:
- try to upload an image
- shows progressbar
- on the clipboard: undefined undefined
- in this moment, reset easy_thumbnails
- F5 to reload
- show the thumbnail on the clipboard and the thumbnail of 32px is created on the bucket
- move from the clipboard or reload and nothing works again
Thanks.
Traceback:
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
115. response = callback(request, *callback_args, **callback_kwargs)
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
77. return view_func(*args, **kwargs)
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/filer/admin/clipboardadmin.py" in ajax_upload
88. 'thumbnail': file_obj.icons['32'],
Exception Type: KeyError at /admin/filer/clipboard/operations/upload/
Exception Value: '32'
Request information:
GET:
qqfile = u'fondo.jpg'
POST: No POST data
FILES: No FILES data
COOKIES:
csrftoken = 's7Yqs18I8xt5dEs5e8rUmta28l4K33z4'
sessionid = 'end1mn3irj7r37qvyam9gqjok05d3iz1'
Traceback:
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
115. response = callback(request, *callback_args, **callback_kwargs)
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
77. return view_func(*args, **kwargs)
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/filer/admin/clipboardadmin.py" in ajax_upload
88. 'thumbnail': file_obj.icons['32'],
Exception Type: KeyError at /admin/filer/clipboard/operations/upload/
Exception Value: '32'
Request information:
GET:
qqfile = u'fondo.jpg'
POST: No POST data
FILES: No FILES data
COOKIES:
csrftoken = 's7Yqs18I8xt5dEs5e8rUmta28l4K33z4'
sessionid = 'end1mn3irj7r37qvyam9gqjok05d3iz1'
Traceback:
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
115. response = callback(request, *callback_args, **callback_kwargs)
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
77. return view_func(*args, **kwargs)
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/filer/admin/clipboardadmin.py" in ajax_upload
88. 'thumbnail': file_obj.icons['32'],
Exception Type: KeyError at /admin/filer/clipboard/operations/upload/
Exception Value: '32'
Request information:
GET:
qqfile = u'fondo.jpg'
POST: No POST data
FILES: No FILE
Traceback:
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
115. response = callback(request, *callback_args, **callback_kwargs)
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
77. return view_func(*args, **kwargs)
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/filer/admin/clipboardadmin.py" in ajax_upload
88. 'thumbnail': file_obj.icons['32'],
Exception Type: KeyError at /admin/filer/clipboard/operations/upload/
Exception Value: '32'
Request information:
GET:
qqfile = u'fondo.jpg'
POST: No POST data
FILES: No FILE
Traceback:
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
115. response = callback(request, *callback_args, **callback_kwargs)
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
77. return view_func(*args, **kwargs)
File "/home/jorro/.virtualenvs/filer/lib/python2.7/site-packages/filer/admin/clipboardadmin.py" in ajax_upload
88. 'thumbnail': file_obj.icons['32'],
Exception Type: KeyError at /admin/filer/clipboard/operations/upload/
Exception Value: '32'
Request information:
GET:
qqfile = u'fondo.jpg'
POST: No POST data
FILES: No FILE