Opened 8 years ago
Closed 8 years ago
#740 closed defect (fixed)
chili error when trying to enable a widget that unloads itself inside its own Initialize call
Reported by: | Bluestone | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | BAR | Version: | |
Keywords: | Cc: |
Description
[f=0000000] WAAA, stack traceback:
[string "LuaUI/Widgets/chili/handlers/debughandler.l..."]:30: in function <[string "LuaUI/Widgets/chili/handlers/debughandler.l..."]:26> [string "LuaUI/Widgets/chili/handlers/debughandler.l..."]:368: in function 'RemoveWidget' [string "LuaUI/Widgets/api_missions.lua"]:56: in function <[string "LuaUI/Widgets/api_missions.lua"]:47> [C]: in function 'pcall' [string "LuaUI/bawidgets.lua"]:713: in function <[string "LuaUI/bawidgets.lua"]:712> [C]: in function 'pcall' [string "LuaUI/bawidgets.lua"]:713: in function <[string "LuaUI/bawidgets.lua"]:712> [C]: in function 'pcall' [string "LuaUI/bawidgets.lua"]:713: in function <[string "LuaUI/bawidgets.lua"]:712> [C]: in function 'pcall' [string "LuaUI/bawidgets.lua"]:713: in function <[string "LuaUI/bawidgets.lua"]:712> ... [string "LuaUI/bawidgets.lua"]:713: in function <[string "LuaUI/bawidgets.lua"]:712> [C]: in function 'pcall' [string "LuaUI/bawidgets.lua"]:713: in function 'Initialize' [string "LuaUI/bawidgets.lua"]:824: in function 'InsertWidget' [string "LuaUI/bawidgets.lua"]:420: in function 'Initialize' [string "LuaUI/bawidgets.lua"]:1984: in main chunk [C]: in function 'Include' [string "LuaUI/utils.lua"]:53: in function 'include' [string "-- $Id: camain.lua 3171 2008-11-06 09:06:29..."]:44: in function 'chunk' [string "luaui.lua"]:50: in main chunk
[f=0000000] [bawidgets.lua] Error: Error in Initialize(): [string "LuaUI/Widgets/chili/handlers/debughandler.l..."]:32: table index is nil [f=0000000] [bawidgets.lua] Error: Removed widget: Mission Framework [f=0000000] Loaded widget: Mission Framework <api_missions.lua>
Change History (4)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
I think the chili error is only a symptom of a bug in the widget handler. Does this happen with non chili widget selector?
comment:3 by , 8 years ago
Haven't tested but I am pretty sure the default widget selector has no problem with this - its quite a normal thing for e.g. a widget that is needed by players but not specs
comment:4 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
n2s: missions_api now uses GamePreload