pushing an already-uploaded snap gives unhelpful error

Bug #1662206 reported by Daniel Manrique
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Committed
Undecided
Joe Talbott

Bug Description

Hello,

When uploading an already-uploaded snap via the web UI I Get:

"binary_sha3_384: A file with this exact same content has already been uploaded"

If you use snapcraft:

> snapcraft push hello-uptest-1_2_amd64.snap
Uploading hello-uptest-1_2_amd64.snap [===================================] 100%
Ready to release!|
Revision 1 of 'hello-uptest-1' created.
> snapcraft push hello-uptest-1_2_amd64.snap
Uploading hello-uptest-1_2_amd64.snap [====================================================] 100%
Error while processing...|
Uploaded 'hello-uptest-1'
There has been a problem while analyzing the snap, check the snap and try to push again.

The "there has been a problem" message is not helpful about the actual nature of the problem. It would be good if the message indicated it's because the store already has that upload.

The response from the store API does contain information stating this is the case, so it should just be a matter of snapcraft using that response to present a friendlier message.

Joe Talbott (joetalbott)
Changed in snapcraft:
status: New → Confirmed
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

It would of been nice if the store folks would have updated the original bug in the first place :-/

LP: #1602095

Revision history for this message
Joe Talbott (joetalbott) wrote :
Changed in snapcraft:
status: Confirmed → Fix Committed
assignee: nobody → Joe Talbott (joetalbott)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.