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] #93

Closed IFRIT-999 closed 5 months ago

IFRIT-999 commented 5 months ago

Checklist

Describe the bug

java.lang.IllegalStateException: Migration didn't properly handle: downloaded_songs_info(com.bobbyesp.spowlo.database.DownloadedSongInfo). Expected: TableInfo{name='downloaded_songs_info', columns={songName=Column{name='songName', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue='undefined'}, songDuration=Column{name='songDuration', type='REAL', affinity='4', notNull=true, primaryKeyPosition=0, defaultValue='0.0'}, extractor=Column{name='extractor', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue=''Unknown''}, id=Column{name='id', type='INTEGER', affinity='3', notNull=true, primaryKeyPosition=1, defaultValue='undefined'}, songPath=Column{name='songPath', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue='undefined'}, songUrl=Column{name='songUrl', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue='undefined'}, songAuthor=Column{name='songAuthor', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue='undefined'}, thumbnailUrl=Column{name='thumbnailUrl', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue='undefined'}}, foreignKeys=[], indices=[]} Found: TableInfo{name='downloaded_songs_info', columns={}, foreignKeys=[], indices=[]} at androidx.room.RoomOpenHelper.onUpgrade(RoomOpenHelper.kt:93) at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.onUpgrade(FrameworkSQLiteOpenHelper.kt:253) at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:416) at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:316) at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.getWritableOrReadableDatabase(FrameworkSQLiteOpenHelper.kt:232) at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.innerGetDatabase(FrameworkSQLiteOpenHelper.kt:190) at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.getSuppor...

To Reproduce

No response

Error reports

java.lang.IllegalStateException: Migration didn't properly handle: downloaded_songs_info(com.bobbyesp.spowlo.database.DownloadedSongInfo). Expected: TableInfo{name='downloaded_songs_info', columns={songName=Column{name='songName', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue='undefined'}, songDuration=Column{name='songDuration', type='REAL', affinity='4', notNull=true, primaryKeyPosition=0, defaultValue='0.0'}, extractor=Column{name='extractor', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue=''Unknown''}, id=Column{name='id', type='INTEGER', affinity='3', notNull=true, primaryKeyPosition=1, defaultValue='undefined'}, songPath=Column{name='songPath', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue='undefined'}, songUrl=Column{name='songUrl', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue='undefined'}, songAuthor=Column{name='songAuthor', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue='undefined'}, thumbnailUrl=Column{name='thumbnailUrl', type='TEXT', affinity='2', notNull=true, primaryKeyPosition=0, defaultValue='undefined'}}, foreignKeys=[], indices=[]} Found: TableInfo{name='downloaded_songs_info', columns={}, foreignKeys=[], indices=[]} at androidx.room.RoomOpenHelper.onUpgrade(RoomOpenHelper.kt:93) at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.onUpgrade(FrameworkSQLiteOpenHelper.kt:253) at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:416) at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:316) at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.getWritableOrReadableDatabase(FrameworkSQLiteOpenHelper.kt:232) at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.innerGetDatabase(FrameworkSQLiteOpenHelper.kt:190) at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.getSuppor...

Screenshots & Screen Records

No response

Device info

App Version 1.4.1

Additional context

No response

tryrebooting commented 5 months ago

I am having this issue also. Screenshot_20240106-122054

The UI looks like seal now and the download button is covered by 3 button navigation

BobbyESP commented 5 months ago

You can swipe up a little bit to move up the bottom sheet and be able to click those buttons