36 - Lots of LUA errors in 5.4.1 totally unusable.
What steps will reproduce the problem?
1. Just log in and BankItems will start tossing up LUA errors by the boat load.
What is the expected output? What do you see instead?
No LUA errors.
What version of the product are you using?
v50003
Do you have an error log of what happened?
Yes:
LUA Error 1:
Message: Interface\AddOns\BankItems\BankItems.lua:2495: bad argument #1 to 'strtrim' (string expected, got nil) Time: Tue Oct 29 13:16:07 2013 Count: 1 Stack: [C]: ? Interface\AddOns\BankItems\BankItems.lua:2495: in function `BankItems_Initialize' Interface\AddOns\BankItems\BankItems.lua:1064: in function <Interface\AddOns\BankItems\BankItems.lua:977> Locals: (*temporary) = nil (*temporary) = "string expected, got nil"
LUA Error 2:
Message: Interface\AddOns\BankItems\BankItems.lua:2877: attempt to index upvalue 'selfPlayer' (a nil value) Time: Tue Oct 29 13:16:13 2013 Count: 2 Stack: Interface\AddOns\BankItems\BankItems.lua:2877: in function `BankItems_SaveCurrency' Interface\AddOns\BankItems\BankItems.lua:1037: in function <Interface\AddOns\BankItems\BankItems.lua:977> Locals: name = nil isHeader = nil isExpanded = nil isUnused = nil isWatched = nil count = nil icon = nil j = 0 (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = "attempt to index upvalue 'selfPlayer' (a nil value)" selfPlayer = nil newTable = <function> defined @Interface\AddOns\BankItems\BankItems.lua:2122 delTable = <function> defined @Interface\AddOns\BankItems\BankItems.lua:2129 tremove = <function> defined =[C]:-1 bankPlayer = nil BagContainerAr = <table> { } BagButtonAr = <table> { }
LUA Error 3:
Message: Interface\AddOns\BankItems\BankItems.lua:2742: attempt to index upvalue 'selfPlayer' (a nil value) Time: Tue Oct 29 13:16:13 2013 Count: 1 Stack: Interface\AddOns\BankItems\BankItems.lua:2742: in function `BankItems_SaveInvItems' Interface\AddOns\BankItems\BankItems.lua:999: in function <Interface\AddOns\BankItems\BankItems.lua:977> Locals: bagID = nil startBag = -1 endBag = 4 (*temporary) = nil (*temporary) = 7 (*temporary) = 7 (*temporary) = 1 (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = "attempt to index upvalue 'selfPlayer' (a nil value)" isBankOpen = false selfPlayer = nil format = <function> defined =[C]:-1 newTable = <function> defined @Interface\AddOns\BankItems\BankItems.lua:2122 GetContainerNumSlots = <function> defined =[C]:-1 GetInventoryItemLink = <function> defined =[C]:-1 delTable = <function> defined @Interface\AddOns\BankItems\BankItems.lua:2129 bankPlayer = nil BagContainerAr = <table> { } GetContainerItemInfo = <function> defined =[C]:-1 GetInventoryItemCount = <function> defined =[C]:-1
LUA Error 4:
Message: Interface\FrameXML\UIPanelTemplates.lua:505: attempt to perform arithmetic on field 'cursorOffset' (a nil value) Time: Tue Oct 29 13:16:13 2013 Count: 1 Stack: Interface\FrameXML\UIPanelTemplates.lua:505: in function `ScrollingEdit_OnUpdate' Interface\FrameXML\UIPanelTemplates.lua:482: in function `ScrollingEdit_OnTextChanged' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:579: in function `ScriptErrorsFrame_Update' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:543: in function `ScriptErrorsFrame_OnError' [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4> [C]: ? Interface\AddOns\BankItems\BankItems.lua:2742: in function `BankItems_SaveInvItems' Interface\AddOns\BankItems\BankItems.lua:999: in function <Interface\AddOns\BankItems\BankItems.lua:977> Locals: self = ScriptErrorsFrameScrollFrameText { 0 = <userdata> text = "Message: Interface\AddOns\BankItems\BankItems.lua:2877: attempt to index upvalue 'selfPlayer' (a nil value) Time: Tue Oct 29 13:16:13 2013 Count: 2 Stack: Interface\AddOns\BankItems\BankItems.lua:2877: in function `BankItems_SaveCurrency' Interface\AddOns\BankItems\BankItems.lua:1037: in function <Interface\AddOns\BankItems\BankItems.lua:977> Locals: name = nil isHeader = nil isExpanded = nil isUnused = nil isWatched = nil count = nil icon = nil j = 0 (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = "attempt to index upvalue 'selfPlayer' (a nil value)" selfPlayer = nil newTable = <function> defined @Interface\AddOns\BankItems\BankItems.lua:2122 delTable = <function> defined @Interface\AddOns\BankItems\BankItems.lua:2129 tremove handleCursorChange = true } elapsed = 0 scrollFrame = ScriptErrorsFrameScrollFrame { ScrollBar = ScriptErrorsFrameScrollFrameScrollBar { } offset = 0 0 = <userdata> } height = 193.99998474121 range = 0 scroll = 0 size = 193.99998474121 cursorOffset = nil (*temporary) = nil (*temporary) = ScriptErrorsFrameScrollFrame { ScrollBar = ScriptErrorsFrameScrollFrameScrollBar { } offset = 0 0 = <userdata> } (*temporary) = 0 (*temporary) = "attempt to perform arithmetic on field 'cursorOffset' (a nil value)"
LUA Error 5:
Message: Interface\FrameXML\UIPanelTemplates.lua:505: attempt to perform arithmetic on field 'cursorOffset' (a nil value) Time: Tue Oct 29 13:16:13 2013 Count: 1 Stack: Interface\FrameXML\UIPanelTemplates.lua:505: in function `ScrollingEdit_OnUpdate' Interface\FrameXML\UIPanelTemplates.lua:482: in function `ScrollingEdit_OnTextChanged' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:579: in function `ScriptErrorsFrame_Update' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:543: in function `ScriptErrorsFrame_OnError' [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4> [C]: ? Interface\FrameXML\UIPanelTemplates.lua:505: in function `ScrollingEdit_OnUpdate' Interface\FrameXML\UIPanelTemplates.lua:482: in function `ScrollingEdit_OnTextChanged' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:579: in function `ScriptErrorsFrame_Update' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:543: in function `ScriptErrorsFrame_OnError' [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4> [C]: ? Interface\AddOns\BankItems\BankItems.lua:2742: in function `BankItems_SaveInvItems' Interface\AddOns\BankItems\BankItems.lua:999: in function <Interface\AddOns\BankItems\BankItems.lua:977> Locals: self = ScriptErrorsFrameScrollFrameText { 0 = <userdata> text = "Message: Interface\AddOns\BankItems\BankItems.lua:2877: attempt to index upvalue 'selfPlayer' (a nil value) Time: Tue Oct 29 13:16:13 2013 Count: 2 Stack: Interface\AddOns\BankItems\BankItems.lua:2877: in function `BankItems_SaveCurrency' Interface\AddOns\BankItems\BankItems.lua:1037: in function <Interface\AddOns\BankItems\BankItems.lua:977> Locals: name = nil isHeader = nil isExpanded = nil isUnused = nil isWatched = nil count = nil icon = nil j = 0 (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = "attempt to index upvalue 'selfPlayer' (a nil value)" selfPlayer = nil newTable = <function> defined @Interface\AddOns\BankItems\BankItems.lua:2122 delTable = <function> defined @Interface\AddOns\BankItems\BankItems.lua:2129 tremove handleCursorChange = true } elapsed = 0 scrollFrame = ScriptErrorsFrameScrollFrame { ScrollBar = ScriptErrorsFrameScrollFrameScrollBar { } offset = 0 0 = <userdata> } height = 193.99998474121 range = 0 scroll = 0 size = 193.99998474121 cursorOffset = nil (*temporary) = nil (*temporary) = ScriptErrorsFrameScrollFrame { ScrollBar = ScriptErrorsFrameScrollFrameScrollBar { } offset = 0 0 = <userdata> } (*temporary) = 0 (*temporary) = "attempt to perform arithmetic on field 'cursorOffset' (a nil value)"
LUA Error 6:
Message: Interface\FrameXML\UIPanelTemplates.lua:505: attempt to perform arithmetic on field 'cursorOffset' (a nil value) Time: Tue Oct 29 13:16:13 2013 Count: 1 Stack: Interface\FrameXML\UIPanelTemplates.lua:505: in function `ScrollingEdit_OnUpdate' Interface\FrameXML\UIPanelTemplates.lua:482: in function `ScrollingEdit_OnTextChanged' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:579: in function `ScriptErrorsFrame_Update' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:543: in function `ScriptErrorsFrame_OnError' [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4> [C]: ? Interface\FrameXML\UIPanelTemplates.lua:505: in function `ScrollingEdit_OnUpdate' Interface\FrameXML\UIPanelTemplates.lua:482: in function `ScrollingEdit_OnTextChanged' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:579: in function `ScriptErrorsFrame_Update' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:543: in function `ScriptErrorsFrame_OnError' [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4> [C]: ? Interface\FrameXML\UIPanelTemplates.lua:505: in function `ScrollingEdit_OnUpdate' Interface\FrameXML\UIPanelTemplates.lua:482: in function `ScrollingEdit_OnTextChanged' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:579: in function `ScriptErrorsFrame_Update' ...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:543: in function `ScriptErrorsFrame_OnError' [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4> [C]: ? Interface\AddOns\BankItems\BankItems.lua:2742: in function `BankItems_SaveInvItems' Interface\AddOns\BankItems\BankItems.lua:999: in function <Interface\AddOns\BankItems\BankItems.lua:977> Locals: self = ScriptErrorsFrameScrollFrameText { 0 = <userdata> text = "Message: Interface\AddOns\BankItems\BankItems.lua:2877: attempt to index upvalue 'selfPlayer' (a nil value) Time: Tue Oct 29 13:16:13 2013 Count: 2 Stack: Interface\AddOns\BankItems\BankItems.lua:2877: in function `BankItems_SaveCurrency' Interface\AddOns\BankItems\BankItems.lua:1037: in function <Interface\AddOns\BankItems\BankItems.lua:977> Locals: name = nil isHeader = nil isExpanded = nil isUnused = nil isWatched = nil count = nil icon = nil j = 0 (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = nil (*temporary) = "attempt to index upvalue 'selfPlayer' (a nil value)" selfPlayer = nil newTable = <function> defined @Interface\AddOns\BankItems\BankItems.lua:2122 delTable = <function> defined @Interface\AddOns\BankItems\BankItems.lua:2129 tremove handleCursorChange = true } elapsed = 0 scrollFrame = ScriptErrorsFrameScrollFrame { ScrollBar = ScriptErrorsFrameScrollFrameScrollBar { } offset = 0 0 = <userdata> } height = 193.99998474121 range = 0 scroll = 0 size = 193.99998474121 cursorOffset = nil (*temporary) = nil (*temporary) = ScriptErrorsFrameScrollFrame { ScrollBar = ScriptErrorsFrameScrollFrameScrollBar { } offset = 0 0 = <userdata> } (*temporary) = 0 (*temporary) = "attempt to perform arithmetic on field 'cursorOffset' (a nil value)"
Plus 16 more LUA errors some of them with very high counts and still counting.
Please provide any additional information below.
| User | When | Change |
|---|---|---|
| DeavanSH | Oct 29, 2013 at 17:27 UTC | Changed description:Do you have an error log of what happened? Yes: - LUA Error 1:[code] + LUA Error 1: + [code] Message: Interface\AddOns\BankItems\BankItems.lua:2495: bad argument #1 to 'strtrim' (string expected, got nil) Time: Tue Oct 29 13:16:07 2013 Count: 1 ---------------------------------------- (*temporary) = "string expected, got nil" [/code] - LUA Error 2:[code] + LUA Error 2: + [code] Message: Interface\AddOns\BankItems\BankItems.lua:2877: attempt to index upvalue 'selfPlayer' (a nil value) Time: Tue Oct 29 13:16:13 2013 Count: 2 ---------------------------------------- } [/code] - LUA Error 3:[code] + LUA Error 3: + [code] Message: Interface\AddOns\BankItems\BankItems.lua:2742: attempt to index upvalue 'selfPlayer' (a nil value) Time: Tue Oct 29 13:16:13 2013 Count: 1 ---------------------------------------- GetInventoryItemCount = <function> defined =[C]:-1 [/code] - LUA Error 4:[code] + LUA Error 4: + [code] Message: Interface\FrameXML\UIPanelTemplates.lua:505: attempt to perform arithmetic on field 'cursorOffset' (a nil value) Time: Tue Oct 29 13:16:13 2013 Count: 1 ---------------------------------------- (*temporary) = "attempt to perform arithmetic on field 'cursorOffset' (a nil value)" [/code] - LUA Error 5:[code] + LUA Error 5: + [code] Message: Interface\FrameXML\UIPanelTemplates.lua:505: attempt to perform arithmetic on field 'cursorOffset' (a nil value) Time: Tue Oct 29 13:16:13 2013 Count: 1 ---------------------------------------- (*temporary) = "attempt to perform arithmetic on field 'cursorOffset' (a nil value)" [/code] - LUA Error 6:[code] + LUA Error 6: + [code] Message: Interface\FrameXML\UIPanelTemplates.lua:505: attempt to perform arithmetic on field 'cursorOffset' (a nil value) Time: Tue Oct 29 13:16:13 2013 Count: 1 |
| DeavanSH | Oct 29, 2013 at 17:25 UTC | Create |
- 2 comments
- 2 comments
Facts
- Last updated
- Oct 30, 2013
- Reported
- Oct 29, 2013
- Status
- New - Issue has not had initial review yet.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Medium - Normal priority.
- Votes
- 1
- Reply
- #2
Graveeater Oct 30, 2013 at 21:14 UTC - 0 likesShould be fixed in r186 (that is an alpha release).
- Reply
- #1
cksboy15 Oct 30, 2013 at 18:35 UTC - 0 likesJust open the BankItems.lua file (WOW\interface\addons\bankitems) in notepad or some other text editor. Use search/replace function to change everything that says GetCVar("realmName") to GetRealmName()