If you upload a snap that uses x11 plug but does not have a .desktop file you get an email with this cryptic error message:
Launchpad uploaded this snap package to the store, but the store failed to
scan it:
desktop interfaces (x11) specified without meta/gui/.desktop. Please provide a desktop file via setup/gui/.desktop if using snapcraft or meta/gui/*.desktop otherwise. It should reference one of the ‘apps’ from your snapcraft/snap.yaml.
Based on this message I expect that it is enough to simply push a fixed snapcraft.yaml. However this will not work. The bad package will block the store queue waiting for a manual review and some time later you will get another cryptic email:
Manual review requested for v2 (1) upload of sigrok-ali1234.a-j-buxton.
To check review details, go to -link-
Upload status: Manual review pending
Visit the developer portal at -link- to find out more.
To view the package, go to -link-
It isn’t clear that these two emails are related, nor is it clear who requested the review or why, nor what I am supposed to do about it. If I do nothing then upon pushing a fixed snapcraft.yaml and waiting for it to build I get this:
Launchpad uploaded this snap package to the store, but the store failed to
scan it:
Waiting for previous upload(s) to complete their review process. If you want to prioritize this last one, go to the other upload(s) page in -link- and click on the ‘Reject and remove from review queue’ button.
At this point I finally figured out that I need to manually delete the failed package before I can upload any more. This was especially confusing since I didn’t just get three emails: I got several duplicates because snaps build for two architectures, and they dribbled in over the course of about half an hour, during which time I had no idea what was going on and attempted to push several snapcraft.yaml revisions to fetch it, which only caused me to get more of these emails later - a total of 12 error emails from the store dashboard.