Changing font size error
Commenterry opened this issue ยท 11 comments
When I try to use the options menu to change the font size of the quest watch panel, I get the following error:
Message: Interface\AddOns\Carbonite.Quests\NxQuest.lua:9837: attempt to compare nil with number
Time: Mon Nov 2 01:45:51 2020
Count: 12
Stack: Interface\AddOns\Carbonite.Quests\NxQuest.lua:9837: attempt to compare nil with number
[string "@interface\AddOns\Carbonite.Quests\NxQuest.lua"]:9837: in function UpdateList' [string "@Interface\AddOns\Carbonite.Quests\NxQuest.lua"]:9120: in function
func'
[string "@interface\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua"]:57: in function <...\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:50>
Locals: self =
{UpdateList = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9129
Win =
}
Menu_OnRemoveWatch = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8910
WinUpdateFade = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9869
ClearAutoTarget = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9018
ShowUpdate = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9852
ClosestCur =
}
ClearCompleted = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:10105
OnUpdateTimer = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9038
Open = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8634
AddCustom = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9087
ButATarget =
}
ButSwap =
}
Menu =
}
Add = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:10084
Watched =
}
Menu_OnRemoveAllWatches = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8957
Menu_OnAbandon = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8952
Update = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9072
CalcDistCnt = 25
CalcDistI = 1
FlashColor = 1
Menu_OnShowMap = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8926
Opened = true
RemoveWatch = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8971
ClearCustom = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9083
RMenu =
}
WatchMenu =
}
Menu_OnShare = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8936
List =
}
MenuPri =
}
Set = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:10002
ButShowParty =
}
ButQGivers =
}
ButShowOnMap =
}
OnTimer = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9100
OnListEvent = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9887
Menu_OnShowQuest = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8917
SetSortMode = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9034
ButMenu =
}
Menu_OnLinkQuest = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8931
OnWin = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8904
FixedChange = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8897
ButPri =
}
}
Nx =
GetDataToolBar = defined @interface\AddOns\Carbonite\Carbonite.lua:1932
modules =
}
CancelTimer = defined @interface\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:147
Quest =
}
OnUnit_spellcast_sent = defined @interface\AddOns\Carbonite\Carbonite.lua:1162
IsGathering = defined @interface\AddOns\Carbonite\Carbonite.lua:3065
prt = defined @interface\AddOns\Carbonite\NxUI.lua:133
BarData =
}
prtVar = defined @interface\AddOns\Carbonite\NxUI.lua:204
ScheduleTimer = defined @interface\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:94
GroupMembers =
}
ADDON_LOADED = defined @interface\AddOns\Carbonite\Carbonite.lua:901
prtFrame = defined @Inter"
If I try to close the error window, it keeps opening up again. If I reload UI, it stops the error from popping up again and also my changes are saved.
Sorry cant reproduce :( Works fine on my side. Disable all addons just leave Carbonite + Modules enabled, then check if this still persists.
It might be "DataStore" addon which might have old Ace3 libraries:
[string "@interface\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua"]:57: in function <...\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:50>
Ok. Give me some time, maybe i can do something about it... U have all modules or only Quest?
I have only the quest module. Thank you for your time and sorry to bother. Like I wrote in the original post, it still saves changes. I just have to reload UI to get the error to stop. I'm not sure why it's only happening to me even with all other addons disabled.
I figured you were probably right, but after disabling all my addins except for Carbonite main and quests, I still get an error.
<EDIT - after I posted this, I also deleted saved variables and the addon files and reinstalled them and I still get this error with all other addons disabled.>
Message: Interface\AddOns\Carbonite.Quests\NxQuest.lua:9837: attempt to compare nil with number
Time: Mon Nov 2 23:55:01 2020
Count: 21
Stack: Interface\AddOns\Carbonite.Quests\NxQuest.lua:9837: attempt to compare nil with number
[string "@interface\AddOns\Carbonite.Quests\NxQuest.lua"]:9837: in function UpdateList' [string "@Interface\AddOns\Carbonite.Quests\NxQuest.lua"]:9120: in function
func'
[string "@interface\AddOns\Carbonite\Libs\AceTimer-3.0\AceTimer-3.0.lua"]:57: in function <...\AddOns\Carbonite\Libs\AceTimer-3.0\AceTimer-3.0.lua:50>
Locals: self =
{UpdateList = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9129
Win =
}
Menu_OnRemoveWatch = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8910
WinUpdateFade = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9869
ClearAutoTarget = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9018
ShowUpdate = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9852
ClosestCur =
}
ClearCompleted = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:10105
OnUpdateTimer = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9038
Open = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8634
AddCustom = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9087
ButATarget =
}
ButSwap =
}
Menu =
}
Add = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:10084
Watched =
}
Menu_OnRemoveAllWatches = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8957
Menu_OnAbandon = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8952
Update = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9072
CalcDistCnt = 25
CalcDistI = 1
FlashColor = 0
Menu_OnShowMap = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8926
Opened = true
RemoveWatch = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8971
ClearCustom = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9083
RMenu =
}
WatchMenu =
}
Menu_OnShare = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8936
List =
}
MenuPri =
}
Set = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:10002
ButShowParty =
}
ButQGivers =
}
ButShowOnMap =
}
OnTimer = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9100
OnListEvent = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9887
Menu_OnShowQuest = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8917
SetSortMode = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:9034
ButMenu =
}
Menu_OnLinkQuest = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8931
OnWin = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8904
FixedChange = defined @interface\AddOns\Carbonite.Quests\NxQuest.lua:8897
ButPri =
}
}
Nx =
GetDataToolBar = defined @interface\AddOns\Carbonite\Carbonite.lua:1932
modules =
}
CancelTimer = defined @interface\AddOns\Carbonite\Libs\AceTimer-3.0\AceTimer-3.0.lua:147
Quest =
}
OnUnit_spellcast_sent = defined @interface\AddOns\Carbonite\Carbonite.lua:1162
IsGathering = defined @interface\AddOns\Carbonite\Carbonite.lua:3065
prt = defined @interface\AddOns\Carbonite\NxUI.lua:133
BarData =
}
prtVar = defined @interface\AddOns\Carbonite\NxUI.lua:204
ScheduleTimer = defined @interface\AddOns\Carbonite\Libs\AceTimer-3.0\AceTimer-3.0.lua:94
GroupMembers =
}
ADDON_LOADED = defined @interface\AddOns\Carbonite\Carbonite.lua:901
prtFrame = defined @Inter