`Ara_Broker_Reputations.lua:179: attempt to index field 'rep' (a nil value)`
tflo opened this issue ยท 2 comments
Just got this, with r62:
Ara_Broker_Reputations.lua:179: attempt to index field 'rep' (a nil value)
1x ...ns/Ara_Broker_Reputations/Ara_Broker_Reputations.lua:179: attempt to index field 'rep' (a nil value)
[string "@Ara_Broker_Reputations/Ara_Broker_Reputations.lua"]:179: in function <...ns/Ara_Broker_Reputations/Ara_Broker_Reputations.lua:160>
Locals:
self = Button {
0 = <userdata>
values = FontString {
}
fs = FontString {
}
OnBackdropLoaded = <function> defined @SharedXML/Backdrop.lua:152
GetBackdropColor = <function> defined @SharedXML/Backdrop.lua:390
SetupTextureCoordinates = <function> defined @SharedXML/Backdrop.lua:214
OnBackdropSizeChanged = <function> defined @SharedXML/Backdrop.lua:182
HasBackdropInfo = <function> defined @SharedXML/Backdrop.lua:278
SetBackdropBorderColor = <function> defined @SharedXML/Backdrop.lua:422
icon = Texture {
}
hovered = true
GetEdgeSize = <function> defined @SharedXML/Backdrop.lua:188
rep = <table> {
}
togo = FontString {
}
SetBorderBlendMode = <function> defined @SharedXML/Backdrop.lua:266
ApplyBackdrop = <function> defined @SharedXML/Backdrop.lua:294
SetBackdrop = <function> defined @SharedXML/Backdrop.lua:329
ClearBackdrop = <function> defined @SharedXML/Backdrop.lua:282
bg = Texture {
}
GetBackdropBorderColor = <function> defined @SharedXML/Backdrop.lua:409
GetBackdrop = <function> defined @SharedXML/Backdrop.lua:347
faction = FontString {
}
SetupPieceVisuals = <function> defined @SharedXML/Backdrop.lua:246
SetBackdropColor = <function> defined @SharedXML/Backdrop.lua:399
session = FontString {
}
bar = Texture {
}
}
button = "LeftButton"
rep = <table> {
textValue = "1315 / 2500"
index = 5
isCapped = false
standingText = "Renown 2"
showValue = true
header = false
level = 5
collapsed = false
name = "Iskaara Tuskarr"
}
(*temporary) = nil
(*temporary) = 5
(*temporary) = <function> defined @Ara_Broker_Reputations/Ara_Broker_Reputations.lua:754
(*temporary) = <table> {
standingId = 5
barValue = 3000
name = "Iskaara Tuskarr"
atWarWith = false
bottomValue = 3000
topValue = 9000
factionId = 2511
}
(*temporary) = <table> {
1 = <table> {
}
2 = <table> {
}
3 = <table> {
}
4 = <table> {
}
5 = <table> {
}
6 = <table> {
}
7 = <table> {
}
8 = <table> {
}
9 = <table> {
}
10 = <table> {
}
paragon = <table> {
}
renown = <table> {
}
}
(*temporary) = 1315
(*temporary) = "attempt to index field 'rep' (a nil value)"
char = <table> {
collapsedHeaders = <table> {
}
}
UpdateTablet = <function> defined @Ara_Broker_Reputations/Ara_Broker_Reputations.lua:412
levels = <table> {
1 = "Hated"
2 = "Hostile"
3 = "Unfriendly"
4 = "Neutral"
5 = "Friendly"
6 = "Honored"
7 = "Revered"
8 = "Exalted"
9 = "Paragon"
10 = "Renown"
}
focusedButton = Button {
0 = <userdata>
values = FontString {
}
fs = FontString {
}
OnBackdropLoaded = <function> defined @SharedXML/Backdrop.lua:152
GetBackdropColor = <function> defined @SharedXML/Backdrop.lua:390
SetupTextureCoordinates = <function> defined @SharedXML/Backdrop.lua:214
OnBackdropSizeChanged = <function> defined @SharedXML/Backdrop.lua:182
HasBackdropInfo = <function> defined @SharedXML/Backdrop.lua:278
SetBackdropBorderColor = <function> defined @SharedXML/Backdrop.lua:422
icon = Texture {
}
GetEdgeSize = <function> defined @SharedXML/Backdrop.lua:188
togo = FontString {
}
SetBorderBlendMode = <function> defined @SharedXML/Backdrop.lua:266
ApplyBackdrop = <function> defined @SharedXML/Backdrop.lua:294
SetBackdrop = <function> defined @SharedXML/Backdrop.lua:329
ClearBackdrop = <function> defined @SharedXML/Backdrop.lua:282
bg = Texture {
}
GetBackdropBorderColor = <function> defined @SharedXML/Backdrop.lua:409
GetBackdrop = <function> defined @SharedXML/Backdrop.lua:347
faction = FontString {
}
SetupPieceVisuals = <function> defined @SharedXML/Backdrop.lua:246
SetBackdropColor = <function> defined @SharedXML/Backdrop.lua:399
session = FontString {
}
bar = Texture {
}
}
watchedIndex = 5
Save out your Ara settings file, delete it and try reloading. One of the tables you have in the data is using code I removed in r60.
Make sure you get the lua.bak file too
Please also report back what triggered this. Clicking the bar? Opening the broker? Collapsed headers? Inactive rep?