Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nil value in DragResizeColumn #9

Open
EmilyB-code opened this issue Jan 16, 2020 · 1 comment
Open

nil value in DragResizeColumn #9

EmilyB-code opened this issue Jan 16, 2020 · 1 comment

Comments

@EmilyB-code
Copy link

EmilyB-code commented Jan 16, 2020

When I tried to resize the columns in the main table I ended up with an unusable column width, a non-interactive width adjustment button, and about 10 of the same lua error every second any time the window is open.

5886x ViragDevTool\ViragDevTool-0.22.lua:530: attempt to perform arithmetic on a nil value
[string "@ViragDevTool\ViragDevTool-0.22.lua"]:530: in function `DragResizeColumn'
[string "*:OnUpdate"]:3: in function <[string "*:OnUpdate"]:1>

Locals:
self = <table> {
 LoadInterfaceOptions = <function> defined @ViragDevTool\ViragDevToolOptions.lua:8
 UIUpdateMainTableButton = <function> defined @ViragDevTool\ViragDevTool.lua:652
 CalculatePosition = <function> defined @ViragDevTool\ViragDevTool.lua:550
 tablelength = <function> defined @ViragDevTool\ViragDevTool.lua:1185
 ToggleFnLogger = <function> defined @ViragDevTool\Modules/ViragDevToolFunctionLogger.lua:97
 waitFrame = ViragDevToolWaitFrame {
 }
 list = <table> {
 }
 ProcessCallFunctionData = <function> defined @ViragDevTool\ViragDevTool.lua:971
 ToggleMonitorEvent = <function> defined @ViragDevTool\Modules/ViragDevToolEvents.lua:65
 UpdateUI = <function> defined @ViragDevTool\ViragDevTool.lua:472
 ToUIString = <function> defined @ViragDevTool\ViragDevTool.lua:673
 UpdateScrollFrameRowSize = <function> defined @ViragDevTool\ViragDevTool.lua:601
 StartMonitorEvent = <function> defined @ViragDevTool\Modules/ViragDevToolEvents.lua:13
 ForceUpdateMainTableUI = <function> defined @ViragDevTool\ViragDevTool.lua:559
 GetParentTable = <function> defined @ViragDevTool\ViragDevTool.lua:945
 ToggleSidebar = <function> defined @ViragDevTool\ViragDevTool.lua:770
 SubmitEditBoxSidebar = <function> defined @ViragDevTool\ViragDevTool.lua:776
 DeactivateLogFunctionCalls = <function> defined @ViragDevTool\Modules/ViragDevToolFunctionLogger.lua:82
 IsMetaTableNode = <function> defined @ViragDevTool\ViragDevTool.lua:427
 SetVisible = <function> defined @ViragDevTool\ViragDevTool.lua:489
 ScrollBar_AddChildren = <function> defined @ViragDevTool\ViragDevTool.lua:642
 TryCallFunction = <function> defined @ViragDevTool\ViragDevTool.lua:914
 Toggle = <function> defined @ViragDevTool\ViragDevTool.lua:485
 ColapseCell = <function> defined @ViragDevTool\ViragDevTool.lua:463
 CMD = <table> {
 }
 METATABLE_NAME = "$metatable"
 ExpandCell = <function> defined @ViragDevTool\ViragDevTool.lua:379
 OnLoad = <function> defined @ViragDevTool\ViragDevTool.lua:1052
 SetArgForFunctionCallFromString = <function> defined @ViragDevTool\ViragDevTool.lua:1024
 AddToHistory = <function> defined @ViragDevTool\Modules/ViragDevToolHistory.lua:7
 CreateColorPickerFrame = <function> defined @ViragDevTool\ViragDevToolOptions.lua:28
 ActivateLogFunctionCalls = <function> defined @ViragDevTool\Modules/ViragDevToolFunctionLogger.lua:36
 SetMainTableButtonScript = <function> defined @ViragDevTool\ViragDevTool.lua:883
 GetListenerFrame = <function> defined @ViragDevTool\Modules/ViragDevToolEvents.lua:6
 StartLogFunctionCalls = <function> defined @ViragDevTool\Modules/ViragDevToolFunctionLogger.lua:7
 round = <function> defined @ViragDevTool\ViragDevTool.lua:1208
 SaveOldFn = <function> defined @ViragDevTool\Modules/ViragDevToolFunctionLogger.lua:113
 ToggleUI = <function> defined @ViragDevTool\ViragDevTool.lua:477
 GetObjectInfoFromWoWAPI = <function> defined @ViragDevTool\ViragDevTool.lua:691
 ClearData = <function> defined @ViragDevTool\ViragDevTool.lua:374
 GetLogFunctionCalls = <function> defined @ViragDevTool\Modules/ViragDevToolFunctionLogger.lua:134
 default_settings = <table> {
 }
 tempOldFns = <table> {
 }
 initialized = true
 listenerFrame = ViragDevToolListenerFrame {
 }
 settings = <table> {
 }
 Add = <function> defined @ViragDevTool\ViragDevTool.lua:327
 TryCallAPIFn = <function> defined @ViragDevTool\ViragDevTool.lua:736
 ShowColorPicker = <function> defined @ViragDevTool\ViragDevToolOp

image

EDIT: Formatting

@brittyazel
Copy link

I fixed this in my forked version, fyi. Thanks for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants