corporategoth / rotationmaster

MIT License
2 stars 4 forks source link

Error at logon after 140 update #8

Closed rbpaiett closed 2 years ago

rbpaiett commented 2 years ago

This happened right when I logged on:

2x ...Master\Libs\AceGUI-3.0-41-Spell-EditBox\SpellLoader.lua:217: attempt to index field '?' (a nil value) [string "@RotationMaster\Libs\AceGUI-3.0-41-Spell-EditBox\SpellLoader.lua"]:217: in function UpdateFromSpellBook' [string "@RotationMaster\main.lua"]:1079: in function?' [string "@DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>

[string "@DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25> [string "@DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function `Fire' [string "@DataStore\libs\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

corporategoth commented 2 years ago

I found the issue, it will be fixed next version.

https://github.com/corporategoth/rotationmaster/commit/546d1c6c78484d246cc8647474fd66f80e62275d

rbpaiett commented 2 years ago

I manually added your fix and ended up with a 2nd error along with the original:

10x ...Master\Libs\AceGUI-3.0-41-Spell-EditBox\SpellLoader.lua:76: bad argument #1 to 'lower' (string expected, got nil) string "=[C]": in function lower' [string "@RotationMaster\Libs\AceGUI-3.0-41-Spell-EditBox\SpellLoader.lua"]:76: in function <...Master\Libs\AceGUI-3.0-Spell-EditBox\SpellLoader.lua:71> [string "@RotationMaster\Libs\AceGUI-3.0-41-Spell-EditBox\SpellLoader.lua"]:216: in functionUpdateFromSpellBook' [string "@RotationMaster\main.lua"]:1079: in function `?' [string "@DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>

[string "@DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25> [string "@DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function `Fire' [string "@DataStore\libs\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

corporategoth commented 2 years ago

What class are you playing? On what edition of WoW?

rbpaiett commented 2 years ago

I am playing a hunter-beast master and it's the latest classic TBC edition.

rbpaiett commented 2 years ago

Just to be sure, this only happens with my hunter, all others it works just fine. I even tried repeating it with just the one addon and it only errored out with the hunter.

corporategoth commented 2 years ago

This should be fixed, test it with the 1.4.1 Beta

rbpaiett commented 2 years ago

Ok will do.

rbpaiett commented 2 years ago

It works just fine, excellent!