Closed
Bug 1171977
Opened 9 years ago
Closed 9 years ago
ISE when submitting a demo on staging
Categories
(developer.mozilla.org Graveyard :: Code Cleanup, defect)
developer.mozilla.org Graveyard
Code Cleanup
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: hoosteeno, Unassigned)
References
Details
Steps to reproduce: 1) Submit a demo at https://developer.allizom.org/en-US/demos/submit Expected behavior: Success! Actual behavior: Internal Server Error Browser: Firefox 38.0.1
Comment 1•9 years ago
|
||
New Relic trace: https://rpm.newrelic.com/accounts/263620/applications/3172065/traced_errors/3066e3-14130015-0b91-11e5-a48a-f8bc124250a8 cyliang and/or jakem: Can we double-check that libjpeg-dev was installed when we installed Pillow?
Flags: needinfo?(nmaul)
Flags: needinfo?(cliang)
Comment 2•9 years ago
|
||
Hmm ... I also notice the demo code is still using PIL, not Pillow? Something for me to check into ...
Comment 3•9 years ago
|
||
It doesn't look like there is a libjpeg-turbo- devel package installed on the admin server, which is where the venv was built. (libjpeg-turbo is installed.) I installed the devel package, forced a reinstall of the Pillow library in the virtualenv[1], re-set the venv to be relocatable, and pushed out the venv. Let me know if that helps. According to the Pillow setup, it has JPEG but not OPENJPEG support. -------------------------------------------------------------------- PIL SETUP SUMMARY -------------------------------------------------------------------- version Pillow 2.8.1 platform linux2 2.7.9 (default, Dec 12 2014, 10:25:20) [GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] -------------------------------------------------------------------- *** TKINTER support not available --- JPEG support available *** OPENJPEG (JPEG2000) support not available --- ZLIB (PNG/ZIP) support available *** LIBTIFF support not available *** FREETYPE2 support not available *** LITTLECMS2 support not available *** WEBP support not available *** WEBPMUX support not available -------------------------------------------------------------------- [1] sudo pip install --no-deps --ignore-installed Pillow==2.8.1
Flags: needinfo?(nmaul)
Flags: needinfo?(cliang)
Comment 4•9 years ago
|
||
I submitted a demo on the stage server with a .jpg screenshot upload and it seems to work: https://developer.allizom.org/en-US/demos/detail/test-jpeg-screenshot :hoosteeno - can you verify with the same submission you tried earlier?
Flags: needinfo?(hoosteeno)
Reporter | ||
Comment 5•9 years ago
|
||
Yep, this is now working for me. Thanks!
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(hoosteeno)
Resolution: --- → FIXED
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•