Lua error
BlueNightSky opened this issue ยท 0 comments
Before Start!
Make sure the bug also happen when Details! is the only addon enabled.
Game and Details! version
Details.DF.Wrath.10.0.5.10662.148-12-gcc0d5e6
Describe the bug
There is an error when logging in, and the window cannot be displayed
Error message appears in the center of the screen: Failed to load a design! Window....etc
- Additional information:
zhTW Client
Lua Error
4x Details/frames/window_main.lua:4837: attempt to perform arithmetic on field 'textL_offset' (a nil value)
[string "@Details/frames/window_main.lua"]:4837: in function InstanceRefreshRows' [string "@Details/frames/window_main.lua"]:4162: in function
CreateNewLine'
[string "@Details/core/windows.lua"]:708: in function ReajustaGump' [string "@Details/frames/window_main.lua"]:1073: in function <Details/frames/window_main.lua:1071> [string "=[C]"]: in function
GetHeight'
[string "@Details/core/windows.lua"]:507: in function RestoreMainWindowPosition' [string "@Details/classes/class_instance.lua"]:1616: in function
RestauraJanela'
[string "@Details/classes/class_instance.lua"]:660: in function <Details/classes/class_instance.lua:646>
[string "=[C]"]: in function pcall' [string "@Details/functions/profiles.lua"]:187: in function <Details/functions/profiles.lua:186> [string "@Details/functions/profiles.lua"]:342: in function
ApplyProfile'
[string "@Details/functions/loaddata.lua"]:429: in function `LoadConfig'
[string "@Details/core/parser.lua"]:5692: in function <Details/core/parser.lua:5656>
[string "@Details/core/parser.lua"]:5709: in function <Details/core/parser.lua:5706>
[string "=(tail call)"]: ?
Locals:
self =
h_baixo = DetailsBottomSideBarHighlight1 {
}
menu_icons_size = 0.995795
h_esquerda = DetailsLeftSideBarHighlight1 {
}
bg_r = 0.094118
fullborder_size = 0.500000
color_buttons =
}
rows_showing = 0
modo = 2
LastModo = 2
icons =
}
ponto3 =
}
ponto1 =
}
rolagem = false
attribute_text =
}
titlebar_texture = "Details Serenity"
windowBackgroundDisplay = Details_GumpFrame1 {
}
fontstrings_text_limit_offset = -10
menu_icons =
}
show_sidebars = false
hide_icon = true
consolidate = false
toolbar_side = 1
sub_atributo = 1
atributo = 1
menu_icons_alpha = 0.920000
bg_b = 0.094118
largura_scroll = 26
backdrop_texture = "Details Ground"
color =
}
hide_on_context =
}
barraS =
}
h_cima = DetailsTopSideBarHighlight1 {
}
switch_healer = false
showing =
}
ponto4 =
}
__locked = true
menu_alpha =
}
snap =
}
rowareaborder_size = 0.500000
clickthrough_incombatonly = true
hide_in_combat_alpha = 0
bar_mod = 0
grab_on_top = false
StatusBar =
}
verticalSnap = false
hide_in_combat = false
posicao =
}
row_height = 20
titlebar_texture_color =
}
__pos =
}
hide_in_combat_type = 1
fontstrings_text3_anchor = 38
titlebar_shown = false
segmento = 0
hide_out_of_combat = false
rows_created = 0
bars_sort_direction = 1
use_auto_align_multi_fontstrings = true
rowareaborder_shown = false
switch_all_roles_in_combat = false
clickthrough_toolbaricons = false
row_info =
}
barras =
}
horizontalSnap = false
switch_tank = false
windowSwitchButton = Details_SwitchButtonFrame1 {
}
switch_all_roles_after_wipe = false
icon_desaturated = false
switch_damager = false
auto_hide_menu =
}
window_scale = 1
h_direita = DetailsRightSideBarHighlight1 {
}
meu_id = 1
fullborder_color =
}
ponto2 =
}
oldwith = 310.000031
fullborder_shown = false
show_statusbar = false
scroll = Details_ScrollBar1 {
}
bgdisplay = Details_GumpFrame1 {
}
bgframe = Details_WindowFrame1 {
}
bars_inverted = false
baseframe = DetailsBaseFrame1 {
}
menu_points =
}
menu2_points =
}
switch_healer_in_combat = false
ativa = true
break_snap_button = DetailsBreakSnapButton1 {
}
alturaAntiga = 158
clickthrough_window = false
menu_anchor =
}
last_modo = 2
alert = DetailsAlertFrame1 {
}
skin = "Minimalistic"
need_rolagem = false
following =
}
freeze_texto = FontString {
}
freeze_icon = Texture {
}
fontstrings_text2_anchor = 73
stretch_button_side = 1
toolbar_icon_file = "Interface\AddOns\Details\images\toolbar_icons_2"
skin_custom = ""
floatingframe = DetailsInstance1BorderHolder {
}
__was_opened = true
StatusBarSaved =
}
rowframe = DetailsRowFrame1 {
}
v_barras = true
instance_button_anchor =
}
bg_alpha = 0.183961
fontstrings_text4_anchor = 0
clickthrough_rows = false
rows_fit_in_window = 8
_version = FontString {
}
cached_bar_width = 0
ignore_mass_showhide = false
strata = "LOW"
plugins_grow_direction = 1
__snap =
}
desaturated_menu = false
__snapV = false
__snapH = false
rowareaborder_color =
}
libwindow =
}
statusbar_info =
}
version = 3
menu_anchor_down =
}
micro_displays_side = 2
menu_icons_color =
}
bgdisplay_loc = 0
rows_max = 50
overall_data_warning = FontString {
}
tooltip =
}
auto_current = true
micro_displays_locked = true
mostrando = "normal"
sub_atributo_last =
}
row_show_animation =
}
bg_g = 0.094118
switch_damager_in_combat = false
isLocked = true
wallpaper =
}
total_bar =
}
titlebar_height = 16
bars_grow_direction = 1
use_multi_fontstrings = false
switch_tank_in_combat = false
}
instance = nil
isInvertedBars = false
textureFile = "Interface\TargetingFrame\UI-StatusBar"
textureFile2 = "Interface\AddOns\Deta