Quantcast
View Bug Report
Error on startup
Bug #: 8884
File: What's Training?
Date: 06-23-19 04:35 PM
By: Moxey
Status: Fixed
I am receiving the following error when loading - I have disabled all other addons (second error at the bottom):
Message: Interface\AddOns\WhatsTraining\WhatsTraining.lua:100: attempt to get length of field 'table' (a nil value)
Time: Sun Jun 23 17:24:22 2019
Count: 1
Stack: Interface\AddOns\WhatsTraining\WhatsTraining.lua:100: attempt to get length of field 'table' (a nil value)
Interface\AddOns\WhatsTraining\WhatsTraining.lua:100: in function `rebuild'
Interface\AddOns\WhatsTraining\WhatsTraining.lua:124: in main chunk

Locals: level = 40
spellsByCategory = <table> {
ignored = <table> {
}
notLevel = <table> {
}
missingReqs = <table> {
}
available = <table> {
}
}
sorter = <function> defined @Interface\AddOns\WhatsTraining\WhatsTraining.lua:84
comingSoonFontColorCode = ""
categories = <table> {
1 = <table> {
}
2 = <table> {
}
3 = <table> {
}
4 = <table> {
}
5 = <table> {
}
6 = <table> {
}
}
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
1 = <table> {
}
2 = <table> {
}
3 = <table> {
}
4 = <table> {
}
5 = <table> {
}
6 = <table> {
}
}
(for control) = 2
_ = 2
category = <table> {
color = ""
name = "Coming Soon"
}
(*temporary) = nil
(*temporary) = 2
(*temporary) = <table> {
color = ""
name = "Coming Soon"
}
(*temporary) = 5
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to get length of field 'table' (a nil value)"
byLevel = <table> {
1 = <table> {
}
30 = <table> {
}
4 = <table> {
}
8 = <table> {
}
16 = <table> {
}
32 = <table> {
}
34 = <table> {
}
18 = <table> {
}
36 = <table> {
}
10 = <table> {
}
20 = <table> {
}
40 = <table> {
}
60 = <table> {
}
42 = <table> {
}
22 = <table> {
}
44 = <table> {
}
6 = <table> {
}
12 = <table> {
}
24 = <table> {
}
48 = <table> {
}
58 = <table> {
}
50 = <table> {
}
26 = <table> {
}
52 = <table> {
}
54 = <table> {
}
14 = <table> {
}
28 = <table> {
}
56 = <table> {
}
46 = <table> {
}
38 = <table> {
}
}
spellCache = <table> {
}
spells = <table> {
}

With bugSack/bugGrabber I get this after a /reload (though, strangely, I don't get it without):
40x WhatsTraining\WhatsTraining-0.2-beta.lua:56: bad argument #1 to 'tinsert' (table expected, got nil)
[C]: in function `tinsert'
WhatsTraining\WhatsTraining-0.2-beta.lua:56: in function <WhatsTraining\WhatsTraining.lua:34>
WhatsTraining\WhatsTraining-0.2-beta.lua:112: in function <WhatsTraining\WhatsTraining.lua:110>
WhatsTraining\WhatsTraining-0.2-beta.lua:29: in function <WhatsTraining\WhatsTraining.lua:18>
[C]: in function `xpcall'
FrameXML\ObjectAPI\Spell.lua:121: in function `FireCallbacks'
FrameXML\ObjectAPI\Spell.lua:78: in function <FrameXML\ObjectAPI\Spell.lua:74>
[C]: in function `RequestLoadSpellData'
FrameXML\ObjectAPI\Spell.lua:92: in function `AddCallback'
FrameXML\ObjectAPI\Spell.lua:56: in function `ContinueOnSpellLoad'
WhatsTraining\WhatsTraining-0.2-beta.lua:18: in function `getSpell'
WhatsTraining\WhatsTraining-0.2-beta.lua:116: in main chunk

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: fusionpit - 06-23-19 04:57 PM
Whoops, bad git merge caused this one!
By: fusionpit - 06-23-19 05:15 PM
Fixed in 0.3-beta
By: Moxey - 06-23-19 06:39 PM
Tested, working great now.