BobbyESP / Spowlo

A Spotify songs downloader for Android made with Jetpack Compose, Material You and the spotDL Python library
https://t.me/spowlo_chatroom
GNU General Public License v3.0
853 stars 17 forks source link

[App crash] #128

Closed JoshWoddy closed 3 months ago

JoshWoddy commented 3 months ago

Checklist

Describe the bug

Before it happen, i pressed the option to separate by playlist (don't know if you need this), after that i close the app and later opened it again only to be greeted by the error message, i already reinstall the app and resetting the app data, it didn't work

To Reproduce

By pressing the separate playlist button??? (Doubt)

Error reports

kotlinx.serialization.json.internal.JsonDecodingException: Expected start of the array '[', but had 'EOF' instead at path: $ JSON input: .....com/rest/overview/resources-in-the-rest-api#rate-limiting"}

at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24)
at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:32)
at kotlinx.serialization.json.internal.AbstractJsonLexer.fail(AbstractJsonLexer.kt:584)
at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$default(AbstractJsonLexer.kt:582)
at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$kotlinx_serialization_json(AbstractJsonLexer.kt:223)
at kotlinx.serialization.json.internal.AbstractJsonLexer.unexpectedToken(AbstractJsonLexer.kt:206)
at kotlinx.serialization.json.internal.StringJsonLexer.consumeNextToken(StringJsonLexer.kt:74)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.beginStructure(StreamingJsonDecoder.kt:100)
at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:29)
at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:70)
at kotlinx.serialization.json.Json.decodeFromString(Json.kt:107)
at com.bobbyesp.spowlo.utils.UpdateUtil$getLatestRelease$2$1.onResponse(UpdateUtil.kt:330)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:539)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)

kotlinx.serialization.json.internal.JsonDecodingException: Expected start of the array '[', but had 'EOF' instead at path: $ JSON input: .....com/rest/overview/resources-in-the-rest-api#rate-limiting"}

at kotlinx.serialization.json.i...

Screenshots & Screen Records

Screenshot_2024-03-07-20-33-30-414_com bobbyesp spowlo

Device info

App version: 1.4.1 (1040100) Device information: Android 10 (API 29) Supported ABIs: [arm64-v8a, armeabi-v7a, armeabi] spotDL version: null

Additional context

Playlist button???

JoshWoddy commented 3 months ago

It just fix itself, dont know how