Skip to content

Last.fm authentication fails #2996

@agcrisbp

Description

@agcrisbp

Is there an existing issue for this? (Please read the description)

  • I have searched the existing issues

Current Behavior

When attempting to log in to Last.fm in Spotube, the authentication fails with a SQLite exception indicating a duplicate primary key conflict on the scrobbler_table .

Image

Expected Behavior

User should be successfully authenticated and logged into Last.fm for scrobbling functionality.

Steps to reproduce

  1. Open Spotube app
  2. Navigate to Last.fm authentication settings
  3. Enter Last.fm credentials
  4. Attempt to log in
  5. Error dialog appears

Logs

Logs
SqliteException(1555): while executing statement, 
UNIQUE constraint failed: scrobbler_table.id, constraint failed (code 1555)

Causing statement: INSERT INTO "scrobbler_table" ("id", "username", "password_hash") VALUES (?, ?, ?), 
parameters: 0, agcrisbp, *****

Operating System

Android

Spotube version

v5.1.1

Installation source

GitHub Releases (Binary)

Additional information

No response

Self grab

  • I'm ready to work on this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions