Image upload "undefined" occurs randomly and frequently

106 views
Skip to first unread message

Paul Egli

unread,
Feb 11, 2015, 4:47:57 AM2/11/15
to django...@googlegroups.com
I'm coming across an issue where it seems completely random whether a thumbnail and filename will load on the clipboard after uploading several JPEG images or no image at all and "undefined" instead of the filename. I've been experimenting with the same four images and everyone of them has successfully rendered a thumbnail and image name for me at some point during testing - just not consistently. Has anyone experienced a similar problem?

While this doesn't seem like a pillow issue, I uninstalled PIL and pillow, and re-installed django-filer (so that it could pick it's own image dependencies) and result of the pillow install (PIL SETUP SUMMARY) is below. I have installed the required binaries pillow defines (sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk).

    PIL SETUP SUMMARY
    --------------------------------------------------------------------
    version      Pillow 2.7.0
    platform     linux2 2.7.3 (default, Apr 10 2013, 05:13:16)
                 [GCC 4.7.2]
    --------------------------------------------------------------------
    --- TKINTER support available
    --- JPEG support available
    *** OPENJPEG (JPEG2000) support not available
    --- ZLIB (PNG/ZIP) support available
    --- LIBTIFF support available
    --- FREETYPE2 support available
    --- LITTLECMS2 support available
    --- WEBP support available
    *** WEBPMUX support not available

[11/Feb/2015 03:36:30] "POST /admin/filer/clipboard/operations/upload/?qqfile=photo5.jpg HTTP/1.1" 500 18514
[11/Feb/2015 03:36:31] "GET /admin/filer/folder/undefined/ HTTP/1.1" 404 1686
[11/Feb/2015 03:36:33] "POST /admin/filer/clipboard/operations/upload/?qqfile=photo4.jpg HTTP/1.1" 500 18514
[11/Feb/2015 03:36:33] "POST /admin/filer/clipboard/operations/upload/?qqfile=photo6.jpg HTTP/1.1" 200 195
[11/Feb/2015 03:36:33] "POST /admin/filer/clipboard/operations/upload/?qqfile=photo7.jpg HTTP/1.1" 200 195
[11/Feb/2015 03:36:33] "GET /admin/filer/folder/undefined/ HTTP/1.1" 404 1686
[11/Feb/2015 03:36:33] "GET /media/filer_public_thumbnails/filer_public/1d/b7/1db7f9d2-8ad2-40e1-8aea-95dab69234d0/photo6.jpg__32x32_q85_crop_subsampling-2_upscale.jpg HTTP/1.1" 200 804
[11/Feb/2015 03:36:33] "GET /media/filer_public_thumbnails/filer_public/61/fd/61fd4005-65da-4da6-b877-3b42c4a317e4/photo7.jpg__32x32_q85_crop_subsampling-2_upscale.jpg HTTP/1.1" 200 809

Thanks!
Paul

Paul Egli

unread,
Apr 11, 2015, 11:55:52 PM4/11/15
to django...@googlegroups.com
Any thoughts?
Reply all
Reply to author
Forward
0 new messages