Closed
Bug 656437
Opened 14 years ago
Closed 14 years ago
[webifyme] POST request after completing the quiz is a 500
Categories
(Websites :: webifyme.org, defect)
Websites
webifyme.org
Tracking
(Not tracked)
VERIFIED
FIXED
1.0
People
(Reporter: krupa.mozbugs, Assigned: krupa.mozbugs)
References
Details
(Whiteboard: [qa-blocker])
Attachments
(2 files)
steps to reproduce:
1. Complete the quiz at https://webifyme-dev.allizom.org/quiz/
2. Add a name and check the option to add the collage to the gallery. Click 'Get my results'
observed behavior:
The collage loads but the POST request is 500
[13:25:20.784] POST https://webifyme-dev.allizom.org/collage/c5fa6c08254d/ [HTTP/1.1 500 INTERNAL SERVER ERROR 4105ms]
PS: I didn't reopen bug 652968 since the collage actually loads and that bug was marked a blocker.
Assignee | ||
Updated•14 years ago
|
Whiteboard: [qa-blocker]
Comment 2•14 years ago
|
||
Seeing the same, and the error content starts like this:
OSError at /collage/596b595da6a3/
[Errno 13] Permission denied: '/data/www/python/webifyme.org/webifyme/ff4/../static/collages/thumbs_gallery/59'
Could this be a permissions problem? Maybe the app doesn't have write access to the directory it's trying to create the collage in? It works fine locally for me, so I'm guessing it is.
It's possible that Celery (the message queue) is either *not running or not running properly .. There is a POST at the end of the quiz which sends the dimensions of the collage - we can confirm that something is wrong with the message queue by looking at the gallery page:
https://webifyme-dev.allizom.org/gallery/
None of the collages are being created.
It's also possible that the data / images are out of sync - I see that the new fixtures have not been installed yet, so a good candidate..
Of course being able to access this machine directly would help a lot.
Comment 4•14 years ago
|
||
You need to grant the app write access to the following DIRs in order to resolve this...
/data/www/python/webifyme.org/webifyme/static/collages/snapshots/
/data/www/python/webifyme.org/webifyme/static/collages/thumbs_featured/
/data/www/python/webifyme.org/webifyme/static/collages/thumbs_gallery/
Currently the app is throwing that 500 error because it does not have permission to create files and directories in those three directories.
Updated•14 years ago
|
Severity: normal → blocker
Comment 5•14 years ago
|
||
Filed Bug#662939
Comment 6•14 years ago
|
||
(In reply to comment #4)
Adam can you verify this fixed the issue on webifyme-dev?
Comment 7•14 years ago
|
||
I'm still seeing the fragmented objects at the end of a quiz.
Comment 8•14 years ago
|
||
No, it's timing out for me. https://webifyme-dev.allizom.org/ right?
Comment 9•14 years ago
|
||
ozten, that's due to a different bug due to improperly set image sizes in the DB. You can reload fixtures to fix it, or run the set image sizes script
./manage.py set_image_sizes
Comment 10•14 years ago
|
||
(In reply to comment #9)
Adam - please comment in Bug#663523 with the proper image size and any other details an ops person would need to fix this.
Updated•14 years ago
|
Assignee: williamr → adam
Comment 11•14 years ago
|
||
Verified. Works fine for me on webifyme-dev.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 12•14 years ago
|
||
I still see [21:27:58.010] POST https://webifyme-dev.allizom.org/en-US/collage/c415f57b28e5/ [HTTP/1.1 500 INTERNAL SERVER ERROR 1186ms]
reopening
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•14 years ago
|
Assignee: adam → jbresnik
Comment 13•14 years ago
|
||
Open web console when posting and you will see the error.
Comment 14•14 years ago
|
||
Not able to recreate this locally - theres was a ticket earlier about the collage image not being generate, might be related to that which was likely the result of the celery queue not set up properly - unfortunately,as in that case, I don't have access to the machine - could be an issue with the proxy too - assign back to cmore so it can be assigned to someone with access to the environment that its failing on
Comment 15•14 years ago
|
||
Krupa: I no longer see a 500 error on submit of a new collage when I have the web console open. I still see "b is null", but no error. Can you confirm and close?
Assignee: chrismore.bugzilla → krupa.mozbugs
Assignee | ||
Comment 16•14 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•14 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•