Neuron

Neuron

98.2k Downloads

Lua Errors

NoNamePaul opened this issue ยท 4 comments

commented

I don't know if this is connected with #103 but after a reload i now get spammed with lua errors:

Once:

Message: Interface\AddOns\Neuron\Neuron-Buttons.lua:1355: attempt to index field 'manacolor' (a nil value)
Time: 06/05/18 18:49:21
Count: 1
Stack: Interface\AddOns\Neuron\Neuron-Buttons.lua:1355: attempt to index field 'manacolor' (a nil value)
(tail call): ?
Interface\AddOns\Neuron\Neuron-Buttons.lua:1355: in function `MACRO_UpdateUsableSpell'
Interface\AddOns\Neuron\Neuron-Buttons.lua:1452: in function `MACRO_UpdateButton'
Interface\AddOns\Neuron\Neuron-Buttons.lua:1327: in function `MACRO_UpdateAll'
Interface\AddOns\Neuron\Neuron-Buttons.lua:3480: in function `SetType'
Interface\AddOns\Neuron\Neuron-Buttons.lua:2856: in function `CreateNewObject'
Interface\AddOns\Neuron\Neuron-Bars.lua:340: in function `SetUpBars'
Interface\AddOns\Neuron\Neuron-Bars.lua:250: in function <Interface\AddOns\Neuron\Neuron-Bars.lua:248>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
...ace\AddOns\Neuron\Libs\AceAddon-3.0\AceAddon-3.0.lua:558: in function `EnableAddon'
...ace\AddOns\Neuron\Libs\AceAddon-3.0\AceAddon-3.0.lua:571: in function `EnableAddon'
...ace\AddOns\Neuron\Libs\AceAddon-3.0\AceAddon-3.0.lua:651: in function <...ace\AddOns\Neuron\Libs\AceAddon-3.0\AceAddon-3.0.lua:636>
[C]: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:429: in function `UIParentLoadAddOn'
Interface\FrameXML\UIParent.lua:528: in function `TimeManager_LoadUI'
Interface\FrameXML\UIParent.lua:1114: in function <Interface\FrameXML\UIParent.lua:1011>

Locals: <none>

Spammed:

Message: Interface\AddOns\Neuron\Neuron-Buttons.lua:1355: attempt to index field 'manacolor' (a nil value)
Time: 06/05/18 18:55:48
Count: 2449
Stack: Interface\AddOns\Neuron\Neuron-Buttons.lua:1355: attempt to index field 'manacolor' (a nil value)
[C]: ?
Interface\AddOns\Neuron\Neuron-Buttons.lua:1355: in function `MACRO_UpdateUsableSpell'
Interface\AddOns\Neuron\Neuron-Buttons.lua:1452: in function `MACRO_UpdateButton'
Interface\AddOns\Neuron\Neuron-Buttons.lua:1489: in function `MACRO_OnUpdate'
Interface\AddOns\Neuron\Neuron-Buttons.lua:3377: in function <Interface\AddOns\Neuron\Neuron-Buttons.lua:3377>

Locals: 

And after a restart of the game i get:

Message: Interface\AddOns\Neuron\Neuron-GUI.lua:496: attempt to concatenate field 'objCount' (a nil value)
Time: 06/05/18 18:53:14
Count: 2
Stack: Interface\AddOns\Neuron\Neuron-GUI.lua:496: attempt to concatenate field 'objCount' (a nil value)
[C]: ?
Interface\AddOns\Neuron\Neuron-GUI.lua:496: in function `UpdateBarGUI'
Interface\AddOns\Neuron\Neuron-Bars.lua:1516: in function `OnClick'
Interface\AddOns\Neuron\Neuron-Bars.lua:1929: in function <Interface\AddOns\Neuron\Neuron-Bars.lua:1929>

Locals: 

My bars are now completely broken and I think I have to delete my savedvariables? D:

commented

oh wow that should not have happened. I will get this fixed in ~2 hours. do you have a backup you can revert to by any chance?

commented

Sadly not :/ I luckily didn't put too much work into my new action bars so far. Only thing I'm not looking forward to is searching for the icons again ๐Ÿ˜ฆ

commented

This is fixed in the latest version. I have pulled the broken release to stop others from hitting this error, I'm super sorry for messing up your bars!

commented

My bars are back correctly! Thanks for the quick fix ๐Ÿ˜€