Xruptor / BagSync

BagSync tracks your characters items and displays it within tooltips.
http://www.wowinterface.com/downloads/info15351-BagSync.html
Other
32 stars 21 forks source link

11.0 GetMouseFocus Lua Error #340

Closed sudoalias closed 3 months ago

sudoalias commented 3 months ago

When running /bgs gold or /bgs currency it throws an error for the associated module.

1x BagSync/modules/gold.lua:200: attempt to call global 'GetMouseFocus' (a nil value) [string "@BagSync/modules/gold.lua"]:200: in function RefreshList' [string "@BagSync/modules/gold.lua"]:75: in functionOnShow' [string "@BagSync/modules/gold.lua"]:38: in function <BagSync/modules/gold.lua:38> [string "=[C]"]: in function Show' [string "@BagSync/wireframe/data.lua"]:280: in function?' [string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5440: in function ChatEdit_ParseText' [string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5092: in function <Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:5091> [string "=[C]"]: in functionChatEdit_SendText' [string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5128: in function `ChatEdit_OnEnterPressed'

Locals: self =

{ goldList =
{ } frame = Frame { } baseName = "BagSync" modules =
{ } defaultModuleLibraries =
{ } scrollFrame = ScrollFrame { } enabledState = true moduleName = "Gold" defaultModuleState = true name = "BagSync_Gold" orderedModules =
{ } } items =
{ 1 =
{ } 2 =
{ } 3 =
{ } 4 =
{ } 5 =
{ } 6 =
{ } 7 =
{ } 8 =
{ } 9 =
{ } 10 =
{ } 11 =
{ } 12 =
{ } 13 =
{ } 14 =
{ } 15 =
{ } 16 =
{ } 17 =
{ } 18 =
{ } 19 =
{ } 20 =
{ } 21 =
{ } 22 =
{ } 23 =
{ } 24 =
{ } } buttons =
{ 1 = Button { } 2 = Button { } 3 = Button { } 4 = Button { } 5 = Button { } 6 = Button { } 7 = Button { } 8 = Button { } 9 = Button { } 10 = Button { } 11 = Button { } 12 = Button { } 13 = Button { } 14 = Button { } 15 = Button { } 16 = Button { } 17 = Button { } 18 = Button { } 19 = Button { } 20 = Button { } 21 = Button { } } offset = 0 (for index) = 1 (for limit) = 21 (for step) = 1 buttonIndex = 1 button = Button { Text2 = FontString { } Highlight = Texture { } parentHandler =
{ } Text = FontString { } data =
{ } HeaderHighlight = Texture { } DetailsHighlight = Texture { } Background = Texture { } } itemIndex = 1 item =
{ unitObj =
{ } count = 2239920 sortIndex = 1 colorized = "|TInterface\FriendsFrame\PlusManz-Horde:13:13|t |A:raceicon-orc-male:13:13:0:0|a |cfffff468Sudob|r" moneyString = "223|TInterface\MoneyFrame\UI-GoldIcon:0:0:2:0|t" } (temporary) = nil (temporary) = "attempt to call global 'GetMouseFocus' (a nil value)" Gold =
{ goldList =
{ } frame = Frame { } baseName = "BagSync" modules =
{ } defaultModuleLibraries =
{ } scrollFrame = ScrollFrame { } enabledState = true moduleName = "Gold" defaultModuleState = true name = "BagSync_Gold" orderedModules =
{ } }

1x BagSync/modules/currency.lua:168: attempt to call global 'GetMouseFocus' (a nil value) [string "@BagSync/modules/currency.lua"]:168: in function RefreshList' [string "@BagSync/modules/currency.lua"]:66: in functionOnShow' [string "@BagSync/modules/currency.lua"]:38: in function <BagSync/modules/currency.lua:38> [string "=[C]"]: in function Show' [string "@BagSync/wireframe/data.lua"]:283: in function?' [string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5440: in function ChatEdit_ParseText' [string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5092: in function <Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:5091> [string "=[C]"]: in functionChatEdit_SendText' [string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5128: in function `ChatEdit_OnEnterPressed'

Locals: self =

{ frame = Frame { } baseName = "BagSync" modules =
{ } defaultModuleLibraries =
{ } scrollFrame = ScrollFrame { } enabledState = true currencies =
{ } moduleName = "Currency" defaultModuleState = true name = "BagSync_Currency" orderedModules =
{ } } items =
{ 1 =
{ } 2 =
{ } 3 =
{ } 4 =
{ } 5 =
{ } 6 =
{ } 7 =
{ } 8 =
{ } 9 =
{ } 10 =
{ } 11 =
{ } 12 =
{ } 13 =
{ } 14 =
{ } 15 =
{ } 16 =
{ } 17 =
{ } 18 =
{ } 19 =
{ } 20 =
{ } 21 =
{ } 22 =
{ } 23 =
{ } 24 =
{ } 25 =
{ } 26 =
{ } 27 =
{ } 28 =
{ } 29 =
{ } 30 =
{ } 31 =
{ } 32 =
{ } 33 =
{ } 34 =
{ } 35 =
{ } 36 =
{ } 37 =
{ } 38 =
{ } 39 =
{ } 40 =
{ } 41 =
{ } 42 =
{ } 43 =
{ } 44 =
{ } 45 =
{ } 46 =
{ } 47 =
{ } 48 =
{ } 49 =
{ } 50 =
{ } 51 =
{ } 52 =
{ } 53 =
{ } 54 =
{ } 55 =
{ } 56 =
{ } 57 =
{ } 58 =
{ } 59 =
{ } 60 =
{ } 61 =
{ } 62 =
{ } 63 =
{ } 64 =
{ } 65 =
{ } 66 =
{ } 67 =
{ } 68 =
{ } 69 =
{ } 70 =
{ } 71 =
{ } 72 =
{ } 73 =
{ } 74 =
{ } 75 =
{ } 76 =
{ } 77 =
{ } 78 =
{ } 79 =
{ } 80 =
{ } 81 =
{ } 82 =
{ } 83 =
{ } 84 =
{ } 85 =
{ } 86 =
{ } 87 =
{ } } buttons =
{ 1 = Button { } 2 = Button { } 3 = Button { } 4 = Button { } 5 = Button { } 6 = Button { } 7 = Button { } 8 = Button { } 9 = Button { } 10 = Button { } 11 = Button { } 12 = Button { } 13 = Button { } 14 = Button { } 15 = Button { } 16 = Button { } 17 = Button { } 18 = Button { } 19 = Button { } 20 = Button { } 21 = Button { } 22 = Button { } } offset = 0 (for index) = 1 (for limit) = 22 (for step) = 1 buttonIndex = 1 button = Button { Highlight = Texture { } parentHandler =
{ } Text = FontString { } data =
{ } HeaderHighlight = Texture { } DetailsButton = Button { } isHeader = true Background = Texture { } Icon = Texture { } DetailsHighlight = Texture { } } itemIndex = 1 item =
{ header = "Battle for Azeroth" isHeader = true } (temporary) = nil (temporary) = "attempt to call global 'GetMouseFocus' (a nil value)" Currency =
{ frame = Frame { } baseName = "BagSync" modules =
{ } defaultModuleLibraries =
{ } scrollFrame = ScrollFrame { } enabledState = true currencies =
{ } moduleName = "Currency" defaultModuleState = true name = "BagSync_Currency" orderedModules =
{ } }

Xruptor commented 3 months ago

Apparently the recent patch as well as the changes found in next expansion TWW, is causing a lot of bugs. I'll tackle these one at a time.