Torhal / Broker_Currency

A LibDataBroker display of currencies and gold totals for session / today / yesterday / this week / last week.
https://www.curseforge.com/wow/addons/broker-currency
5 stars 6 forks source link

errors with latest version #7

Closed Addonman closed 1 year ago

Addonman commented 3 years ago

Error occured in: Global Count: 1 Message: ..\AddOns\Broker_Currency\Tooltip.lua line 180: attempt to index local 'gainedReference' (a nil value) Debug:

  ...dOns\RCLootCouncil\Classes\Services\ErrorHandler.lua:147
  Broker_Currency\Tooltip.lua:177
  Broker_Currency\Tooltip.lua:184

string "@Broker_Currency\Tooltip.lua":274: OnEnter() string "@Bazooka\Bazooka.lua":1583: showTip()

  Bazooka\Bazooka.lua:1379

Locals: private =

{ ThrowError = defined @Interface\AddOns\RCLootCouncil\Classes\Services\ErrorHandler.lua:48 DoesErrorExist = defined @Interface\AddOns\RCLootCouncil\Classes\Services\ErrorHandler.lua:90 ClearOldErrors = defined @Interface\AddOns\RCLootCouncil\Classes\Services\ErrorHandler.lua:110 SanitizeLine = defined @Interface\AddOns\RCLootCouncil\Classes\Services\ErrorHandler.lua:86 MAX_STACK_DEPTH = 10 log =
{ } ErrorHandler = defined @Interface\AddOns\RCLootCouncil\Classes\Services\ErrorHandler.lua:119 IncrementErrorCount = defined @Interface\AddOns\RCLootCouncil\Classes\Services\ErrorHandler.lua:80 NewError = defined @Interface\AddOns\RCLootCouncil\Classes\Services\ErrorHandler.lua:52 IsRCLootCouncilError = defined @Interface\AddOns\RCLootCouncil\Classes\Services\ErrorHandler.lua:97 } orig_errorhandler = defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:717

Count: 11 Message: ..\AddOns\Broker_Currency\Broker_Currency.lua line 376: attempt to compare nil with number Debug:

  ...dOns\RCLootCouncil\Classes\Services\ErrorHandler.lua:147

string "@Broker_Currency\Broker_Currency.lua":376: ?()

  ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:119
  ...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:25

string "@Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua":64: Fire()

  Ace3\AceEvent-3.0\AceEvent-3.0.lua:119

Locals: None

Count: 1 Message: ..\AddOns\Broker_Currency\Broker_Currency.lua line 265: attempt to index local 'left4' (a nil value) Debug:

  Broker_Currency\Broker_Currency.lua:245
  Broker_Currency\Broker_Currency.lua:627
  Ace3\AceAddon-3.0\AceAddon-3.0.lua:65

string "@Ace3\AceAddon-3.0\AceAddon-3.0.lua":498: InitializeAddon()

  Ace3\AceAddon-3.0\AceAddon-3.0.lua:615

Locals: None

KyrosKrane commented 3 years ago

I can confirm these are still happening on 9.0.5.7. I've had to roll back to 9.0.2.1.

Wraithlord2015 commented 3 years ago

Having the same issues that have been reported by many others. Having backed up my files, tried deleting & installing fresh copies of each version. Seems like 9.0.2.1 is the most recent version that doesn't blow up and start throwing tons of errors.

Wraithlord2015 commented 3 years ago

Just wanted to post an update. Under the pull requests - christophknuth posted a fix that allows the latest version of the addon to be used. I'm currently using it and haven't had any errors thus far.

KyrosKrane commented 3 years ago

The lua error is fixed in pull #13 as Wraithlord noted. But it doesn't fix the underlying problem of no currencies in the mouseover summary list.

Wraithlord2015 commented 3 years ago

Initially when I posted - it wasn't exhibiting that behavior. When I logged back in just a few minutes ago - no currencies are showing in the mouseover summary list (as stated above). Label me annoyed - I thought it was finally fixed. Reverted back.