留言

bradchen · 2022-04-19 12:05:41

2x MailLogger\Events.lua:738: attempt to index upvalue 'Current' (a nil value)
[string "@MailLogger\Events.lua"]:738: in function <MailLogger\Events.lua:735>
[string "=(tail call)"]: ?

Locals:
self = MailLoggerFrame {
 0 = <userdata>
 ADDON_LOADED = <function> defined @MailLogger\Events.lua:411
 TRADE_ACCEPT_UPDATE = <function> defined @MailLogger\Events.lua:576
 PLAYER_ENTERING_WORLD = <function> defined @MailLogger\Events.lua:470
 MAIL_CLOSED = <function> defined @MailLogger\Events.lua:702
 MAIL_SHOW = <function> defined @MailLogger\Events.lua:665
 UI_INFO_MESSAGE = <function> defined @MailLogger\Events.lua:735
 TRADE_MONEY_CHANGED = <function> defined @MailLogger\Events.lua:570
 MAIL_SEND_INFO_UPDATE = <function> defined @MailLogger\Events.lua:670
 TRADE_SHOW = <function> defined @MailLogger\Events.lua:503
 UI_ERROR_MESSAGE = <function> defined @MailLogger\Events.lua:718
 TRADE_PLAYER_ITEM_CHANGED = <function> defined @MailLogger\Events.lua:559
 TRADE_TARGET_ITEM_CHANGED = <function> defined @MailLogger\Events.lua:564
 PLAYER_LOGOUT = <function> defined @MailLogger\Events.lua:486
}
arg = <table> {
 1 = 229
 2 = "交易已取消。"
}
(*temporary) = nil
(*temporary) = "交易已取消。"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index upvalue 'Current' (a nil value)"
Current = nil
Config = <table> {
 ShowMinimapIcon = true
 MinimapIconAngle = 345
 SendToGroup = false
 LogTrades = true
 SelectName = "依娜怡"
 PreventTrade = false
 EnableCalendar = true
 OutputFramePos = <table> {
 }
 LogDays = 90
 LogEverything = false
 AltList = <table> {
 }
}
Addon = <table> {
 Calendar = <table> {
 }
 SetDay = "15"
 GetMoneyString = <function> defined @MailLogger\Events.lua:142
 ScrollFrame = <unnamed> {
 }
 CompareTime = <function> defined @MailLogger\Events.lua:87
 TradeLog = <table> {
 }
 Output = <table> {
 }
 NewTrade = <function> defined @MailLogger\Events.lua:106
 Config = <table> {
 }
 LDB = <table> {
 }
 Frame = MailLoggerFrame {
 }
 DefaultIgnoreItems = <table> {
 }
 FormatMessage = <function> defined @MailLogger\Events.lua:70
 UpdateTradeMoney = <function> defined @MailLogger\Events.lua:204
 NewMail = <function> defined @MailLogger\Events.lua:124
 IgnoreItems = <table> {
 }
 SetMonth = "01"
 L = <table> {
 }
 AvailableDate = <table> {
 }
 MinimapIcon = <table> {
 }
 SetYear = "2022"
 GetAvailableDate = <function> defined @MailLogger\Calendar.lua:11
 LDBIcon = <table> {
 }
 VerNum = 145
 RefreshCalendar = <function> defined @MailLogger\Calendar.lua:33
 UpdatePosition = <function> defined @MailLogger\MinimapIcon.lua:85
 PrintTradeLog = <function> defined @MailLogger\Events.lua:277
 AnnounceTrade = <function> defined @MailLogger\Events.lua:209
 Version = "1.4.5"
 UpdateTradeItemInfo = <function> defined @MailLogger\Events.lua:180
 Panel = MailLoggerPanel {
 }
 GetTableSize = <function> defined @MailLogger\Events.lua:79
 UpdateTable = <function> defined @MailLogger\Events.lua:55
 GetColorMoneyString = <function> defined @MailLogger\Events.lua:159
}
t_insert = <function> defined =[C]:-1
TradeLog = <table> {
 1 = <table> {
 }
 2 = <table> {
 }
 3 = <table> {
 }
 4 = <table> {
 }
 5 = <table> {
 }
 6 = <table> {
 }
 7 = <table> {
 }
 8 = <table> {
 }
 9 = <table> {
 }
 10 = <table> {
 }
 11 = <table> {
 }
 12 = <table> {
 }
 13 = <table> {
 }
 14 = <table> {
 }
 15 = <table> {
 }
 16 = <table> {
 }
 17 = <table> {
 }
 18 = <table> {
 }
 19 = <table> {
 }
 20 = <table> {
 }
 21 = <table> {
 }
 22 = <table> {
 }
 23 = <table> {
 }
 24 = <table> {
 }
 25 = <table> {
 }
 26 = <table> {
 }
 27 = <table> {
 }
 28 = <table> {
 }
 29 = <table> {
 }
 30 = <table> {
請問這個是什麼問題?

Dololo · 2022-04-19 13:21:27

請先試試看重新載入介面後是否正常,不行的話請依照這個方法將 MailLogger 的設定檔重置,不過所有的交易記錄都會清空。