Talent Tree Viewer (calculator) | Dragonflight

Talent Tree Viewer (calculator) | Dragonflight

252k Downloads

Lua errors when opening Talent menu when no spec is chosen

Konsafloof opened this issue ยท 1 comments

commented

These show when opening the Talent menu when having no spec chose. Once a spec is chosen they go away after a /reload

1x TalentTreeViewer_TWW/TalentViewer.lua:331: specId must be a number
[TalentTreeViewer_TWW/TalentViewer.lua]:331: in function 'SelectSpec'
[TalentTreeViewer_TWW/TalentViewer.lua]:246: in function 'InitSpecSelection'
[TalentTreeViewer_TWW/TalentViewer.lua]:322: in function 'InitFrame'
[TalentTreeViewer_TWW/TalentViewer.lua]:310: in function 'ToggleTalentView'
[TalentTreeViewer_Loader/TalentTreeViewer_Loader.lua]:133: in function 'ToggleTalentView'
[TalentTreeViewer_Loader/TalentTreeViewer_Loader.lua]:57: in function 'OnClick'
[BigWigs/Libs/LibDBIcon-1.0-55/LibDBIcon-1.0.lua]:179: in function <BigWigs/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:177>

Locals:
self = <table> {
 frameInitialized = true
 ignoreRestrictionsCheckbox = CheckButton {
 }
 dropDownButton = Button {
 }
 selectedEntries = <table> {
 }
 cache = <table> {
 }
 recordingInfo = <table> {
 }
 db = <table> {
 }
 currencySpending = <table> {
 }
 purchasedRanks = <table> {
 }
 levelingBuilds = <table> {
 }
 _ns = <table> {
 }
}
classId = 2
specId = nil
skipDropdownUpdate = nil
LibTalentTree = <table> {
 cache = <table> {
 }
}
cache = <table> {
 tierLevel = <table> {
 }
 classNames = <table> {
 }
 specIdToClassIdMap = <table> {
 }
 specNames = <table> {
 }
 initialSpecIDtoClassID = <table> {
 }
 initialSpecs = <table> {
 }
 classFiles = <table> {
 }
 specIconId = <table> {
 }
 nodes = <table> {
 }
 initialFakeClassID = 14
 specIndexToIdMap = <table> {
 }
 classSpecs = <table> {
 }
}
3x TalentTreeViewer_TWW/TalentViewer.lua:389: attempt to index field '?' (a nil value)
[TalentTreeViewer_TWW/TalentViewer.lua]:389: in function 'selectionFunc'
[Blizzard_Menu/MenuTemplates.lua]:498: in function 'UpdateToMenuSelections'
[Blizzard_Menu/DropdownButton.lua]:327: in function 'UpdateSelections'
[Blizzard_Menu/DropdownButton.lua]:287: in function 'SignalUpdate'
[Blizzard_Menu/DropdownButton.lua]:307: in function <Blizzard_Menu/DropdownButton.lua:306>
[C]: in function 'securecallfunction'
[Blizzard_Menu/DropdownButton.lua]:203: in function 'RegisterMenu'
[Blizzard_Menu/DropdownButton.lua]:263: in function 'GenerateMenu'
[Blizzard_Menu/MenuTemplates.lua]:520: in function <Blizzard_Menu/MenuTemplates.lua:517>
[C]: in function 'SetShown'
[TalentTreeViewer_TWW/TalentViewer.lua]:311: in function 'ToggleTalentView'
[TalentTreeViewer_Loader/TalentTreeViewer_Loader.lua]:133: in function 'ToggleTalentView'
[TalentTreeViewer_Loader/TalentTreeViewer_Loader.lua]:57: in function 'OnClick'
[BigWigs/Libs/LibDBIcon-1.0-55/LibDBIcon-1.0.lua]:179: in function <BigWigs/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:177>

Locals:
selections = <table> {
}
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
commented

should be fixed now ๐Ÿ‘