Baganator

Baganator

1M Downloads

Opening Baganator's Settings results in an empty Sort tab and 2 errors

tflo opened this issue ยท 4 comments

commented

Opening Baganator's Settings ("Customise Baganator") results in an empty Sort tab and these 2 errors:

1x Baganator/UnifiedViews/Utilities.lua:208: attempt to call global 'keys' (a nil value)
1x Baganator/UnifiedViews/Utilities.lua:208: attempt to call global 'keys' (a nil value)
[string "@Baganator/UnifiedViews/Utilities.lua"]:208: in function `AutoSetGuildSortMethod'
[string "@Baganator/CustomiseDialog/Main.lua"]:581: in function `SetupSorting'
[string "@Baganator/CustomiseDialog/Main.lua"]:394: in function <Baganator/CustomiseDialog/Main.lua:379>
[string "=[C]"]: in function `CreateFrame'
[string "@Baganator/CustomiseDialog/Initialize.lua"]:8: in function <...faceBaganator/CustomiseDialog/Initialize.lua:6>
[string "=[C]"]: ?
[string "@SharedXML/CallbackRegistry.lua"]:178: in function <SharedXML/CallbackRegistry.lua:177>
[string "=[C]"]: ?
[string "@SharedXML/CallbackRegistry.lua"]:181: in function `TriggerEvent'
[string "*Components.xml:91_OnClick"]:1: in function <[string "*Components.xml:91_OnClick"]:1>

Locals:
method = "unset"
lowest = nil
id = nil
(*temporary) = nil
(*temporary) = <table> {
 bankstack = <table> {
 }
}
(*temporary) = "attempt to call global 'keys' (a nil value)"
addonTable = <table> {
 BagTransfers = <table> {
 }
 ExternalGuildBankSorts = <table> {
 }
 BagTransferActivationCallback = <function> defined @Baganator/UnifiedViews/BackpackView.lua:197
 JunkPlugins = <table> {
 }
 ItemSetSources = <table> {
 }
 IconCornerPlugins = <table> {
 }
 sortItemFieldMap = <table> {
 }
 ExternalContainerSorts = <table> {
 }
}
1x SharedXML/SharedUIPanelTemplates.lua:362: 'for' limit must be a number
1x SharedXML/SharedUIPanelTemplates.lua:362: 'for' limit must be a number
[string "@SharedXML/SharedUIPanelTemplates.lua"]:362: in function `PanelTemplates_UpdateTabs'
[string "@SharedXML/SharedUIPanelTemplates.lua"]:348: in function <SharedXML/SharedUIPanelTemplates.lua:346>
[string "=[C]"]: ?
[string "=[C]"]: in function `PanelTemplates_SetTab'
[string "@Baganator/CustomiseDialog/Main.lua"]:421: in function `SetIndex'
[string "@Baganator/CustomiseDialog/Main.lua"]:663: in function <Baganator/CustomiseDialog/Main.lua:662>
[string "=[C]"]: in function `SetShown'
[string "@Baganator/CustomiseDialog/Initialize.lua"]:16: in function <...faceBaganator/CustomiseDialog/Initialize.lua:6>
[string "=[C]"]: ?
[string "@SharedXML/CallbackRegistry.lua"]:178: in function <SharedXML/CallbackRegistry.lua:177>
[string "=[C]"]: ?
[string "@SharedXML/CallbackRegistry.lua"]:181: in function `TriggerEvent'
[string "*Components.xml:91_OnClick"]:1: in function <[string "*Components.xml:91_OnClick"]:1>

Locals:
frame = BaganatorCustomiseDialogFrame {
 0 = <userdata>
 SetupButtonsOptions = <function> defined @Baganator/CustomiseDialog/Main.lua:621
 SetPortraitShown = <function> defined @SharedXML/PortraitFrame.lua:102
 SetupIcon = <function> defined @Baganator/CustomiseDialog/Main.lua:482
 GetTitleText = <function> defined @SharedXML/PortraitFrame.lua:28
 SetPortraitTexCoord = <function> defined @SharedXML/PortraitFrame.lua:98
 SetPortraitTextureRaw = <function> defined @SharedXML/PortraitFrame.lua:84
 SetupWindow = <function> defined @Baganator/CustomiseDialog/Main.lua:425
 OnShow = <function> defined @Baganator/CustomiseDialog/Main.lua:662
 OnDragStop = <function> defined @Baganator/CustomiseDialog/Main.lua:410
 TitleContainer = Frame {
 }
 SetTitleMaxLinesAndHeight = <function> defined @SharedXML/PortraitFrame.lua:49
 SetTitleColor = <function> defined @SharedXML/PortraitFrame.lua:32
 Tabs = <table> {
 }
 SetTitle = <function> defined @SharedXML/PortraitFrame.lua:36
 SetTitleOffsets = <function> defined @SharedXML/PortraitFrame.lua:54
 SetupOpenClose = <function> defined @Baganator/CustomiseDialog/Main.lua:519
 SetBorder = <function> defined @SharedXML/PortraitFrame.lua:67
 layoutType = "PortraitFrameTemplate"
 SetPortraitToClassIcon = <function> defined @SharedXML/PortraitFrame.lua:92
 optionFrames = <table> {
 }
 SetFrameLevelsFromBaseLevel = <function> defined @SharedXML/PortraitFrame.lua:120
 SetPortraitToBag = <function> defined @SharedXML/PortraitFrame.lua:80
 SetPortraitAtlasRaw = <function> defined @SharedXML/PortraitFrame.lua:88
 SetPortraitToUnit = <function> defined @SharedXML/PortraitFrame.lua:76
 SetupSorting = <function> defined @Baganator/CustomiseDialog/Main.lua:536
 Bg = BaganatorCustomiseDialogFrameBg {
 }
 lowestFrames = <table> {
 }
 GetPortrait = <function> defined @SharedXML/PortraitFrame.lua:63
 SetTitleFormatted = <function> defined @SharedXML/PortraitFrame.lua:40
 NineSlice = Frame {
 }
 OnLoad = <function> defined @Baganator/CustomiseDialog/Main.lua:379
 TopTileStreaks = Texture {
 }
 Inset = BaganatorCustomiseDialogFrameInset {
 }
 SetPortraitToAsset = <function> defined @SharedXML/PortraitFrame.lua:72
 SetPortraitTextureSizeAndOffset = <function> defined @SharedXML/PortraitFrame.lua:106
 Views = <table> {
 }
 CloseButton = BaganatorCustomiseDialogFrameCloseButton {
 }
 PortraitContainer = Frame {
 }
 SetIndex = <function> defined @Baganator/CustomiseDialog/Main.lua:415
 RefreshOptions = <function> defined @Baganator/CustomiseDialog/Main.lua:653
 OnDragStart = <function> defined @Baganator/CustomiseDialog/Main.lua:405
 selectedTab = 1
 SetupTooltipsLink = <function> defined @Baganator/CustomiseDialog/Main.lua:638
}
tab = nil
(for index) = 1
(for limit) = nil
(for step) = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "'for' limit must be a number"
GetTabByIndex = <function> defined @SharedXML/SharedUIPanelTemplates.lua:355

Baganator 242, Syndicator 22, WoW retail.

Don't know when this started, since I haven't opened the Settings for a while.

commented

PS:

Just noticed that this does not happen with only Baganator/Syndicator loaded. So something must be conflicting. Trying to find it out, sorry for the noise.

commented

Fixed

commented

Not a conflict, just a plugin situation I hadn't tested properly

commented

Ah OK, great. Thank you.