Closed Bug 627921 Opened 13 years ago Closed 13 years ago

Sometimes screenshots are blank

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED
5.12.7

People

(Reporter: krupa.mozbugs, Assigned: gkoberger)

References

()

Details

Attachments

(1 file)

Notice the screenshots @ 

https://addons.mozilla.org/en-US/firefox/addon/blahblah-1/
https://addons.allizom.org/en-US/firefox/addon/parijaatha-multiple-tab-han/

observed behavior:
Some of the screenshots for the two add-ons are blank.

example: https://addons-cdn.allizom.org/en-US/firefox/img/uploads/previews/full/52/52848.gif?modified=1295655059 is a 404

reproducible: sometimes

Also:
* All the screenshots were uploaded during add-on submission
* The screenshots show up in preview but turn up blank in detail pages and /edit pages

If I find a way to consistently reproduce this issue, I will add STR to this bug.
The more details you can add to this the better.  Can you attach the images you tried?  Were they jpgs?  Anything abnormal about them?
Attached image test image
This is one of images I tried uploading. I think this bug can be reproduced by clicking on "continue" when the image hasn't fully uploaded.
Jan 20 17:05:38 pm-gearman-amo02 [None] z.devhub.task:INFO [1@None] Resizing preview: /mnt/.../uploads/previews/thumbs/52/52881.png
Jan 20 17:05:38 pm-gearman-amo02 [None] z.devhub.task:ERROR Error saving preview: [Errno 2] No such file or directory: '/mnt/.../tmp/preview/792918c189c447e1b09d589a3a601774'
Summary: Sometimes, screenshots are blank → Sometimes screenshots are blank
(In reply to comment #2)
> I think this bug can be reproduced by
> clicking on "continue" when the image hasn't fully uploaded.

The Save button is disabled
Assignee: nobody → gkoberger
(In reply to comment #5)
> The Save button is disabled

Ignore!
(In reply to comment #5)
> (In reply to comment #2)
> > I think this bug can be reproduced by
> > clicking on "continue" when the image hasn't fully uploaded.
> 
> The Save button is disabled

If you upload multiple screenshots, the continue button is enabled before the last screenshot is fully uploaded.
Depends on: 623315
Fixed! https://github.com/jbalogh/zamboni/commit/6dd0cbb8c9d3dbc1cc7e794b659d4d226a13026c
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Now, the continue button is disabled while the screenshots are being uploaded.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: