tullamods / OmniCC

Cooldown count for everything
https://tullamods.com/omnicc
MIT License
99 stars 21 forks source link

Lua error when using ability after login #348

Closed Neran28 closed 3 years ago

Neran28 commented 3 years ago

Give us a clear and concise description of the problem, and what you expect to happen After logging in when using a button on my actionbar i get the following error.

Error occured in: Global Count: 26 Message: ..\AddOns\OmniCC\main\settings\rules.lua line 120: bad argument #1 to 'match' (string expected, got nil) Debug:

[string "@OmniCC\main\settings\rules.lua"]:120: GetMatchingRule() string "@OmniCC\main\core\cooldown.lua":417: GetTheme() string "@OmniCC\main\core\cooldown.lua":179: Initialize()

  OmniCC\main\core\cooldown.lua:341

[string "@..\FrameXML\Cooldown.lua"]:5: CooldownFrame_Set() string "@..\FrameXML\ActionButton.lua":584: ActionButton_UpdateCooldown() string "@..\FrameXML\ActionButton.lua":793: OnEvent()

  ..\FrameXML\ActionButton.lua:214

Locals: (temporary) = "MultiBarBottomLeftButton2Cooldown" (temporary) = nil (*temporary) = "string expected, got nil"

Do you have any steps to reproduce this issue? After login / UI reload use an ability that triggers CD / GCD

What version of OmniCC are you running? 9.0.4

What version of World of Warcraft are you on? Retail current release build

What other addons are you running? Swatter, v<%version%> (<%codename%>) Auctioneer, v8.3.BETA-4-1 (NzothsFolly) AuctioneerStatsOverTime, v8.3.BETA-4-1 (NzothsFolly) AuctioneerUtilDealFinder, v8.3.BETA-4-1 (NzothsFolly) AuctioneerUtilValuer, v8.3.BETA-4-1 (NzothsFolly) BagBrother, v Bagnon, v9.0.4 Bartender4, v4.10.6 Clique, vv90002-1.0.0 DBMCore, v9.0.6 DBMDefaultSkin, v DBMStatusBarTimers, v Details, v DetailsEncounterDetails, v DetailsVanguard, v Enchantrix, v5.1.DEV.4632 EnchantrixBarker, v8.3.BETA-4-1 (NzothsFolly) ExRT, v4390 GatherMate2, v1.46.5 GatherMateSharing, vv1.13 HandyNotes, vv1.6.1 Informant, v1.13.6650 (SwimmingSeadragon) KuiMedia, v KuiNameplates, v2.27.1a KuiNameplatesCore, v LeatrixPlus, v9.0.10 MikScrollingBattleText, v5.7.152 MoveAnything, v18.0.4 OmniCC, v9.0.4 Pawn, v2.4.7 PitBull4, vv4.2.2 Prat30, v3.9.1 Prat30Libraries, v Quartz, v3.6.2 SharedMediaAdditionalFonts, v9.0.2 Simulationcraft, v9.0.2-10 SlideBar, v8.3.BETA-4-1 (NzothsFolly) Stubby, v8.3.BETA-4-1 (NzothsFolly) Titan, v5.20.1.90002 TitanBag, v5.20.1.90002 TitanGold, v5.20.1.90002 TitanPerformance, v5.20.1.90002 TitanRepair, v5.20.1.90002 TitanXP, v5.20.1.90002 TomTom, vv90002-1.1.9 WeakAuras, v3.1.2 WorldQuestTracker, v BlizRuntimeLib_deDE v9.0.2.90002 (ck=52c)

Neran28 commented 3 years ago

Looks like my profile was somehow bugged. After resetting it the error has vanished.