yugecin / opsu-dance

[abandoned] fork of opsu! (which is an osu! clone) with extra stuff
GNU General Public License v3.0
72 stars 15 forks source link

*** Unhandled SQLException: Could not initialize database. #301

Closed waszup closed 4 years ago

waszup commented 4 years ago

Could not initialize database.

ver 0.5.1 os Windows 10 (amd64) jre 1.8.0_221 (Oracle Corporation) trace

java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (table beatmaps has 49 columns but 47 values were supplied)
    at org.sqlite.core.DB.newSQLException(DB.java:890)
    at org.sqlite.core.DB.newSQLException(DB.java:901)
    at org.sqlite.core.DB.throwex(DB.java:868)
    at org.sqlite.core.NativeDB.prepare(Native Method)
    at org.sqlite.core.DB.prepare(DB.java:211)
    at org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:40)
    at org.sqlite.jdbc3.JDBC3PreparedStatement.<init>(JDBC3PreparedStatement.java:29)
    at org.sqlite.jdbc4.JDBC4PreparedStatement.<init>(JDBC4PreparedStatement.java:18)
    at org.sqlite.jdbc4.JDBC4Connection.prepareStatement(JDBC4Connection.java:47)
    at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:254)
    at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:226)
    at itdelatrisu.opsu.db.BeatmapDB.init(BeatmapDB.java:119)
    at itdelatrisu.opsu.db.DBController.init(DBController.java:45)
    at yugecin.opsudance.OpsuDance.start(OpsuDance.java:39)
    at yugecin.opsudance.core.Entrypoint.main(Entrypoint.java:80)

info dump

> DisplayContainer dump
OpenGL version: null(null)
state is null
tNextState is null
loading sound: none
playing map: null
yugecin commented 4 years ago

you're most likely using a db from opsu! to run opsu!dance delete .opsu.db file

waszup commented 4 years ago

I cant find .opsu.db

Le sam. 29 févr. 2020 à 15:10, Robin notifications@github.com a écrit :

Closed #301 https://github.com/yugecin/opsu-dance/issues/301.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yugecin/opsu-dance/issues/301?email_source=notifications&email_token=AOQH6NM45QE5NEFODHESBNLRFDWLTA5CNFSM4K6UIAM2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOW7OAVTI#event-3084651213, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOQH6NOW5ETFP7RGCQWTYLTRFDWLTANCNFSM4K6UIAMQ .

waszup commented 4 years ago

Oh nvm i found it

Le sam. 29 févr. 2020 à 23:07, Twixx lorrainethibault04@gmail.com a écrit :

I cant find .opsu.db

Le sam. 29 févr. 2020 à 15:10, Robin notifications@github.com a écrit :

Closed #301 https://github.com/yugecin/opsu-dance/issues/301.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yugecin/opsu-dance/issues/301?email_source=notifications&email_token=AOQH6NM45QE5NEFODHESBNLRFDWLTA5CNFSM4K6UIAM2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOW7OAVTI#event-3084651213, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOQH6NOW5ETFP7RGCQWTYLTRFDWLTANCNFSM4K6UIAMQ .