stoneharry / WoW-Spell-Editor

A Spell Editor for WoW versions WOTLK 3.3.5, TBC 2.4.3, or Vanilla 1.12.1.
258 stars 117 forks source link

Help me please, Faile to load core DBC files based on binding! #242

Open AdemarLombriga opened 1 month ago

AdemarLombriga commented 1 month ago

Captura de tela 2024-08-13 134726

AdemarLombriga commented 1 month ago

debug_output.txt

stoneharry commented 1 month ago
System.InvalidCastException: Objeto não pode ser convertido de DBNull em outros tipos.
   em System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider)
   em MySql.Data.MySqlClient.Driver.LoadCharacterSets(MySqlConnection connection)
   em MySql.Data.MySqlClient.Driver.Configure(MySqlConnection connection)
   em MySql.Data.MySqlClient.MySqlConnection.Open()
   em SpellEditor.Sources.Database.MySQL..ctor(Boolean initialiseDatabase)
   em SpellEditor.Sources.Database.AdapterFactory.GetAdapter(Boolean initialiseDatabase)
   em SpellEditor.MainWindow.<>c__DisplayClass44_0.<LoadAllData>b__1(

Which WoW version are you using? Which locale (can you upload your DBC files for me to look at?)

Are you using MySQL or SQLite?

If MySQL, try using a different database name.

If SQLite, try deleting the SpellEditor.db file and trying again.

AdemarLombriga commented 1 month ago

I'm using version 3.3.5 image

AdemarLombriga commented 4 weeks ago

dbc.zip

samunit commented 3 weeks ago

Think I have the same issue, using MariaDB 1.11.6 on debian, client 3.3.5 with mysql, tried different version of the software.

System.InvalidCastException: Object cannot be cast from DBNull to other types. at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider) at MySql.Data.MySqlClient.Driver.LoadCharacterSets(MySqlConnection connection) at MySql.Data.MySqlClient.Driver.Configure(MySqlConnection connection) at MySql.Data.MySqlClient.MySqlConnection.Open() at SpellEditor.Sources.Database.MySQL..ctor(Boolean initialiseDatabase) at SpellEditor.Sources.Database.AdapterFactory.GetAdapter(Boolean initialiseDatabase) at SpellEditor.MainWindow.<>c__DisplayClass44_0.<loadAllData>b__0()

MCurcan commented 2 weeks ago

I have same issue and i'm at the same point as you

stoneharry commented 1 week ago

For the Linux issues with MariaDB, see: https://github.com/stoneharry/WoW-Spell-Editor/issues/230#issuecomment-2256028864