Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in first time login #1871

Closed
NORPG opened this issue Dec 27, 2024 · 1 comment
Closed

Error in first time login #1871

NORPG opened this issue Dec 27, 2024 · 1 comment
Assignees
Labels
Addon Bug Something is not working properly with the addon.

Comments

@NORPG
Copy link
Member

NORPG commented Dec 27, 2024

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.

@NORPG NORPG added the Addon Bug Something is not working properly with the addon. label Dec 27, 2024
@NORPG
Copy link
Member Author

NORPG commented Dec 27, 2024

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.

@ImUnicke ImUnicke self-assigned this Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Addon Bug Something is not working properly with the addon.
Projects
None yet
Development

No branches or pull requests

2 participants