Guild Roster Manager (GRM)

Guild Roster Manager (GRM)

3M Downloads

error in Classic

Daeveren opened this issue ยท 8 comments

commented

Getting this error in Classic all of a sudden while being afk in Ironforge, perhaps some sync error, I thought it would be useful to report it here:

Message: ...AddOns\Guild_Roster_Manager\Guild_Roster_Manager-1.927.lua:7960: attempt to index local 'player' (a nil value)
Time: Sat Dec 19 20:13:30 2020
Count: 1
Stack: ...AddOns\Guild_Roster_Manager\Guild_Roster_Manager-1.927.lua:7960: attempt to index local 'player' (a nil value)
...erface\AddOns\Guild_Roster_Manager\GRM_GuildSync.lua:5817: in function <...erface\AddOns\Guild_Roster_Manager\GRM_GuildSync.lua:5470>

Locals: self = GRMsyncMessageTracking {
 0 = <userdata>
}
event = "CHAT_MSG_ADDON"
prefix = "GRM_SYNC"
msg = "Maxxie-PyrewoodVillage?false?1605381635"
channel = "GUILD"
sender = "Patronpala-PyrewoodVillage"
comms = <table> {
 versionCheckEpoch = 0
 abortSync = false
 prefix2 = "GRM_MAINSYNCUP"
 senderRankRequirement = 6
 senderRankID = 5
 isFound = true
}
commented

I basically ended up taking a year off - my pending update fixes this if it has not already. Sorry man I just forgot about this!

commented

Hey @Daeveren Do you know if sync completed, and this error still popped, or if this caused the sync to fail? Thanks!

commented

I don't remember if the sync finished, I know that once I've seen the error I've done a reloadui; it happened once more shortly after that, but since then, no error anymore. I guess this can be safely closed if you've inspected the error code and it's not clear why it happened. I'll make sure I come back if I see another error.

commented

Got the errors again (atleast they seem to be the same error):

image

Time: Sun Dec 27 18:52:54 2020
Count: 1
Stack: ...AddOns\Guild_Roster_Manager\Guild_Roster_Manager-1.927.lua:7960: attempt to index local 'player' (a nil value)
...erface\AddOns\Guild_Roster_Manager\GRM_GuildSync.lua:5817: in function <...erface\AddOns\Guild_Roster_Manager\GRM_GuildSync.lua:5470>

Locals: self = GRMsyncMessageTracking {
 0 = <userdata>
}
event = "CHAT_MSG_ADDON"
prefix = "GRM_SYNC"
msg = "Hared-PyrewoodVillage?false?1608095870"
channel = "GUILD"
sender = "Kiksen-PyrewoodVillage"
comms = <table> {
 versionCheckEpoch = 0
 abortSync = false
 prefix2 = "GRM_MAINSYNCUP"
 senderRankRequirement = 6
 senderRankID = 5
 isFound = true
}
Time: Sun Dec 27 18:55:33 2020
Count: 1
Stack: ...AddOns\Guild_Roster_Manager\Guild_Roster_Manager-1.927.lua:7960: attempt to index local 'player' (a nil value)

Locals: ```



commented

Btw the Hared player whos name I see mentioned there is no longer in the guild.

commented

Ok this is very helpful. Thank you! I am working on something at the moment that is taking up a lot of my time, but I will make sure to get this resolved in the coming update.

commented

I can tell you what is happening though as I see it, code wise. Basically, for some reason, even though this player has quit their name has not yet been removed from the guild, but oddly, their alt data has. so it shows them as still existing, but then it tries to pull their alt data and it crashes out. This function becomes completely redundant in my next update though as I am rewriting the entire backend alt logic handling and sync protocol.

commented

Awesome, thank you for your work!