snapcraft upload error because of missing short namespace doesn't tell how to solve the problem

Bug #1602094 reported by Leo Arias
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Won't Fix
Medium
Unassigned
Software Center Agent
New
Undecided
Unassigned

Bug Description

When I try to upload a snap without a missing short namespace in myapps account, I get the error:

Received 403: 'Developer profile is missing short namespace.'

This error needs to be improved. Hide the 403, and show a way to register the namespace. Right now, that would be a link to the website.

Steps to reproduce:

- Register a new user in login.ubuntu.com
- Confirm the account by mail.
- Go to myapps.developer.ubuntu and accept the terms.
- Register a snap.
- snapcraft init
- Change the name of the snap to be the one you registered.
- snapcraft
- snapcraft upload *.snap

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

The developer agreement and this step break the CLI flow. You have to leave the command line and go to the browser in order to publish your first snap. We should discuss how to avoid that; I think the only step that requires a browser should be registering an SSO account.

Changed in snapcraft:
importance: Undecided → Medium
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

This requires a better error code from the store to implement correctly.

Changed in snapcraft:
status: New → Triaged
tags: added: store
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

this should no longer be a problem, please reopen or log again if you see it rise from the ashes... again

Changed in snapcraft:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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