-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected error when starts game #463
Comments
Please ensure that you are moving the directory to a place that the game has read and write access to. |
But i allowed the directory access to the game read-and-write archives. What is happening? |
Have you changed main directory location in game settings? |
yes |
Yeah unfortunately you changed it to a directory that doesn't have Write/Read access, I would suggest to clear application data (not only cache) to fix this. |
hmm, i will try |
GOOD, I TRYED, but now has other error: java.lang.IllegalStateException: Fragment SettingsFragment{34a821c} (8fe349cc-ce3e-4bca-8c7d-e6b5b4aba652) not attached to an activity. When i click to restart the game, only appears a black screen and the game wont load |
Don't change the main directory. |
wait. wait a moment... Will it be that if I just change the beatmaps directory, the game won't crash? |
Certainly, that's because you're trying to set a directory that the game is not allowed to write on. |
hmmmm.... |
That depends on whether the game is allowed to write to the directory. The same goes for the main directory. |
AND, i was correct, the game wont crashed changing only the beatmaps directory |
thanks guys for helping me with this. Bye! |
More one problem: why the game talks that has a problem extracting a ZIP file? |
Issue description
Steps to reproduce the issue
Additional details / Screenshot / Clip
android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode.
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:808)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:793)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:696)
at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:652)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:289)
at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:289)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:223)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)
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.getSupportDatabase(FrameworkSQLiteOpenHelper.kt:151)
at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper.getWritableDatabase(FrameworkSQLiteOpenHelper.kt:104)
at androidx.room.RoomDatabase.inTransaction(RoomDatabase.kt:632)
at androidx.room.RoomDatabase.assertNotSuspendingTransaction(RoomDatabase.kt:451)
at com.reco1l.osu.data.IBeatmapInfoDAO_Impl.getBeatmapSetList(IBeatmapInfoDAO_Impl.java:293)
at ru.nsu.ccfit.zuev.osu.LibraryManager.loadLibrary(LibraryManager.java:78)
at ru.nsu.ccfit.zuev.osu.MainActivity.loadBeatmapLibrary(MainActivity.java:471)
at ru.nsu.ccfit.zuev.osu.MainActivity.lambda$onLoadComplete$2(MainActivity.java:303)
at ru.nsu.ccfit.zuev.osu.MainActivity.$r8$lambda$-_IWxgnM0FoKo9bZuHZm9nc77qI(MainActivity.java)
at ru.nsu.ccfit.zuev.osu.MainActivity$$ExternalSyntheticLambda1.run(D8$$SyntheticClass)
at com.reco1l.osu.Execution.async$lambda$0(ExecutionOverloads.kt:24)
at com.reco1l.osu.Execution.$r8$lambda$FU5eGVDz2ojaFVDAlK-lPlNXRBU(ExecutionOverloads.kt)
at com.reco1l.osu.Execution$$ExternalSyntheticLambda2.invoke(D8$$SyntheticClass)
at com.reco1l.toolkt.kotlin.ExecutionKt$async$1.invokeSuspend(Execution.kt:15)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:832)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@1762f13, Dispatchers.Default]
Versions
Crashdump, backtrace or other files
Nothing here
The text was updated successfully, but these errors were encountered: