
Error in first time login
NORPG opened this issue · 1 comments
Which flavo(u)r(s) of WoW are you using?
Retail
Which server realm(s) are you in?
US
What build number of WoW?
11.0.7.58238
Which version of ATT?
Latest alpha
What build number of ATT?
4.2.3a-68-g259806a
What isn't working? What was supposed to happen?
In a newly installed World of Warcraft, after logging in to a character for the first time, a lua error will appear in ATT.
Screenshot
No response
Steps to reproduce the behavior.
In a newly installed World of Warcraft, then install ATT & BugSack+BugGrabber, just login, and encountered an error.
Are you experiencing any lua errors?
1x ...eAllTheThings/src/UI/Retail Window Logic.lua:606: attempt to index local 'profile' (a nil value)
[string "@AllTheThings/src/UI/Retail Window Logic.lua"]:606: in function `StorePosition'
[string "@AllTheThings/AllTheThings.lua"]:10859: in function <AllTheThings/AllTheThings.lua:10821>
[string "@AllTheThings/lib/Callback.lua"]:25: in function <AllTheThings/lib/Callback.lua:16>
Locals:
self = AllTheThings-Window-CurrentInstance {
BottomLeftCorner = Texture {
}
rowData =
}
Suffix = "CurrentInstance"
RightEdge = Texture {
}
__Runner =
}
MapCache =
}
Container = Frame {
}
BottomEdge = Texture {
}
ScrollBar = Slider {
}
CurrentMaps =
}
Center = Texture {
}
mapID = 84
lockPersistable = true
TopRightCorner = Texture {
}
Grip = Texture {
}
Handlers =
}
data =
}
initialized = true
missingData = true
TopEdge = Texture {
}
BottomRightCorner = Texture {
}
CloseButton = Button {
}
TopLeftCorner = Texture {
}
backdropInfo =
}
LeftEdge = Texture {
}
}
key = "Default"
profile = nil
(*temporary) = nil
(*temporary) = "Default"
(*temporary) = "Player-75-0F846E53"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'profile' (a nil value)"
app =
OnTooltipDB =
}
FunctionRunner =
}
SpellNameToSpellID =
}
OnUpdateDB =
}
GameBuildVersion = 110007
events =
}
Runners =
}
FlightPathDB =
}
IsClassic = false
ClassIndex = 9
UniqueCounter =
}
Presets =
}
Colors =
}
MapRemapping =
}
CurrentCharacter =
}
SkillIDToSpellID =
}
L =
}
PhaseConstants =
}
ObjectModels =
}
ClassInfoByID =
}
CharacterSyncTables =
}
AuctionFrame = Frame {
}
MaxSourceID = 266805
CurrentMapID = 84
CallbackHandlers =
}
IsReady = true
ccColors =
}
NPCDisplayIDFromID =
}
ObjectNames =
}
_SettingsRefresh = 10636.072450
Audio =
}
HeaderConstants =
}
ClassName = "|cff8788ee術士|r"
SourceSpecificFields =
}
Modules =
}
Categories =
}
Windows =
}
UI =
}
MaximumSkillLevel = 99999
AddonLoadedTriggers =
}
IsRetail = true
Race = "NightElf"
SearchNil = "zsxdcfawoidsajd"
EmptyTable =
}
RaceIndex = 4
QuestLockCriteriaFunctions =
}
PlayerProgressCacheByGUID =
}
ReagentsDB =
}
NPCNameFromID =
}
Version = "4.2.3a-68-g259806a"
ClassInfoByClassName =
}
MergeSkipFields =
}
MaximumItemInfoRetries = 40
FillRunner =
}
ThingKeys =
}
ObjectIcons =
}
UpdateRunner =
}
ClassInfoByClassFile =
}
Level = 12
GlobalVariants =
}
ChatCommands =
}
WOWAPI =
}
RaceID = 4
Gender = 2
NPCTitlesFromID =
}
InWorld = true
BaseClass =
}
ExplorationAreaPositionDB =
}
AfterCata = true
RealMapID = 84
ActiveVignettes =
}
frame = Frame {
}
refreshDataForce = true
GUID = "Player-75-0F846E53"
DESCRIPTION_SEPARATOR = "`"
Class = "WARLOCK"
MetaTable =
}
Settings = AllTheThings-Settings {
}
SortDefaults =
}
AccountWideQuestsDB =
}
FilterConstants =
}
FactionID = 2
Faction = "Alliance"
HeaderData =
}
CategoryIcons =
}
SpecializationSpellIDs =
}
RaceDB =
}
SkillDB =
}
ActiveCustomCollects =
}
AllGamePatches =
}
Me = "|cff8788eePawnls-Argent Dawn|r"
CurrentMapInfo =
}
DefaultColors =
}
}
math =
huge = Infinite
pi = 3.141593
}
Anything else?
I used zhTW localization.
https://github.com/ATTWoWAddon/AllTheThings/blob/master/src/UI/Retail%20Window%20Logic.lua#L606
It seems that the Profile has not been established yet and should be established before using Profile.