← Back to issue list

snapcraft login should check namespace status

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1714916
Type
issue
State
open
Author
~chihchun
Labels
Created
Updated
Closed

Current evaluation

2017 request for snapcraft login to check namespace status and show a useful error instead of 'Unexpected error when obtaining your account information.' No labels, no comments, no activity for ~9 years.

Suggested action: close stale

Reason: The issue is 3283 days old with zero comments, no labels, and no maintainer interaction, and it describes the legacy Ubuntu One SSO login flow (snapcraft 1.x/2.x era, 2017 forum link) that has been fully replaced by the modern store client visible in the current codebase (snapcraft/store/, snapcraft/services/), so the specific error path and repro are no longer applicable. Confidence is moderate because repo code tools were unavailable to confirm the old error string is gone from the current login path.

Impact: 25 Quick Win: 17.5 Staleness: 95 Complexity: 30 Confidence: 55 Support Request: 25

Issue body

snapcraft login stops to check the namespace status but return a useless error message - "Unexpected error when obtaining your account information.". The user needs to login dashboard.snapcraft.io and set the namespace to solve the login issue. eg, snapcraft login Enter your Ubuntu One SSO credentials. Email: <email address hidden> Password: We strongly recommend enabling multi-factor authentication: https://help.ubuntu.com/community/SSO/FAQs/2FA Do you agree to the developer terms and conditions. (https://dashboard.snapcraft.io/dev/agreements/new/)? [y/N] y Unexpected error when obtaining your account information. Login failed. Ref * Unexpected error when obtaining your account information. Login failed - snapcraft - snapcraft.io - https://forum.snapcraft.io/t/unexpected-error-when-obtaining-your-account-information-login-failed/1960

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 25
Quick Win: 17.5
Staleness: 95
Complexity: 30
Confidence: 55
Support Request: 25
close stale 2017 request for snapcraft login to check namespace status and show a useful error instead of 'Unexpected error when obtaining your account information.' No labels, no comments, no activity for ~9 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 10
Confidence: 92
Support Request: 25
close stale snapcraft login fails with a generic error when namespace is unconfigured, requesting better messaging. Issue remains untriaged and inactive for over 8 years.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 20
Confidence: 90
Support Request: 10
close stale Request to improve snapcraft login error messaging when a user's namespace is not configured. Issue is extremely old with no maintainer response or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 20
Confidence: 85
Support Request: 15
close stale snapcraft login fails with a generic error when a user namespace is not configured. Requests improved error messaging. Open for over 8 years with no maintainer response or labels.
qwen3.6-35b-moe-q4
Staleness: 98
Complexity: 20
Confidence: 90
Support Request: 15
close stale Report that snapcraft login fails with a generic error when a user's namespace is not configured, requesting better error messaging or namespace status checks. Issue is over 8 years old with no maintainer interaction.

Update history

No update history recorded yet.

Related work

  • Related To: launchpad#1634038 (confidence 45%)

    Launchpad bug 'Snapcraft should verify namespace before uploading' surfaced by semantic search; same namespace-verification concern but at upload time rather than login.

Related issues

Issue Project State Summary Similarity
#1634038 Snapcraft should verify namespace before uploading snapcraft (launchpad) open Feature request from 2016 asking snapcraft to verify the user's namespace before uploading, to avoid expensive post-upload failures. Open for ~10 years with zero comments, no labels, and no maintainer interaction.
76%
#1782636 Snapcraft request user to login even if the user is logged in snapcraft (launchpad) open 2017 report that snapcraft register-key re-prompts for Ubuntu One login right after a successful snapcraft login; reporter suggests a clearer message. No labels, 0 comments, no maintainer activity for ~8 years; codebase since fully rewritten.
72%
#1843404 snapcraft export-login doesn't provide meaningful error messages when an argument is wrong snapcraft (launchpad) open snapcraft export-login returns a generic 'Authentication error: Failed to get macaroon' instead of a meaningful message when an argument (e.g. snap name) is wrong. Unlabelled, zero comments, no maintainer interaction for ~7 years.
71%
#1684091 snapcraft gives a confusing message when you lack permissions to administer snap snapcraft (launchpad) open snapcraft status reports 'Snap X was not found in series 16' when the real cause is that the user lacks collaborator/admin permissions on the snap; reporter suggests a clearer message. No labels, no comments, no maintainer activity in ~9 years.
71%