Advertisement
Guest User

Untitled

a guest
Apr 1st, 2020
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. Message: [string "--[==[ Error in 'PhoGuild - Raid Ability Ti..."]:4: bad argument #1 to 'strtrim' (string expected, got nil)
  2. Time: Wed Apr 1 17:09:55 2020
  3. Count: 1
  4. Stack: [string "--[==[ Error in 'PhoGuild - Raid Ability Ti..."]:4: bad argument #1 to 'strtrim' (string expected, got nil)
  5. [string "@Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua"]:733: in function <...Ons\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:693>
  6. [string "=[C]"]: in function `strtrim'
  7. [string "--[==[ Error in 'PhoGuild - Raid Ability Timeline Icon':'custom text' ]==] return function()
  8. if not aura_env.state then return end
  9. local text = aura_env.state.name
  10. text = strtrim(text) -- Trim
  11. local inlineIconAdjust = string.len(string.match(text,"") or "")
  12. if inlineIconAdjust > 0 then inlineIconAdjust = inlineIconAdjust - 2 end -- Make icons take 2 characters.
  13. if (aura_env.config.textMaxLength or 0)>=5 and text:len()-inlineIconAdjust>aura_env.config.textMaxLength then
  14. text = string.sub(text,1,aura_env.config.textMaxLength+inlineIconAdjust-2)..".." -- Truncate
  15. end
  16. if aura_env.state.colorTable then
  17. local t=aura_env.state.colorTable
  18. text = string.format("\124c%02x%02x%02x%02x%s\124r",255*(t[4] or 1),255*(t[1] or 0),255*(t[2] or 0),255*(t[3] or 0),text)
  19. end
  20. return text
  21. end"]:4: in function <[string "--[==[ Error in 'PhoGuild - Raid Ability Ti..."]:1>
  22. [string "=[C]"]: in function `xpcall'
  23. [string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:6050: in function `RunCustomTextFunc'
  24. [string "@Interface\AddOns\WeakAuras\SubRegionTypes\SubText.lua"]:234: in function `?'
  25. [string "@Interface\AddOns\WeakAuras\RegionTypes\RegionPrototype.lua"]:33: in function `Notify'
  26. [string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:5828: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:5825>
  27. [string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:5911: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:5878>
  28. [string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:5995: in function `UpdatedTriggerState'
  29. [string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:5761: in function `UpdateFakeStatesFor'
  30. [string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:5731: in function `FakeStatesFor'
  31. [string "@Interface\AddOns\WeakAurasOptions\AceGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua"]:1844: in function `PriorityShow'
  32. [string "@Interface\AddOns\WeakAurasOptions\AceGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua"]:1637: in function `PriorityShow'
  33. [string "@Interface\AddOns\WeakAurasOptions\WeakAurasOptions.lua"]:1616: in function <...terface\AddOns\WeakAurasOptions\WeakAurasOptions.lua:1581>
  34.  
  35. Locals: <none>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement