Cell - Unit Frames

Cell - Unit Frames

343k Downloads

[Bug] Bug on login after first downloading addon

TheStinkyGnome opened this issue ยท 10 comments

commented

Addon Version

Cell-Unitframes-v1.4.48.zip

World of Warcraft Version

Retail

Localization

English

Describe the bug

Hello, I am getting this error when I login/reload. I have just installed this addon and made some custom frames. so let me know if I am submitting this report wrong!

Let me know if this bug is caused by me somehow, i'd like to fix it!

I am also having the same issue as well: #237

Sorry again, I just signed up to GitHub to submit this error code. But thanks in advance. Awesome addon, looks very good.

Steps to reproduce

Appears when I login and reload

BugSack

5x Cell_UnitFrames/Data/Database.lua:15: attempt to index field '?' (a nil value)
[Cell_UnitFrames/Data/Database.lua]:15: in function <Cell_UnitFrames/Data/Database.lua:14>
[tail call]: ?
[tail call]: ?
[Cell_UnitFrames/Widgets/Bars/HealthBar.lua]:173: in function 'UnitFrame_UpdateHealthTexture'
[Cell_UnitFrames/UnitFrames/UnitButton.lua]:249: in function 'func'
[Cell_UnitFrames/Util/Utils.lua]:169: in function 'IterateAllUnitButtons'
[Cell_UnitFrames/UnitFrames/UnitButton.lua]:248: in function 'onEventFunc'
[Cell_UnitFrames/Core/Events.lua]:49: in function 'Fire'
[Cell_UnitFrames/Core/OnLoad.lua]:69: in function 'onEventFunc'
[Cell/Libs/CallbackHandler.lua]:24: in function 'Fire'
[Cell/Core.lua]:804: in function '?'
[Cell/Core.lua]:891: in function <Cell/Core.lua:890>

Locals:
layout = "hide"
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
commented

Interesting, will take a look after lunch :)

commented

If it helps, it seems to have something to do with the latest Cell update. With Cell_Unitframes enabled, I'm being spammed by errors while in Cell's appearance tab.

216x Cell/Indicators/Base.lua:373: attempt to compare number with nil
[Cell/Indicators/Base.lua]:373: in function <Cell/Indicators/Base.lua:340>
commented

Yes it seems a few people are having that error, I am mainly getting it when I enable the buff, debuff and totem icons on my player and target frames. But it is not the same as the issue I am having above. But it may be tied to the Cell Update too. But I have zero knowledge on coding or addon making so I'm just guessing

If it helps, it seems to have something to do with the latest Cell update. With Cell_Unitframes enabled, I'm being spammed by errors while in Cell's appearance tab.

216x Cell/Indicators/Base.lua:373: attempt to compare number with nil
[Cell/Indicators/Base.lua]:373: in function <Cell/Indicators/Base.lua:340>
commented

Can you give me the full bugstack?

If it helps, it seems to have something to do with the latest Cell update. With Cell_Unitframes enabled, I'm being spammed by errors while in Cell's appearance tab.

216x Cell/Indicators/Base.lua:373: attempt to compare number with nil
[Cell/Indicators/Base.lua]:373: in function <Cell/Indicators/Base.lua:340>
commented

Can you give me the full bugstack?

Sure, here you go:

72x Cell/Indicators/Base.lua:373: attempt to compare number with nil
[Cell/Indicators/Base.lua]:373: in function <Cell/Indicators/Base.lua:340>

Locals:
frame = CellAppearancePreviewIcon3 {
 BottomLeftCorner = Texture {
 }
 showDuration = true
 duration = FontString {
 }
 showAnimation = true
 TopLeftCorner = Texture {
 }
 RightEdge = Texture {
 }
 ag = AnimationGroup {
 }
 _start = 260472.274000
 height = 22
 stack = FontString {
 }
 _remain = 13
 _elapsed = 0
 _duration = 13
 _threshold = 13
 preview = Frame {
 }
 icon = CellAppearancePreviewIcon3Icon {
 }
 TopRightCorner = Texture {
 }
 cooldown = StatusBar {
 }
 style = "VERTICAL"
 TopEdge = Texture {
 }
 backdropInfo = <table> {
 }
 width = 22
 Center = Texture {
 }
 BottomEdge = Texture {
 }
 LeftEdge = Texture {
 }
 BottomRightCorner = Texture {
 }
}
elapsed = 0.014000
(*temporary) = 13
(*temporary) = nil
(*temporary) = FontString {
 b = 1
 points = <table> {
 }
 g = 1
 r = 1
}
(*temporary) = 1
(*temporary) = 1
(*temporary) = "attempt to compare number with nil"
Cell = <table> {
 MIN_DEBUFFS_VERSION = 239
 MIN_QUICKASSIST_VERSION = 239
 flavor = "retail"
 funcs = <table> {
 }
 snippetVars = <table> {
 }
 MIN_CLICKCASTINGS_VERSION = 239
 IndentationLib = <table> {
 }
 isRetail = true
 animations = <table> {
 }
 frames = <table> {
 }
 MIN_INDICATORS_VERSION = 245
 unitButtons = <table> {
 }
 versionNum = 247
 bFuncs = <table> {
 }
 vars = <table> {
 }
 loaded = true
 hasHighestPriority = false
 version = "r247-release"
 pixelPerfectFuncs = <table> {
 }
 isVanilla = false
 wowSupporters = <table> {
 }
 isTWW = true
 menu = CellCascadingMenu {
 }
 supporters1 = <table> {
 }
 MIN_LAYOUTS_VERSION = 245
 iFuncs = <table> {
 }
 supporters2 = <table> {
 }
 L = <table> {
 }
 defaults = <table> {
 }
 MIN_VERSION = 239
 uFuncs = <table> {
 }
 isWrath = false
 isCata = false
}
commented

Was a bug relating to the new "Hide" layout that Cell introduced, shipping a fix for it now.

commented

Was a bug relating to the new "Hide" layout that Cell introduced, shipping a fix for it now.

Thanks! I did update the addon, yet still getting the issue, I'm not sure if the fix has been applied yet, but just letting you know. Also awesome profile pic, I love Louise!

commented

You downloaded v1.4.50, and still have the error? can you show the bugstack and also a screenshot of your settings in Cell like so?

Image

Was a bug relating to the new "Hide" layout that Cell introduced, shipping a fix for it now.

Thanks! I did update the addon, yet still getting the issue, I'm not sure if the fix has been applied yet, but just letting you know. Also awesome profile pic, I love Louise!

commented

sure, one moment

commented

Okay, never mind, false alarm!

I restarted my curseforge, and it fixed itself. I have auto-update on, but it must not have grabbed the update properly for some reason. My bad!

Thanks again Krealle. Have a great rest of your day