Spowlo icon indicating copy to clipboard operation
Spowlo copied to clipboard

[App crash]

Open Meraru99 opened this issue 1 year ago • 1 comments

Checklist

  • [X] I've verified that I'm running the latest stable version of Spowlo or any later preview versions.
  • [X] I've checked that the YouTube Music is available in my country.
  • [X] I understand that the issue will be (ignored/closed) if I intentionally remove or skip any mandatory field.

Describe the bug

android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: downloaded_songs_info.id (code 1555 SQLITE_CONSTRAINT_PRIMARYKEY[1555]) at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method) at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:1232) at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:790) at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:89) at androidx.sqlite.db.framework.FrameworkSQLiteStatement.executeInsert(FrameworkSQLiteStatement.kt:42) at androidx.room.EntityInsertionAdapter.insert(EntityInsertionAdapter.kt:67) at com.bobbyesp.spowlo.database.SongsInfoDao_Impl$15.call(SongsInfoDao_Impl.java:260) at com.bobbyesp.spowlo.database.SongsInfoDao_Impl$15.call(SongsInfoDao_Impl.java:254) at androidx.room.CoroutinesRoom$Companion.execute(CoroutinesRoom.kt:56) at androidx.room.CoroutinesRoom.execute(Unknown Source:2) at com.bobbyesp.spowlo.database.SongsInfoDao_Impl.insertAll(SongsInfoDao_Impl.java:254) at com.bobbyesp.spowlo.database.SongsInfoDao$DefaultImpls.insertInfoDistinctByPath(SongsInfoDao.kt:50) at com.bobbyesp.spowlo.database.SongsInfoDao_Impl.lambda$insertInfoDistinctByPath$1(SongsInfoDao_Impl.java:488) at com.bobbyesp.spowlo.database.SongsInfoDao_Impl.$r8$lambda$OaYobURB_ntQXLyCaQ2U7yjGMa0(Unknown Source:0) at com.bobbyesp.spowlo.database.SongsInfoDao_Impl$$ExternalSyntheticLambda1.invoke(Unknown Source:8) at androidx.room.RoomDatabaseKt$withTransaction$transactionBlock$1.invokeSuspend(RoomDatabaseExt.kt:62) at androidx.room.RoomDatabaseKt$withTransaction$transactionBlock$1.invoke(Unknown Source:8) at androidx.room.RoomDatabaseKt$withTransaction$transactionBlock$1.invoke(Unknown Source:4) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167) ...

To Reproduce

Share "Better" by Kelela into the app.

Error reports

android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: downloaded_songs_info.id (code 1555 SQLITE_CONSTRAINT_PRIMARYKEY[1555]) at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method) at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:1232) at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:790) at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:89) at androidx.sqlite.db.framework.FrameworkSQLiteStatement.executeInsert(FrameworkSQLiteStatement.kt:42) at androidx.room.EntityInsertionAdapter.insert(EntityInsertionAdapter.kt:67) at com.bobbyesp.spowlo.database.SongsInfoDao_Impl$15.call(SongsInfoDao_Impl.java:260) at com.bobbyesp.spowlo.database.SongsInfoDao_Impl$15.call(SongsInfoDao_Impl.java:254) at androidx.room.CoroutinesRoom$Companion.execute(CoroutinesRoom.kt:56) at androidx.room.CoroutinesRoom.execute(Unknown Source:2) at com.bobbyesp.spowlo.database.SongsInfoDao_Impl.insertAll(SongsInfoDao_Impl.java:254) at com.bobbyesp.spowlo.database.SongsInfoDao$DefaultImpls.insertInfoDistinctByPath(SongsInfoDao.kt:50) at com.bobbyesp.spowlo.database.SongsInfoDao_Impl.lambda$insertInfoDistinctByPath$1(SongsInfoDao_Impl.java:488) at com.bobbyesp.spowlo.database.SongsInfoDao_Impl.$r8$lambda$OaYobURB_ntQXLyCaQ2U7yjGMa0(Unknown Source:0) at com.bobbyesp.spowlo.database.SongsInfoDao_Impl$$ExternalSyntheticLambda1.invoke(Unknown Source:8) at androidx.room.RoomDatabaseKt$withTransaction$transactionBlock$1.invokeSuspend(RoomDatabaseExt.kt:62) at androidx.room.RoomDatabaseKt$withTransaction$transactionBlock$1.invoke(Unknown Source:8) at androidx.room.RoomDatabaseKt$withTransaction$transactionBlock$1.invoke(Unknown Source:4) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167) ...

Screenshots & Screen Records

No response

Device info

No response

Additional context

No response

Meraru99 avatar Mar 27 '24 18:03 Meraru99

Clean app data and restart

BobbyESP avatar Apr 01 '24 13:04 BobbyESP