PetTracker

PetTracker

12M Downloads

Error when doing pet battle quests

sauljaffe opened this issue ยท 4 comments

commented

Which software were you running?

  • Addon version name: Pettracker 10.2.7
  • Client used: Retail

Please describe the bug.
From BugSack:
25x ...s/PetTracker/libs/Sushi-3.2-1/classes/groups/Popup.lua:70: attempt to get length of upvalue 'Defaults' (a nil value)
[string "@PetTracker/libs/Sushi-3.2-1/classes/groups/Popup.lua"]:70: in function Organize' [string "@PetTracker/libs/Sushi-3.2-1/classes/groups/Popup.lua"]:148: in function <...s/PetTracker/libs/Sushi-3.2/classes/groups/Popup.lua:109> [string "=(tail call)"]: ? [string "@PetTracker/addons/battle/alerts.lua"]:27: in function ?'
[string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...ore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function SendMessage' [string "@PetTracker/libs/WildAddon-1.0-2/WildAddon-1.0.lua"]:100: in function SendSignal'
[string "@PetTracker/addons/main/main.lua"]:50: in function ?' [string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...ore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109> [string "=[C]"]: ? [string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function Fire'
[string "@DataStore/libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <DataStore/libs/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals:
self =

{
Cancel = defined @PetTracker/libs/Sushi-3.2/classes/groups/Popup.lua:63
__super =
{
}
GetActive = defined @PetTracker/libs/Sushi-3.2/classes/groups/Popup.lua:79
__base =
{
}
__version = 6
IterateActive = defined @PetTracker/libs/Sushi-3.2/classes/groups/Popup.lua:87
Toggle = defined @PetTracker/libs/Sushi-3.2/classes/groups/Popup.lua:59
__index =
{
}
Size = 420
Accept = defined @PetTracker/libs/Sushi-3.2/classes/groups/Popup.lua:183
Max = 6
OnKeyDown = defined @PetTracker/libs/Sushi-3.2/classes/groups/Popup.lua:209
External = defined @PetTracker/libs/Sushi-3.2/classes/groups/Popup.lua:55
__frames =
{
}
Populate = defined @PetTracker/libs/Sushi-3.2/classes/groups/Popup.lua:152
__count = 1
New = defined @PetTracker/libs/Sushi-3.2/classes/groups/Popup.lua:109
Release = defined @PetTracker/libs/Sushi-3.2/classes/groups/Popup.lua:190
Active =
{
}
Construct = defined @PetTracker/libs/Sushi-3.2/classes/groups/Popup.lua:94
Organize = defined @PetTracker/libs/Sushi-3.2/classes/groups/Popup.lua:68
}
(for generator) = defined =[C]:-1
(for state) =
{
1 = Frame {
}
}
(for control) = 1
i = 1
f = Frame {
button2 = "No"
MoneyInput = table: 0x1498eea10MoneyInput {
}
pool =
{
}
button1 = "Quit"
id = "No upgrades are available. Quit battle?"
text = "No upgrades are available. Quit battle?"
backdrop = "DialogBorderDarkTemplate"
limit = false
calls =
{
}
bg = Frame {
}
0 =
Icon = Texture {
}
Children =
{
}
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = Frame {
button2 = "No"
MoneyInput = table: 0x1498eea10MoneyInput {
}
pool =
{
}
button1 = "Quit"
id = "No upgrades are available. Quit battle?"
text = "No upgrades are available. Quit battle?"
backdrop = "DialogBorderDarkTemplate"
limit = false
calls =
{
}
bg = Frame {
}
0 =
Icon = Texture {
}
Children =
{
}
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to get length of upvalue 'Defaults' (a nil value)"
Defaults = nil

Please describe how to reproduce it.
I clicked "Start Battle" when facing Adinakon in The Walking Shore (Dragonflight)

I've been noticing a lot of strange errors or notices coming that I haven't before, including telling me that new wild species were detected when doing pet battle quests.

commented

I have created an addon that does most of what PetTracker does (and doesn't have issues with these lua errors like it has) - if you want to try it, you can look up Battle Pet Completionist

commented

Extremely inappropriate to advertise your own addon here, Gurli. I don't care if the errors are never fixed, I absolutely will not choose your addon now.

That said, give jaliborc some time. The errors just cropped up this week, and he's still an active developer. I'm sure they'll be fixed in no time.

commented

Well, you are free to choose which one to use.
If people want to use PetTracker, and it solves their needs (with all it's errors), they should.
I don't mind people using PetTracker (I really don't), but it seems like these lua errors have been reported for months and have been ignored.
That, along with the "used to be an open source license, but not really, but I like to call it that" is the reason I startet the other addon in the first place. (calling it GPL-3 licensed, and then trying to remove all the right the GPL license gives people is a bad move)
Anyway, there you have my reasons, and for those, I still think giving people the choise of an alternative is the right thing to do.

commented

Also, fixed in no time - I highly doubt that.
These lua errors have been reported for months now, so....