OnUpdate_frame error on click or mouseover #51


  • Defect
Closed
  • serious2 created this issue Aug 11, 2018

    I've tried to isolate the error so I've loaded only Chocolate Bar, Allplayed, and Swatter for error reporting. This is what I get:

     

     

    Date: 2018-08-11 17:25:09
    ID: 3
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\AllPlayed\AllPlayed.lua line 1240:
       attempt to index field 'OnUpdate_frame' (a nil value)
    Debug:
       AllPlayed\AllPlayed.lua:1240: DrawTooltip()
       AllPlayed\AllPlayed.lua:2622: OnEnter()
       ChocolateBar\Chocolate.lua:216:
          ChocolateBar\Chocolate.lua:186
    Locals:
    self = <table> {
     SetDefaultModuleLibraries = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:398
     SetDebugging = <function> defined @Interface\AddOns\AllPlayed\AllPlayed.lua:492
     EnableModule = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:363
     modules = <table> {
     }
     CancelTimer = <function> defined @Interface\AddOns\AllPlayed\libs\AceTimer-3.0\AceTimer-3.0.lua:145
     IterateEmbeds = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:473
     SecureHookScript = <function> defined @Interface\AddOns\AllPlayed\libs\AceHook-3.0\AceHook-3.0.lua:410
     RawHookScript = <function> defined @Interface\AddOns\AllPlayed\libs\AceHook-3.0\AceHook-3.0.lua:395
     DetectFactionChange = <function> defined @Interface\AddOns\AllPlayed\AllPlayed.lua:1295
     tooltip = <unnamed> {
     }
     SetDefaultModulePrototype = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:440
     debugging = false
     OnTimePlayedMsg = <function> defined @Interface\AddOns\AllPlayed\AllPlayed.lua:1244
     defaultModuleState = true
     IsEnabled = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:482
     ScheduleTimer = <function> defined @Interface\AddOns\AllPlayed\libs\AceTimer-3.0\AceTimer-3.0.lua:92
     DisableModule = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:381
     OnDataUpdate = <function> defined @Interface\AddOns\AllPlayed\AllPlayed.lua:511
     RegisterMessage = <function> defined @Interface\AddOns\AllPlayed\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:117
     UnregisterMessage = <function> defined @Interface\AddOns\AllPlayed\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:180
     total_realm = <table> {
     }
     hooks = <table> {
     }
     total_faction = <table> {
     }
     max_pc_level = 110
     MyUpdate = <function> defined @Interface\AddOns\AllPlayed\AllPlayed.lua:499
     Trace = <function> defined @Interface\AddOns\AllPlayed\AllPlayed.lua:119
     SetEnabledState = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:455
     Hook = <function> defined @Interface\AddOns\AllPlayed\libs\AceHook-3.0\AceHook-3.0.lua:274
     enabledState = true
     EventHandlerHonorGain = <function> defined @Interface\AddOns\AllPlayed\AllPlayed.lua:1284
     RegisterEvent = <function> defined @Interface\AddOns\AllPlayed\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:117
     Logout = <function> defined @Interface\AddOns\AllPlayed\AllPlayed.lua:1581
     IterateModules = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:468
     RawHook = <function> defined @Interface\AddOns\AllPlayed\libs\AceHook-3.0\AceHook-3.0.lua:313
     sort_faction = <table> {
     }
     SaveVarHonor = <function> defined @Interface\AddOns\AllPlayed\AllPlayed.lua:1376
     OnInitialize = <function> defined @Interface\AddOns\AllPlayed\AllPlayed.lua:302
     NewModule = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:266
     sort_tables_done = true
     GetModule = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:241
     defaultModuleLibraries = <table> {
     }
     TimeLeft = <function> defined @Interface\AddOns\AllPlayed\libs\AceTimer-3.0\AceTimer-3.0.lua:170
     sort_realm_pc = <table> {
     }
     total = <table> {
     }
     ScheduleRepeatingTimer = <function> defined @Interface\AddOns\AllPlayed\libs\AceTimer-3.0\AceTimer-3.0.lua:127
     CancelAllTimers = <function> defined @Interface\AddOns\AllPlayed\libs\AceTimer-3.0\AceTimer-3.0.lua:158
     EventHandlerOnlySort = <function> defined @Interface\AddOns\AllPlayed\AllPlayed.lua:1256
     sort_faction_realm = <table> {
     }
     GetName = <function> defined @Interface\AddOns\AllPlayed\libs\AceAddon-3.0\AceAddon-3.0.lua:310
     tooltip_anchor = ChocolateAllPlayed {
     }
     db = <table> {
     }
     baseName = "AllPlayed"
     name = "AllPlayed"
     SetSecondsPlayed = <function> defined @Interface\AddOns\AllPlayed\AllPlayed.lua:1386
     EventHandler = <function> defined @Interface\AddOns\AllPlayed\AllPlayed.lua:1275
     orderedModules = <table> {
     }
     SetTTOpacity = <function> defined @Interface\AddOns\AllPlayed
    AddOns:
      Swatter, v7.5.5724 (TasmanianThylacine)
      AllPlayed, vv70100-1
      ChocolateBar, vv3.2.1
      DebugLib, v5.1.DEV.130(/embedded)
      Stubby, v5.8.4717 (CreepyKangaroo)
      BlizRuntimeLib_enUS v8.0.1.80000 <none>
      (ck=cc)

     

  • serious2 added a tag Defect Aug 11, 2018
  • serious2 posted a comment Aug 11, 2018

    The code includes the fix to the logout issue from https://www.wowace.com/projects/all-played-laotseu/issues/48

  • roweboy1974 posted a comment Aug 11, 2018

    I'm getting this same error. I have no problems logging out but the addon is unusable and only says ***AllPlayed*** instead of the usual number of days played on my TitanPanel.

  • RealGrizzlyUK posted a comment Aug 14, 2018

    AllPlayed is completely broken currently. It's had a few issues for a while now but sadly the author has been absent so this one may just be dead and done now! :(

  • serious2 posted a comment Sep 13, 2018
  • serious2 closed issue Sep 15, 2018

To post a comment, please login or register a new account.