Experiencing the following errors at login with no other addons loaded (other than BugSack):
7x Gathering/Elements/Version.lua:4: attempt to call global 'GetAddOnMetadata' (a nil value)
[string "@Gathering/Elements/Version.lua"]:4: in main chunk
{
}
version = 29
nTotalSent = 0
Frame = Frame {
}
HardThrottlingBeginTime = 230454.013000
}
(temporary) = nil
(temporary) = "Gathering"
(temporary) = "Version"
(temporary) = "attempt to call global 'GetAddOnMetadata' (a nil value)"
2x Gathering/Elements/Interface.lua:1964: attempt to call global 'IsAddOnLoaded' (a nil value)
[string "@Gathering/Elements/Interface.lua"]:1964: in function `?'
[string "@Gathering/Elements/Initialize.lua"]:31: in function <Gathering/Elements/Initialize.lua:29>
Additionally, typing /gather causes the following error:
3x Gathering/Elements/Interface.lua:1871: attempt to index field 'Settings' (a nil value)
[string "@Gathering/Elements/Interface.lua"]:1871: in function CreateGUI' [string "@Gathering/Elements/Commands.lua"]:9: in function?'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5468: in function <Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:5414>
[string "=[C]"]: in function ChatEdit_ParseText' [string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5120: in functionChatEdit_SendText'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5156: in function <Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:5152>
[string "=[C]"]: in function `ChatEdit_OnEnterPressed'
Locals:
self = Gathering_Header {
Ignored =
{
}
SessionStats =
{
}
SentGroup = false
SharedMedia =
{
}
Tabs =
{
}
GameVersion = 110002
DefaultSettings =
{
}
ExPatrons =
{
}
LastYell = 0
BlankTexture = "Interface\AddOns\Gathering\Assets\HydraUIBlank.tga"
Int = 1
GUI = Gathering Settings {
}
Windows =
{
}
Fonts =
{
}
Donors =
{
}
Patrons =
{
}
Textures =
{
}
Me = "Tashme"
SentInstance = false
TrackedItemTypes =
After manually fixing the various errors experienced, the addon works properly again, however the following error is seen when clicking on Stats in the Gather UI:
3x Gathering/Elements/Tools.lua:56: attempt to perform arithmetic on local 'copper' (a nil value)
[string "@Gathering/Elements/Tools.lua"]:56: in function CopperToGold' [string "@Gathering/Elements/Interface.lua"]:1839: in functionUpdateMoneyStat'
[string "@Gathering/Elements/Interface.lua"]:1695: in function <Gathering/Elements/Interface.lua:1692>
[string "=[C]"]: in function Show' [string "@Gathering/Elements/Interface.lua"]:1225: in functionShowPage'
[string "@Gathering/Elements/Interface.lua"]:1249: in function <Gathering/Elements/Interface.lua:1248>
Experiencing the following errors at login with no other addons loaded (other than BugSack):
7x Gathering/Elements/Version.lua:4: attempt to call global 'GetAddOnMetadata' (a nil value) [string "@Gathering/Elements/Version.lua"]:4: in main chunk
Locals: Name = "Gathering" AddOn =
2x Gathering/Elements/Interface.lua:1964: attempt to call global 'IsAddOnLoaded' (a nil value) [string "@Gathering/Elements/Interface.lua"]:1964: in function `?' [string "@Gathering/Elements/Initialize.lua"]:31: in function <Gathering/Elements/Initialize.lua:29>
Locals: self = Gathering_Header { Ignored =
I believe these errors can be fixed by changing GetAddOnMetadata to _CAddOns.GetAddOnMetadata, and IsAddOnLoaded to _CAddOns.IsAddOnLoaded
Additionally, typing /gather causes the following error:
3x Gathering/Elements/Interface.lua:1871: attempt to index field 'Settings' (a nil value) [string "@Gathering/Elements/Interface.lua"]:1871: in function
CreateGUI' [string "@Gathering/Elements/Commands.lua"]:9: in function
?' [string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5468: in function <Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:5414> [string "=[C]"]: in functionChatEdit_ParseText' [string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5120: in function
ChatEdit_SendText' [string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5156: in function <Blizzard_ChatFrameBase/Mainline/ChatFrame.lua:5152> [string "=[C]"]: in function `ChatEdit_OnEnterPressed'Locals: self = Gathering_Header { Ignored =
After manually fixing the various errors experienced, the addon works properly again, however the following error is seen when clicking on Stats in the Gather UI:
3x Gathering/Elements/Tools.lua:56: attempt to perform arithmetic on local 'copper' (a nil value) [string "@Gathering/Elements/Tools.lua"]:56: in function
CopperToGold' [string "@Gathering/Elements/Interface.lua"]:1839: in function
UpdateMoneyStat' [string "@Gathering/Elements/Interface.lua"]:1695: in function <Gathering/Elements/Interface.lua:1692> [string "=[C]"]: in functionShow' [string "@Gathering/Elements/Interface.lua"]:1225: in function
ShowPage' [string "@Gathering/Elements/Interface.lua"]:1249: in function <Gathering/Elements/Interface.lua:1248>Locals: self = Gathering_Header { Ignored =