Ny's To-Do List - Todo / Task Manager

Ny's To-Do List - Todo / Task Manager

141k Downloads

[Classic] v5.5.1 tdlButton:SetPoint() error

Road-block opened this issue ยท 7 comments

commented

Probably best to do this here than in comments ๐Ÿ˜„

Full errorstack is

3x ...nterface\Nys_ToDoList\Data\optionsManager.lua:133: tdlButton:SetPoint(): Wrong object type for function
[C]:: in function 'SetPoint'
...nterface\Nys_ToDoList\Data\optionsManager.lua:133: in function 'RefreshTDLButton'
...nterface\Nys_ToDoList\Data\optionsManager.lua:127: in function 'CreateTDLButton'
Nys_ToDoList\Data\init.lua:190: in function <Nys_ToDoList\Data\init.lua:136>
[C]:: ?

Saved variables for the affected character here.

I'm guessing if you load that profile you should be able to reproduce it.

commented

Yup, good thought x)
okay let me test this profile

commented

The only addon I can find in my AddOns folder implementing a fadeInfo.fadeTimer is Immersion.

It's implementing a fader for frames in its \Display\Animation.lua file.

Now how it managed to corrupt NysToDo saved variables I have no clue (yet).

commented

well yea, if we delete the tdlButton key it corrects the prb for me, did you check that? like does deleting the tdlbutton key in the saved variable solves the prb or does it gets recorrupted?

commented

but apart from that yea, it must be an other addon or i have no clue, i'll try installing immersion

commented

So yeah running

/run NysTDL.db.profile.tdlButton=nil;ReloadUI()

in game gets rid of the error and in subsequent reloads remains fine.

I guess we can file this under life's great mysteries.

commented

okay, well i guess i'll add a one time reset of this value and the frame's pos too for the update :)
Thank you for helping btw!

commented

Thanks for the nice addon and apologies for the false alarm.
I've no idea how that got into the saved variables.
I didn't even have the button enabled in the options.