BelegCufea / CompassHUD

A configurable compass strip showing player's heading along with questmarkers including distance and time to arive.
https://www.curseforge.com/wow/addons/compasshud
GNU General Public License v3.0
5 stars 0 forks source link

ad argument #1 to 'unpack' (table expected, got nil) , is it CompassHud? #12

Closed yoshimo closed 1 month ago

yoshimo commented 1 month ago
5x TomTom/TomTom.lua:231: bad argument #1 to 'unpack' (table expected, got nil)
[string "=[C]"]: in function `unpack'
[string "@TomTom/TomTom.lua"]:231: in function `GetKey'
[string "@CompassHUD/CompassHUD.lua"]:2046: in function <CompassHUD/CompassHUD.lua:2045>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `RemoveWaypoint'
[string "@!KalielsTracker/Modules/Addon_TomTom.lua"]:184: in function <...face!KalielsTracker/Modules/Addon_TomTom.lua:182>
[string "@!KalielsTracker/Modules/Addon_TomTom.lua"]:264: in function <...face!KalielsTracker/Modules/Addon_TomTom.lua:262>
[string "=[C]"]: in function `SetSuperTrackedUserWaypoint'
[string "@Wholly/Wholly.lua"]:1229: in function `_AddDirectionalArrows'
[string "@Wholly/Wholly.lua"]:3419: in function `_ReinstateDirectionalArrows'
[string "@Wholly/Wholly.lua"]:899: in function `?'
[string "@Wholly/Wholly.lua"]:2572: in function `_OnEvent'
[string "@Wholly/Wholly.lua"]:4822: in function <Wholly/Wholly.lua:4822>

Locals:
(*temporary) = nil
(*temporary) = "table expected, got nil"

This is the one mentioned in the stack that is updated most often. Who should i ask about this error? ;)

BelegCufea commented 1 month ago

Will look into it. Even on TomTom side.

Never had this one on my end. And I am using TomTom with CompassHUD all the time.

BelegCufea commented 1 month ago

My attempt to fix it in this commit.

Would you be so kind and try to use code in the master branch if it helps?

yoshimo commented 1 month ago

Seems like handing in or accepting quests does no longer trigger this error. Bugsack stays hidden and no longer pops up. Not sure why that error appeared before though.

BelegCufea commented 1 month ago

@yoshimo

Is that with untouched code or the one I "fixed" in master branch?

yoshimo commented 1 month ago

master branch.

BelegCufea commented 1 month ago

thanks, will release it as fix in next version.