Lua Error's and No Rival's
rhainstorm opened this issue ยท 2 comments
I had posted this same thing but you closed it stating to update due to in my image you said it appeared to be 8.1.1. I had stated in my ticket i am using the current version of pet tracker 8.1.2. i will include a screenshot showing i am using the current version along with showing i get the same errors with all addons off including my elvui. so first i tried just disabling 1 addon at a time untill teh only addon left was my elvui and pet tracker. then when wow pop up message on large number of errors i choose disable all and reloaded my ui. i went back into my addons and enabled ONLY pet tracker. I took a screen shot of my addons showing i had them all off along with the pet tracker rival window open and the lua string. I get the error any time i open up my pet window or the rival tab. as you can see in the screen shot i have no rival's. only the name julia stevens is there and nothing else. I love this addon and probably depend on it to much to collect my battle pets, lol. so any help and or fix would be greatly appreciated, and I do thank you for this addon.
Running Software (please complete the following information):
- Game patch [e.g. Build 8.0.1.27178]
8.1.5 - Addon version
8.1.2
Have you read the changelog? (please don't waste our time)
Mark if read. X - yes i have read it
Describe the bug
A clear and concise description of what the bug is.
- lua error's
- no rival's on Rival tab no portrait, no names, no info its all blank. except 1 name always shows Julia Stevens (No, hide rival portraits is not enabled)
To Reproduce
Steps to reproduce the behavior:
- Go to '...' pet window
- Click on '....'rival tab
- Scroll down to '....' n/a
- See error YES, see error
Expected behavior
A clear and concise description of what you expected to happen.
a fix to the problem that is causing the Lua Error's i am getting and my rival tab to function properly
Screenshots
If applicable, add screenshots to help explain your problem.
1st. showing im using the current pet tracker version
2nd. showing error and no rivals with elvui and addons enabled
3rd showing addons off except pet tracker
last showing stock wow ui with no addons and the same issue as the 2nd
Error Logs
If applicable, add the first error message (labeled 1/Many) that appeared.
This is the whole Lua Report in the stock wow ui with no addons except pet tracker. i did notice that the lua error string is bigger in the stock wow ui then when elvui is enabled but maybe its better or more complete to help figure out whats wrong :)
Message: ...nterface\AddOns\PetTracker\Features\RivalJournal.lua:67: attempt to index field 'Count' (a nil value)
Time: Sat Mar 16 14:37:10 2019
Count: 1
Stack: ...nterface\AddOns\PetTracker\Features\RivalJournal.lua:67: attempt to index field 'Count' (a nil value)
...nterface\AddOns\PetTracker\Features\RivalJournal.lua:67: in function Startup' ...nterface\AddOns\PetTracker\Features\RivalJournal.lua:295: in function
OnSelect'
...ns\PetTracker\Libs\SecureTabs-2.0\SecureTabs-2.0.lua:60: in function `Select'
...ns\PetTracker\Libs\SecureTabs-2.0\SecureTabs-2.0.lua:42: in function <...ns\PetTracker\Libs\SecureTabs-2.0\SecureTabs-2.0.lua:42>
Locals: self = PetTrackerRivalJournal {
0 =
TitleText = PetTrackerRivalJournalTitleText {
Message: Couldn't find inherited node: ItemButtonTemplate
Time: Sat Mar 16 14:37:10 2019
Count: 1
Message: Usage: local overlayInfo = C_MapExplorationInfo.GetExploredMapTextures(uiMapID)
Time: Sat Mar 16 14:37:11 2019
Count: 1
Stack: Usage: local overlayInfo = C_MapExplorationInfo.GetExploredMapTextures(uiMapID)
[C]: in function GetExploredMapTextures' ...haredMapDataProviders\MapExplorationDataProvider.lua:92: in function
RefreshOverlays'
...haredMapDataProviders\MapExplorationDataProvider.lua:41: in function RefreshAllData' ...ace\AddOns\Blizzard_MapCanvas\Blizzard_MapCanvas.lua:418: in function
RefreshAllDataProviders'
...ace\AddOns\Blizzard_MapCanvas\Blizzard_MapCanvas.lua:446: in function RefreshAll' ...ace\AddOns\Blizzard_MapCanvas\Blizzard_MapCanvas.lua:59: in function <...ace\AddOns\Blizzard_MapCanvas\Blizzard_MapCanvas.lua:57> [C]: in function
SetShown'
...ns\PetTracker\Libs\SecureTabs-2.0\SecureTabs-2.0.lua:91: in function Update' ...ns\PetTracker\Libs\SecureTabs-2.0\SecureTabs-2.0.lua:64: in function
Select'
...ns\PetTracker\Libs\SecureTabs-2.0\SecureTabs-2.0.lua:42: in function <...ns\PetTracker\Libs\SecureTabs-2.0\SecureTabs-2.0.lua:42>
Locals: (*temporary) = "Usage: local overlayInfo = C_MapExplorationInfo.GetExploredMapTextures(uiMapID)"
Message: ...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:644: attempt to compare nil with number
Time: Sat Mar 16 15:03:55 2019
Count: 59863
Stack: ...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:644: attempt to compare nil with number
...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:644: in function IsZoomingOut' ...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:268: in function
CalculateLerpScaling'
...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:314: in function <...lizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:299>
Locals: self = {
0 =
MarkCanvasDirty = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:384
GetMinZoomViewRect = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:547
GetNormalizedHorizontalScroll = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:703
SetPanTarget = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:580
DenormalizeVerticalSize = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:728
IsAtMaxZoom = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:647
AccumulateMouseDeltas = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:248
ScalingMode = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:293
GetMap = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:659
IsZoomingIn = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:639
ZoomOut = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:601
ShouldZoomInstantly = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:539
SetScalingMode = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:289
GetNormalizedCursorPosition = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:753
TryPanOrZoomOnClick = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:87
SetZoomTarget = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:585
normalizedPanXLerpAmount = 0.150000
NormalizeUIPosition = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:748
OnMouseUp = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:105
MarkAreaTriggersDirty = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:376
CalculateViewRect = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:551
ResetZoom = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:613
NormalizeHorizontalSize = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:716
SetNormalizedHorizontalScroll = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:698
OnLoad = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:7
Child = {
}
SetShouldPanOnClick = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:527
SetCanvasSize = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:217
normalizedZoomLerpAmount = 0.150000
GetScaleForMaxZoom = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:663
CalculateLerpScaling = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_ScrollContainerMixin.lua:264
GetCanvasScale = defined @interface\AddOns\Bliz
Message: ...nterface\AddOns\PetTracker\Features\RivalJournal.lua:146: attempt to index field 'selected' (a nil value)
Time: Sat Mar 16 14:37:11 2019
Count: 1
Stack: ...nterface\AddOns\PetTracker\Features\RivalJournal.lua:146: attempt to index field 'selected' (a nil value)
...nterface\AddOns\PetTracker\Features\RivalJournal.lua:146: in function `update'
...nterface\AddOns\PetTracker\Features\RivalJournal.lua:90: in function <...nterface\AddOns\PetTracker\Features\RivalJournal.lua:87>
Locals: self = PetTrackerRivalJournalList {
0 =
buttons =
}
ScrollChild = PetTrackerRivalJournalListScrollChild {
}
scrollUp = PetTrackerRivalJournalListScrollBarScrollUpButton {
}
scrollDown = PetTrackerRivalJournalListScrollBarScrollDownButton {
}
offset = 0
scrollBar = PetTrackerRivalJournalListScrollBar {
}
buttonHeight = 46
update = defined @interface\AddOns\PetTracker\Features\RivalJournal.lua:126
scrollChild = PetTrackerRivalJournalListScrollChild {
}
}
self = PetTrackerRivalJournalList {
0 =
buttons =
}
ScrollChild = PetTrackerRivalJournalListScrollChild {
}
scrollUp = PetTrackerRivalJournalListScrollBarScrollUpButton {
}
scrollDown = PetTrackerRivalJournalListScrollBarScrollDownButton {
}
offset = 0
scrollBar = PetTrackerRivalJournalListScrollBar {
}
buttonHeight = 46
update = defined @interface\AddOns\PetTracker\Features\RivalJournal.lua:126
scrollChild = PetTrackerRivalJournalListScrollChild {
}
}
off = 0
rivals =
1 =
}
2 =
}
3 =
}
4 =
}
5 =
}
6 =
}
7 =
}
8 =
}
9 =
}
10 =
}
11 =
}
12 =
}
13 =
}
14 =
}
15 =
}
16 =
}
17 =
}
18 =
}
19 =
}
20 =
}
21 =
}
22 =
}
23 =
}
24 =
}
25 =
}
26 =
}
27 =
}
28 =
}
29 =
}
30 =
}
31 =
}
32 =
}
33 =
}
34 =
}
35 =
}
36 =
}
37 =
}
38 =
}
39 =
}
40 =
}
41 =
}
42 =
}
43 =
}
44 =
}
45 =
}
46 =
}
47 =
}
48 =
}
49 =
}
50 =
}
51 =
}
52 =
}
53 =
}
54 =
}
55 =
}
56 =
}
57 =
}
58 =
}
59 =
}
60 =
}
61 =
}
62 =
}
63 =
}
64 =
}
65 =
}
66 =
}
67 =
}
68 =
}
69 =
}
70 =
}
71 =
}
72 =
}
73 =
}
74 =
}
75 =
}
76 =
}
77 =
}
78 =
}
79 =
}
80 =
}
81 =
}
82 =
}
83 =
}
84 =
}
85 =
}
86 =
}
87 =
}
88 =
}
89 =
}
90 =
}
91 =
}
92 =
}
93 =
}
94 =
}
95 =
}
96 =
}
97 =
}
98 =
}
99 =
}
100 =
}
101 =
}
102 =
}
103 =
}
104 =
}
105 =
}
106 =
}
107 =
}
108 =
}
109 =
}
110 =
}
111 =
}
112 =
}
113 =
}
114 =
}
115 =
}
116 =
}
117 =
}
118 =
}
119 =
}
120 =
}
121 =
}
122 =
}
123 =
}
124 =
}
125 =
}
126 =
}
127 =
}
128 =
}
129 = <table
Additional context
Add any other context about the problem here.
I think i explained it all in the beginning. I will check back later this evening to see if you responded. i will respond to your replies on this matter. thank you for your time and have a great day
Rhainstorm/Rhaincloud
Ok after i submitted this i decided to do a scan and repair to see if that helped or changed anything and no it did not, still same thing but as i did all the stuff i posted i noticed something. with the elvui the lua is shorter and did not include all that map and table stuff as it did with the stock ui. so i am posting a copy of the Lua error with my elvui as well as the lua i posted in my ticket. so you have the Lua error using stock wow ui and using my elvui
elvui on- pet tracker lua error:
Message: ...nterface\AddOns\PetTracker\Features\RivalJournal.lua:67: attempt to index field 'Count' (a nil value)
Time: Sat Mar 16 16:22:14 2019
Count: 1
Stack: ...nterface\AddOns\PetTracker\Features\RivalJournal.lua:67: attempt to index field 'Count' (a nil value)
[C]: ?
...nterface\AddOns\PetTracker\Features\RivalJournal.lua:67: in function Startup' ...nterface\AddOns\PetTracker\Features\RivalJournal.lua:295: in function
OnSelect'
...ns\PetTracker\Libs\SecureTabs-2.0\SecureTabs-2.0.lua:60: in function `Select'
...ns\PetTracker\Libs\SecureTabs-2.0\SecureTabs-2.0.lua:42: in function <...ns\PetTracker\Libs\SecureTabs-2.0\SecureTabs-2.0.lua:42>
Locals:
Message: Couldn't find inherited node: ItemButtonTemplate
Time: Sat Mar 16 16:22:14 2019
Count: 1
I figured out what was happening.. for some reason after the twitch update a few days ago, twitch was putting my addon updates over the last several days in my wow beta file not my retail. took me a bit to figure out how to disable wow beta from twitch so i can get my addon updates. anyway it is fixed now and no more errors.. stupid twitch lol
sorry for any trouble
Rhain