Tercioo / Plater-Nameplates

Source code for World of Warcraft addon Plater Nameplates.
74 stars 42 forks source link

Clamping/Adibags Lua Errors #129

Closed Ophilla closed 1 year ago

Ophilla commented 2 years ago

Game and Plater version WoW Version: 9.2.7.45338 Plater version info: Plater-v534-Retail - DF v335 - 9.2.7

Describe the bug

Lua Error There have been several, maybe 5 or 6 that vary just slightly. I had 4 other ones earlier, but it seems they (at least sometimes) go away after a reload, so this older one from BugSack is all I have at the moment.

4x [ADDON_ACTION_BLOCKED] AddOn 'Plater' tried to call the protected function 'SetTargetClampingInsets()'. [string "@!BugGrabber\BugGrabber.lua"]:519: in function <!BugGrabber\BugGrabber.lua:519> [string "=[C]"]: in function SetTargetClampingInsets' [string "@Blizzard_NamePlates\Blizzard_NamePlates.lua"]:336: in function <...eBlizzard_NamePlates\Blizzard_NamePlates.lua:275> [string "=[C]"]: in functionSetupClassNameplateBars' [string "@Blizzard_NamePlates\Blizzard_NamePlates.lua"]:119: in function `OnNamePlateAdded' [string "@Blizzard_NamePlates\Blizzard_NamePlates.lua"]:56: in function <...eBlizzard_NamePlates\Blizzard_NamePlates.lua:47>

Screenshots

Other Information

cont1nuity commented 2 years ago

Looks like a pretty common taint error that could be caused by everything. Please do the following:

Ophilla commented 2 years ago

Well, this is definitely.. Different. Now that I'm looking at this, I'm only about 70% sure that the error during the log was the same Plater error. I've certainly encountered a lot of errors when using Scrap and Guild Roster Manager together that didn't look at all related to my Plater problem. I'll try again, and in the meantime try to contact the Scrap author.

scrap taint.log

cont1nuity commented 2 years ago

It would help if you provided the full log for reference.

Ophilla commented 2 years ago

I'm sorry? That's the whole file that was in the location you mentioned. Do you mean a different log?

cont1nuity commented 2 years ago

In that case the error mentioned initially did not occur yet. The taint.log should contain the full error.

Ophilla commented 2 years ago

Oh! I'm sorry, I just remembered because I stumbled across it again; I copied the error before I closed the game because it didn't get caught by buggrabber (and it usually doesn't, which is why I only had the slightly different error before). This looks much more like the usual error I would get, as opposed to the one in the original post. I really thought I closed the game immediately, but that would put the taint log about 2 hours in the future.

Message: ADDON_ACTION_BLOCKED: Plater tried to call the protected function 'SetTargetClampingInsets()'. Time: Sat Sep 17 20:34:20 2022 Count: 5 Stack: ADDON_ACTION_BLOCKED: Plater tried to call the protected function 'SetTargetClampingInsets()'. [string "@Interface\AddOns\Scrap\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:29: in function <...rap\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25> [string "@Interface\AddOns\Scrap\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:64: in function Fire' [string "@Interface\AddOns\Scrap\libs\AceEvent-3.0\AceEvent-3.0.lua"]:120: in function <...face\AddOns\Scrap\libs\AceEvent-3.0\AceEvent-3.0.lua:119> [string "=[C]"]: in functionSetTargetClampingInsets' [string "@Interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:336: in function <...e\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua:275> [string "=[C]"]: in function SetupClassNameplateBars' [string "@Interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:119: in functionOnNamePlateAdded' [string "@Interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:56: in function <...e\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua:47>

Locals:

Ophilla commented 2 years ago

I will keep logging and waiting for it to happen again, but I don't know how to trigger it.

Ophilla commented 1 year ago

I was able to catch it. Here's the taint.log.

cont1nuity commented 1 year ago

Did you turn on taintlog after the error occurred? If so, If not, /console taintlog 11 might be worth a try.

Ophilla commented 1 year ago

Yes, yes you caught me. :( (I kid, I didn't do that intentionally; it had just been a while since I read your instructions. I'll keep trying. Thank you for your patience!)

cont1nuity commented 1 year ago

Known addons to cause taints, currently: Clique and TotalRP3

Ophilla commented 1 year ago

I caught it again and I'm afraid it looks exactly the same, but I'll upload it in case you see something I don't. [taint.log]

I don't use Clique or TotalRP3, so I guess this one must be something else. My addon list is long enough to make anyone cringe, so without knowing how to trigger the error, I really hesitate to do any sort of trial of elimination. I'll try the other console command and see if it gives anything different.

cont1nuity commented 1 year ago

Running log level 11 might help then. Nothing to see there...

Ophilla commented 1 year ago

This is the second time it has popped up in Ember Court, which I've started doing recently. The log is quite long I guess, too big to upload here (52 MB). I tried to upload it to pastebin but it locks the site up. :I Is there another way I can get it to you?

cont1nuity commented 1 year ago

Zip it and upload should work just fine.

Ophilla commented 1 year ago

Ah, okay, perfect. [taint.zip]

cont1nuity commented 1 year ago

Some candidates:

Might be worth investigating those. Although I can't tell which one it might actally be in the end...

Ophilla commented 1 year ago

Great! Thank you so much for your patience and effort to help me figure this out.