Carbonite Quests

Carbonite Quests

612k Downloads

Changing font size error

Commenterry opened this issue ยท 11 comments

commented

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.

commented

Sorry cant reproduce :( Works fine on my side. Disable all addons just leave Carbonite + Modules enabled, then check if this still persists.

commented

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>

commented

World Of Warcraft - Retail Screenshot 2020 11 03 - 03 01 32 50

There where it says "Watch Font Size".

commented

Please try latest Alpha release. Working fine on Alpha, no errors.

commented

Getting what looks like the same error with 9.0.1.1-5-g31fbbdb-alpha.

commented

Ok. Give me some time, maybe i can do something about it... U have all modules or only Quest?

commented

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.

commented

Yeah maybe its not making Carbonite unusable but still is a bug ;)

commented

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

commented

Still cant reproduce. Show the place where u are changing the font.

commented

For what it's worth, the error also happens if I change the quest watch font itself or the watch font spacing.