LUA ERROR
linda535 opened this issue · 9 comments
On every alt opening and when clicking on the Pet Tracker Tutorial buttons. I miss Pet Tracker and hope you can get it working well with Dragonflight. Thanks!
Message: ...ker/libs/CustomTutorials-2.1/CustomTutorials-2.1.lua:55: attempt to index field 'TitleText' (a nil value)
Time: Sat Dec 24 11:59:24 2022
Count: 1
Stack: ...ker/libs/CustomTutorials-2.1/CustomTutorials-2.1.lua:55: attempt to index field 'TitleText' (a nil value)
[string "@Interface/AddOns/PetTracker/libs/CustomTutorials-2.1/CustomTutorials-2.1.lua"]:55: in function <...ker/libs/CustomTutorials-2.1/CustomTutorials-2.1.lua:36>
[string "@Interface/AddOns/PetTracker/libs/CustomTutorials-2.1/CustomTutorials-2.1.lua"]:199: in function TriggerTutorial' [string "@Interface/AddOns/PetTracker/addons/config/tutorials.lua"]:36: in function
Start'
[string "@Interface/AddOns/PetTracker/addons/config/tutorials.lua"]:28: in function ?' [string "@Interface/AddOns/PetTracker/libs/WildAddon-1.0/WildAddon-1.0.lua"]:20: in function <...dOns/PetTracker/libs/WildAddon-1.0/WildAddon-1.0.lua:18> [string "@Interface/AddOns/PetTracker/libs/WildAddon-1.0/WildAddon-1.0.lua"]:56: in function <...dOns/PetTracker/libs/WildAddon-1.0/WildAddon-1.0.lua:53> [string "=[C]"]: ? [string "@Interface/AddOns/DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:24: in function <...ore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:20> [string "@Interface/AddOns/DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:59: in function
Fire'
[string "@Interface/AddOns/DataStore/libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <.../AddOns/DataStore/libs/AceEvent-3.0/AceEvent-3.0.lua:119>
[string "=[C]"]: in function LoadAddOn' [string "@Interface/AddOns/SoulshapeJournal/Core.lua"]:43: in function <Interface/AddOns/SoulshapeJournal/Core.lua:38> ... [string "@Interface/AddOns/PetTracker/libs/WildAddon-1.0/WildAddon-1.0.lua"]:20: in function <...dOns/PetTracker/libs/WildAddon-1.0/WildAddon-1.0.lua:18> [string "@Interface/AddOns/PetTracker/libs/WildAddon-1.0/WildAddon-1.0.lua"]:56: in function <...dOns/PetTracker/libs/WildAddon-1.0/WildAddon-1.0.lua:53> [string "=[C]"]: ? [string "@Interface/AddOns/DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:24: in function <...ore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:20> [string "@Interface/AddOns/DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:59: in function
Fire'
[string "@Interface/AddOns/DataStore/libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <.../AddOns/DataStore/libs/AceEvent-3.0/AceEvent-3.0.lua:119>
[string "=[C]"]: in function LoadAddOn' [string "@Interface/FrameXML/UIParent.lua"]:538: in function
UIParentLoadAddOn'
[string "@Interface/FrameXML/UIParent.lua"]:669: in function `TimeManager_LoadUI'
[string "@Interface/FrameXML/UIParent.lua"]:1519: in function <Interface/FrameXML/UIParent.lua:1399>
Locals:
Same. Installed for the first time based on recommendation in a guide, and it pops up a tutorial at first but the tutorial window seems incomplete, and the Next button has no effect. Disabled the addon for now.
I have the same error.
The bug is in PetTracker Journal.
The error went away after I disabled that one in the addons menu.
It's unfortunate, because PetTracker is a great addon for anyone wanting to "get 'em all".
I have the same error. The bug is in PetTracker Journal. The error went away after I disabled that one in the addons menu.
I have done some more testing.
With only PetTracker installed:
All 4 files.
Lua error happens when opening the world map and pet journal.
With the PetTracker Journal disabled.
Lua error only happens on opening the world map.
Here is the error I am getting with only PetTracker installed:
4x ...ker/libs/CustomTutorials-2.1-11/CustomTutorials-2.1.lua:55: attempt to index field 'TitleText' (a nil value)
[string "@PetTracker/libs/CustomTutorials-2.1-11/CustomTutorials-2.1.lua"]:55: in function <...ker/libs/CustomTutorials-2.1/CustomTutorials-2.1.lua:36>
[string "@PetTracker/libs/CustomTutorials-2.1-11/CustomTutorials-2.1.lua"]:199: in function ?' [string "@PetTracker/addons/config/tutorials.lua"]:160: in function
HookShown'
[string "@PetTracker/addons/config/tutorials.lua"]:154: in function TriggerOn' [string "@PetTracker/addons/config/tutorials.lua"]:144: in function
?'
[string "@PetTracker/addons/config/tutorials.lua"]:163: in function <PetTracker/addons/config/tutorials.lua:162>
[string "=[C]"]: ?
[string "=[C]"]: in function Show' [string "@FrameXML/UIParent.lua"]:2890: in function
SetUIPanel'
[string "@FrameXML/UIParent.lua"]:2733: in function ShowUIPanel' [string "@FrameXML/UIParent.lua"]:2598: in function <FrameXML/UIParent.lua:2594> [string "=[C]"]: in function
SetAttribute'
[string "@FrameXML/UIParent.lua"]:3196: in function ShowUIPanel' [string "@FrameXML/QuestLogOwnerMixin.lua"]:103: in function
SetDisplayState'
[string "@FrameXML/QuestLogOwnerMixin.lua"]:41: in function HandleUserActionToggleSelf' [string "@Blizzard_WorldMap/Blizzard_WorldMap.lua"]:440: in function
ToggleWorldMap'
[string "TOGGLEWORLDMAP"]:1: in function <[string "TOGGLEWORLDMAP"]:1>
Locals:
frame = CustomTutorials1 {
0 =
images =
}
SetPortraitShown = defined @SharedXML/PortraitFrame.lua:91
GetTitleText = defined @SharedXML/PortraitFrame.lua:28
Inset = CustomTutorials1Inset {
}
SetPortraitTextureRaw = defined @SharedXML/PortraitFrame.lua:79
next = Button {
}
text = FontString {
}
TitleContainer = Frame {
}
SetTitleMaxLinesAndHeight = defined @SharedXML/PortraitFrame.lua:49
SetTitleColor = defined @SharedXML/PortraitFrame.lua:32
prev = Button {
}
shine = Frame {
}
DefaultPortraitTextureSizeAndOffset = defined @SharedXML/PortraitFrame.lua:101
SetTitle = defined @SharedXML/PortraitFrame.lua:36
SetBorder = defined @SharedXML/PortraitFrame.lua:62
layoutType = "PortraitFrameTemplate"
flash = AnimationGroup {
}
SetPortraitToBag = defined @SharedXML/PortraitFrame.lua:75
PortraitContainer = Frame {
}
SetPortraitToUnit = defined @SharedXML/PortraitFrame.lua:71
Bg = CustomTutorials1Bg {
}
GetPortrait = defined @SharedXML/PortraitFrame.lua:58
SetTitleFormatted = defined @SharedXML/PortraitFrame.lua:40
NineSlice = Frame {
}
TopTileStreaks = Texture {
}
SetPortraitToAsset = defined @SharedXML/PortraitFrame.lua:67
SetPortraitTextureSizeAndOffset = defined @SharedXML/PortraitFrame.lua:95
CloseButton = CustomTutorials1CloseButton {
}
unlocked = 5
data =
}
SetPortraitAtlasRaw = defined @SharedXML/PortraitFrame.lua:83
SetPortraitTexCoord = defined @SharedXML/PortraitFrame.lua:87
}
i = 5
data =
point = "TOPRIGHT"
text = "PetTracker displays the possible sources of pets on the world map, from spawn points to vendors. It also displays stables and extra information about tamers.
To hide these locations, open the tracking menu and disable |cffffd200Species|r, under the |cffffd200Pets|r category."
y = -5
relPoint = "BOTTOMLEFT"
shineLeft = -2
anchor = Button {
}
shineTop = 2
x = -5
shine = Button {
}
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = 216.000023
(*temporary) =
(*temporary) = 20
(*temporary) = 96.000023
(*temporary) = -5
(*temporary) = "attempt to index field 'TitleText' (a nil value)"
It's still bugged. Every opening of the map, every mouse movement over the map.
To be fair, in GitHub issues get closed when a fix is committed into the repo. That doesn't mean a new release has been published yet anywhere.
It's likely you're running a version of the addon that didn't include the new changes yet. I would anticipate a new release will come soon.
Since this was closed today, I had high hopes it was fixed and updated. No, it's still giving LUA errors
Message: .../AddOns/PetTracker/addons/main/features/tooltips.lua:27: Usage: FindPetIDByName("petName")
Time: Tue Feb 7 11:34:30 2023
Count: 198
Stack: .../AddOns/PetTracker/addons/main/features/tooltips.lua:27: Usage: FindPetIDByName("petName")
[string "=[C]"]: in function FindPetIDByName' [string "@Interface/AddOns/PetTracker/addons/main/features/tooltips.lua"]:27: in function <.../AddOns/PetTracker/addons/main/features/tooltips.lua:26> [string "=(tail call)"]: ? [string "=[C]"]: in function
securecallfunction'
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:60: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:55>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:80: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:76>
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:116: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:106>
[string "=[C]"]: in function SetAttribute' [string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:141: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:134> [string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:278: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:236> [string "=[C]"]: in function
securecallfunction'
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:233: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:232>
...
[string "=[C]"]: in function Show' [string "@Interface/FrameXML/UIParent.lua"]:2915: in function
SetUIPanel'
[string "@Interface/FrameXML/UIParent.lua"]:2758: in function ShowUIPanel' [string "@Interface/FrameXML/UIParent.lua"]:2623: in function <Interface/FrameXML/UIParent.lua:2619> [string "=[C]"]: in function
SetAttribute'
[string "@Interface/FrameXML/UIParent.lua"]:3225: in function ShowUIPanel' [string "@Interface/FrameXML/QuestLogOwnerMixin.lua"]:103: in function
SetDisplayState'
[string "@Interface/FrameXML/QuestLogOwnerMixin.lua"]:41: in function HandleUserActionToggleSelf' [string "@Interface/AddOns/Blizzard_WorldMap/Blizzard_WorldMap.lua"]:440: in function
ToggleWorldMap'
[string "TOGGLEWORLDMAP"]:1: in function <[string "TOGGLEWORLDMAP"]:1>
Locals: (*temporary) = nil
(*temporary) = nil
(*temporary) = "Creature-0-0-0-0-193364-0000000000"
Let me know if you want me to copy and past all 4 "pages".
I really do like this addon, but "not working correctly" is not useful.