fluddokt / opsu

an open-source osu! client
GNU General Public License v3.0
121 stars 18 forks source link

Could not create score database. #107

Closed ghost closed 7 years ago

ghost commented 7 years ago

Version: 0.15.0a OS: Linux (armv8l) JRE: The Android Project 0 BOARD: universal8890 FINGERPRINT: samsung/heroltexx/herolte:6.0.1/MMB29K/G930FXXU1BPLB:user/release-keys HOST: SWHD7406 MODEL: SM-G930F INCREMENTAL: G930FXXU1BPLB RELEASE: 6.0.1

Error: Could not create score database. Stack trace:

java.sql.SQLException: android.database.sqlite.SQLiteException: no such table: info (code 1): , while compiling: INSERT OR IGNORE INTO info(key, value) VALUES('version', 20170201)
#################################################################
Error Code : 1 (SQLITE_ERROR)
Caused By : SQL(query) error or missing database.
    (no such table: info (code 1): , while compiling: INSERT OR IGNORE INTO info(key, value) VALUES('version', 20170201))
#################################################################
    at java.lang.reflect.Constructor.newInstance(Native Method)
    at org.sqldroid.SQLDroidConnection.chainException(SQLDroidConnection.java:158)
    at org.sqldroid.SQLiteDatabase.execSQL(SQLiteDatabase.java:170)
    at org.sqldroid.SQLDroidStatement.execute(SQLDroidStatement.java:96)
    at itdelatrisu.opsu.db.ScoreDB.createDatabase(ScoreDB.java:189)
    at itdelatrisu.opsu.db.ScoreDB.init(ScoreDB.java:115)
    at itdelatrisu.opsu.db.DBController.init(DBController.java:50)
    at itdelatrisu.opsu.Opsu.main(Opsu.java:202)
    at fluddokt.opsu.fake.GameOpsu.create(GameOpsu.java:206)
    at com.badlogic.gdx.backends.android.AndroidGraphics.onSurfaceChanged(AndroidGraphics.java:241)
    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1633)
    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1354)
Caused by: android.database.sqlite.SQLiteException: no such table: info (code 1): , while compiling: INSERT OR IGNORE INTO info(key, value) VALUES('version', 20170201)
#################################################################
Error Code : 1 (SQLITE_ERROR)
Caused By : SQL(query) error or missing database.
    (no such table: info (code 1): , while compiling: INSERT OR IGNORE INTO info(key, value) VALUES('version', 20170201))
#################################################################
    at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
    at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:1058)
    at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:623)
    at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
    at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:59)
    at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
    at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1812)
    at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1743)
    at org.sqldroid.SQLiteDatabase.execSQL(SQLiteDatabase.java:163)
    ... 9 more