Error upon moving pet spells
bandophahita opened this issue ยท 0 comments
I'm receiving the following error when I move pet spells to a different spot in the pet action bar.
Here are the steps to reproduce.
- login with tullaRange 8.3.2 enabled
- move a pet spell (using click and drag) from Pet Action Button 9 to Pet Action Button 10. (cursory inspection says it doesn't matter which two Pet buttons positions)
- witness the error
attempt to indx local 'bar' (a nil value)
It's possible this error may have arisen due to something I have done on my end, but I'm unable to figure out what or determine what I can do about it.
Message: Interface\AddOns\tullaRange\tullaRange.lua:161: attempt to index local 'bar' (a nil value)
Time: Tue Jul 28 12:06:40 2020
Count: 3
Stack: Interface\AddOns\tullaRange\tullaRange.lua:161: attempt to index local 'bar' (a nil value)
[string "@Interface\AddOns\tullaRange\tullaRange.lua"]:161: in function <Interface\AddOns\tullaRange\tullaRange.lua:158>
[string "=[C]"]: in function `PetActionBar_Update'
[string "@Interface\FrameXML\PetActionBarFrame.lua"]:375: in function `PetActionButton_OnDragStart'
[string "*:OnDragStart"]:1: in function <[string "*:OnDragStart"]:1>
Locals: bar = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'bar' (a nil value)"
self = tullaRange {
PLAYER_LOGOUT = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:215
CleanupDatabase = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:446
GetActionButtonState = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:278
GetFlashDuration = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:512
petActions = <table> {
}
GetColor = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:485
UpdateActionButtonWatched = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:302
GetDatabaseDefaults = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:454
EnableFlashAnimations = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:503
StopButtonFlashing = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:387
SetupDatabase = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:435
UpdateActionButtonState = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:298
flashAnimations = <table> {
}
EnablePetActions = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:521
SetEnableFlashAnimations = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:507
UpdateButtonFlashing = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:396
SetButtonState = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:241
RequestUpdate = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:232
updating = 990438.848000
sets = <table> {
}
buttonStates = <table> {
}
UpdateButtonStates = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:253
SetFlashDuration = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:516
watchedPetActions = <table> {
}
StartButtonFlashing = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:364
0 = <userdata>
OnEvent = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:67
watchedActions = <table> {
}
UpdatePetActionButtonState = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:335
GetPetActionButtonState = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:315
SetEnablePetActions = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:525
ResetDatabase = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:474
UpdatePetActionButtonWatched = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:339
SetColor = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:491
}
followed by
Message: Interface\AddOns\tullaRange\tullaRange.lua:161: attempt to index local 'bar' (a nil value)
Time: Tue Jul 28 12:10:00 2020
Count: 1
Stack: Interface\AddOns\tullaRange\tullaRange.lua:161: attempt to index local 'bar' (a nil value)
[string "@Interface\AddOns\tullaRange\tullaRange.lua"]:161: in function <Interface\AddOns\tullaRange\tullaRange.lua:158>
[string "=[C]"]: in function `PetActionBar_Update'
[string "@Interface\FrameXML\PetActionBarFrame.lua"]:384: in function `PetActionButton_OnReceiveDrag'
[string "*:OnReceiveDrag"]:1: in function <[string "*:OnReceiveDrag"]:1>
Locals: bar = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'bar' (a nil value)"
self = tullaRange {
PLAYER_LOGOUT = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:215
CleanupDatabase = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:446
GetActionButtonState = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:278
GetFlashDuration = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:512
petActions = <table> {
}
GetColor = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:485
UpdateActionButtonWatched = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:302
GetDatabaseDefaults = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:454
EnableFlashAnimations = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:503
StopButtonFlashing = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:387
SetupDatabase = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:435
UpdateActionButtonState = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:298
flashAnimations = <table> {
}
EnablePetActions = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:521
SetEnableFlashAnimations = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:507
UpdateButtonFlashing = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:396
SetButtonState = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:241
RequestUpdate = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:232
updating = 990638.427000
sets = <table> {
}
buttonStates = <table> {
}
UpdateButtonStates = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:253
SetFlashDuration = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:516
watchedPetActions = <table> {
}
StartButtonFlashing = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:364
0 = <userdata>
OnEvent = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:67
watchedActions = <table> {
}
UpdatePetActionButtonState = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:335
GetPetActionButtonState = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:315
SetEnablePetActions = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:525
ResetDatabase = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:474
UpdatePetActionButtonWatched = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:339
OnShow = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:59
SetColor = <function> defined @Interface\AddOns\tullaRange\tullaRange.lua:491
}