Jaliborc / PetTracker

Tracks pets, alerts for upgrades and helps you in pet battles.
47 stars 25 forks source link

LUA ERROR #325

Closed linda535 closed 1 year ago

linda535 commented 1 year ago

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 functionStart' [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 "@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 functionLoadAddOn' [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 "@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 functionLoadAddOn' [string "@Interface/FrameXML/UIParent.lua"]:538: in function UIParentLoadAddOn' [string "@Interface/FrameXML/UIParent.lua"]:669: in functionTimeManager_LoadUI' [string "@Interface/FrameXML/UIParent.lua"]:1519: in function <Interface/FrameXML/UIParent.lua:1399>

Locals:

mattoon commented 1 year ago

Bumping this because i have very similar LUA error

chrisant996 commented 1 year ago

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.

LinkDeadMutant commented 1 year ago

I have the same error. The bug is in PetTracker Journal. The error went away after I disabled that one in the addons menu.

linda535 commented 1 year ago

It's unfortunate, because PetTracker is a great addon for anyone wanting to "get 'em all".

LinkDeadMutant commented 1 year ago

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 functionHookShown' [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]": in function Show' [string "@FrameXML/UIParent.lua"]:2890: in functionSetUIPanel' [string "@FrameXML/UIParent.lua"]:2733: in function ShowUIPanel' [string "@FrameXML/UIParent.lua"]:2598: in function <FrameXML/UIParent.lua:2594> [string "=[C]"]: in functionSetAttribute' [string "@FrameXML/UIParent.lua"]:3196: in function ShowUIPanel' [string "@FrameXML/QuestLogOwnerMixin.lua"]:103: in functionSetDisplayState' [string "@FrameXML/QuestLogOwnerMixin.lua"]:41: in function HandleUserActionToggleSelf' [string "@Blizzard_WorldMap/Blizzard_WorldMap.lua"]:440: in functionToggleWorldMap'

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)"

linda535 commented 1 year ago

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 "=[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 functionSetAttribute' [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 functionShow' [string "@Interface/FrameXML/UIParent.lua"]:2915: in function SetUIPanel' [string "@Interface/FrameXML/UIParent.lua"]:2758: in functionShowUIPanel' [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 functionShowUIPanel' [string "@Interface/FrameXML/QuestLogOwnerMixin.lua"]:103: in function SetDisplayState' [string "@Interface/FrameXML/QuestLogOwnerMixin.lua"]:41: in functionHandleUserActionToggleSelf' [string "@Interface/AddOns/Blizzard_WorldMap/Blizzard_WorldMap.lua"]:440: in function `ToggleWorldMap'

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.

linda535 commented 1 year ago

It's still bugged. Every opening of the map, every mouse movement over the map. LUA errors.

From: João Cardoso @.> Sent: Tuesday, February 7, 2023 10:34 AM To: Jaliborc/PetTracker @.> Cc: linda535 @.>; Author @.> Subject: Re: [Jaliborc/PetTracker] LUA ERROR (Issue #325)

Closed #325https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJaliborc%2FPetTracker%2Fissues%2F325&data=05%7C01%7C%7Ce06fc28e26954c6c82e308db09292e6d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638113844704187629%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=WRu2RN0bd85n%2F6K3rth2Z9lmTGBuf7b7skfp4aZ7nxw%3D&reserved=0 as completed.

- Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJaliborc%2FPetTracker%2Fissues%2F325%23event-8459998518&data=05%7C01%7C%7Ce06fc28e26954c6c82e308db09292e6d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638113844704187629%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=i5YZxx1uEIDGNKw5Q91POvIvx6HUGxu6MUrJAAQTHEM%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANAZ2NQHWLFL2CZY6KN6PI3WWJ2RHANCNFSM6AAAAAATIRZRVM&data=05%7C01%7C%7Ce06fc28e26954c6c82e308db09292e6d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638113844704187629%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=MTjHB8WnWSVAjzw5VnN4E4yMBhcjSfeygjcMc%2Bx6rc8%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>

chrisant996 commented 1 year ago

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.

linda535 commented 1 year ago

Thank you. I look forward to the next update!

From: Chris Antos @.> Sent: Wednesday, February 8, 2023 3:14 PM To: Jaliborc/PetTracker @.> Cc: linda535 @.>; Author @.> Subject: Re: [Jaliborc/PetTracker] LUA ERROR (Issue #325)

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.

- Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJaliborc%2FPetTracker%2Fissues%2F325%23issuecomment-1423246231&data=05%7C01%7C%7C6c238f990a6246ae8b3c08db0a1958bc%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638114876204550213%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CW1QrpeLyoEhMZAffzEzGMHFLxB1meYAdqcPfLlfuF4%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANAZ2NR3SJXPBO2VP6KETOLWWQEADANCNFSM6AAAAAATIRZRVM&data=05%7C01%7C%7C6c238f990a6246ae8b3c08db0a1958bc%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638114876204550213%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tlAMKZooREVDTNV0fvc5W465CgtozAWkSnGLk4q6rAU%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.**@.>>