No explicit error message when trying to push the same snap twice

Bug #1619818 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned
Software Center Agent
Invalid
Undecided
Unassigned

Bug Description

When I push the same snap twice, the store status tracker replies with:
A file with this exact same content has already been uploaded

However, snapcraft only says:

There has been a problem while analyzing the snap, check the snap and try to push again.

Tags: store
Leo Arias (elopio)
tags: added: store
Revision history for this message
Leo Arias (elopio) wrote :

The result from the status tracker is:

{'processed': True, 'can_release': False, 'code': 'processing_error', 'errors': [{'message': 'binary_sha3_384: A file with this exact same content has already been uploaded', 'code': N
one}]}

I will check my steps, this doesn't sound like anything related to grade.

Changed in software-center-agent:
status: New → Invalid
summary: - Error when trying to push and release a snap with devel grade
+ No explicit error message when trying to push the same snap twice
description: updated
Revision history for this message
Leo Arias (elopio) wrote :

Yes, sorry to the store people for the noise. I've marked it as invalid for you. The issue here is that snapcraft is printing a generic message that points in the wrong direction. It says push again, and that's precisely what caused the error.

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Yes, all the error messages in the store are new, we need to support those and there is a task for that.

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.