Monolith DKP

Monolith DKP

687k Downloads

Errors when syncing and validating

Teng3n opened this issue ยท 12 comments

commented
Date: 2019-12-07 16:03:41
ID: 2
Error occured in: Global
Count: 1
Message: ..\AddOns\MonolithDKP\Modules\comm.lua line 1086:
   attempt to perform arithmetic on field 'dkp' (a string value)
Debug:
   (tail call): ?
   MonolithDKP\Modules\comm.lua:1086: ?()
   ...sic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119:
      ...sic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119
   [C]: ?
   ...sic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:29:
      ...sic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25
   ...sic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:64: Fire()
   ...Ons\ElvUI\Libraries\Ace3\AceComm-3.0\AceComm-3.0.lua:264:
      ...Ons\ElvUI\Libraries\Ace3\AceComm-3.0\AceComm-3.0.lua:246
Date: 2019-12-07 16:03:42
ID: 3
Error occured in: Global
Count: 4
Message: ..\AddOns\MonolithDKP\Modules\comm.lua line 1078:
   attempt to perform arithmetic on a nil value
Debug:
   (tail call): ?
   MonolithDKP\Modules\comm.lua:1078: ?()
   ...sic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119:
      ...sic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119
   [C]: ?
   ...sic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:29:
      ...sic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25
   ...sic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:64: Fire()
   ...Ons\ElvUI\Libraries\Ace3\AceComm-3.0\AceComm-3.0.lua:222: OnReceiveMultipartLast()
   ...Ons\ElvUI\Libraries\Ace3\AceComm-3.0\AceComm-3.0.lua:256:
      ...Ons\ElvUI\Libraries\Ace3\AceComm-3.0\AceComm-3.0.lua:246
Date: 2019-12-07 16:05:23
ID: 4
Error occured in: Global
Count: 1
Message: ..\AddOns\MonolithDKP\Modules\Validate.lua line 236:
   attempt to perform arithmetic on a nil value
Debug:
   [C]: ?
   MonolithDKP\Modules\Validate.lua:236:
      MonolithDKP\Modules\Validate.lua:228
commented

Are you the officer that conducted the migration? Is anyone else receiving these errors?

commented

Had one Officer perform the migration and everything went smoothly on his end. When we try to sync with him myself (officer) and any other non-officers get wrong values. Everyone, other than the person who did the migration has incorrect numbers.

commented

Have one person wipe their tables (button to do that in the options tab) and request a new sync. If that goes well, have everyone else wipe their tables and then one person request a sync when it's completed. Either that initial error shouldn't have happened or there is another error before it that caused it. The dkp value it's pointing at should never be a string.

commented

I wiped my tables and requested a sync. During that sync, I got the error

Message: ..\AddOns\MonolithDKP\Modules\comm.lua line 1086:
   attempt to perform arithmetic on field 'dkp' (a string value)

One other thing I noticed, is people we have removed from the DKP table before are now showing up in mine and not the person who performed the migration.

commented

Another note. When I am being synced the migrating officer says it lists my name twice when hovering over the DKP status button.

commented

That's because all entries are persistent. The delete command isn't issued until the end of the sync. You create player profiles as you receive entries that have them in it unless you have them marked as deleted. During the first sync you wouldn't have anyone marked as deleted yet. The duplicate names can be ignored. Have the officers that have correct data validate their tables. Then once it says it's completed for them, wipe your tables again and try to sync. There's something going on with their table if they have a string value for DKP.

commented

I'm the officer who did the migration, didn't get any errors the first time I migrated but noone else was able to sync the correct values. So I restored the lua files I backed up and tried to migrate again and this time it gave me an "Attempt to perform arithmetic on local 'dkp' (a string value)" error

Message: Interface\AddOns\MonolithDKP\Modules\Migration.lua:123: attempt to perform arithmetic on local 'dkp' (a string value)
Time: Sat Dec  7 20:19:22 2019
Count: 1
Stack: Interface\AddOns\MonolithDKP\Modules\Migration.lua:123: attempt to perform arithmetic on local 'dkp' (a string value)
Interface\AddOns\MonolithDKP\Modules\Migration.lua:123: in function `MigrateTables'
Interface\AddOns\MonolithDKP\Modules\Migration.lua:229: in function `OnAccept'
Interface\FrameXML\StaticPopup.lua:5003: in function `StaticPopup_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

Locals: self = <table> {
 CurrentIndex_Set = <function> defined @Interface\AddOns\MonolithDKP\Core.lua:804
 DKPHistory_Update = <function> defined @Interface\AddOns\MonolithDKP\Modules\DKPHistory.lua:262
 StartTimer = <function> defined @Interface\AddOns\MonolithDKP\Core.lua:467
 MigrationFrame = <function> defined @Interface\AddOns\MonolithDKP\Modules\Migration.lua:180
 StartBidTimer = <function> defined @Interface\AddOns\MonolithDKP\Modules\Bidding.lua:714
 ValidateDKPTable_DKP = <function> defined @Interface\AddOns\MonolithDKP\Modules\Validate.lua:198
 PurgeDKPHistory = <function> defined @Interface\AddOns\MonolithDKP\Core.lua:344
 RaidTimerPopout = MonDKP_RaidTimerPopout {
 }
 SortLootTable = <function> defined @Interface\AddOns\MonolithDKP\Modules\LootHistory.lua:11
 ConfigTab3 = <unnamed> {
 }
 UIConfig = MonDKPConfig {
 }
 GetGuildRankGroup = <function> defined @Interface\AddOns\MonolithDKP\Core.lua:208
 BroadcastTimer = <function> defined @Interface\AddOns\MonolithDKP\Core.lua:428
 ConfigTab6 = <unnamed> {
 }
 RequestSync = <function> defined @Interface\AddOns\MonolithDKP\Modules\comm.lua:399
 ClassGraph = <function> defined @Interface\AddOns\MonolithDKP\Modules\ClassGraph.lua:7
 BroadcastStopBidTimer = <function> defined @Interface\AddOns\MonolithDKP\Modules\Bidding.lua:629
 ValidateSender = <function> defined @Interface\AddOns\MonolithDKP\Modules\comm.lua:41
 CreateBidWindow = <function> defined @Interface\AddOns\MonolithDKP\Modules\Bidding.lua:1085
 reset_prev_dkp = <function> defined @Interface\AddOns\MonolithDKP\Modules\ManageEntries.lua:253
 UpdateQuery = <function> defined @Interface\AddOns\MonolithDKP\Modules\comm.lua:459
 CheckOfficer = <function> defined @Interface\AddOns\MonolithDKP\Core.lua:180
 DKPHistory_Reset = <function> defined @Interface\AddOns\MonolithDKP\Modules\DKPHistory.lua:48
 AdjustDKP = <function> defined @Interface\AddOns\MonolithDKP\Modules\AdjustDKP.lua:8
 Options = <function> defined @Interface\AddOns\MonolithDKP\Modules\Options.lua:59
 AdjustDKPTab_Create = <function> defined @Interface\AddOns\MonolithDKP\Modules\AdjustDKP.lua:205
 ConfigTab1 = <unnamed> {
 }
 AutoAward = <function> defined @Interface\AddOns\MonolithDKP\Modules\AutoAward.lua:6
 ConfigMenuTabs = <function> defined @Interface\AddOns\MonolithDKP\ConfigMenuTabs.lua:117
 LootHistory_Reset = <function> defined @Interface\AddOns\MonolithDKP\Modules\LootHistory.lua:201
 DKPModes_Misc = <function> defined @Interface\AddOns\MonolithDKP\Modules\Modes\DKPModesMisc.lua:7
 ChangeLogDisplay = MonDKP_ChangeLogDisplay {
 }
 FilterDKPTable = <function> defined @Interface\AddOns\MonolithDKP\MonolithDKP.lua:82
 LootTable_Set = <function> defined @Interface\AddOns\MonolithDKP\Modules\BidInterface.lua:21
 SyncOfficers = <function> defined @Interface\AddOns\MonolithDKP\Modules\comm.lua:388
 StartRaidTimer = <function> defined @Interface\AddOns\MonolithDKP\Modules\RaidTimer.lua:143
 BidInterface_Toggle = <function> defined @Interface\AddOns\MonolithDKP\Modules\BidInterface.lua:196
 OnInitialize = <function> defined @Interface\AddOns\MonolithDKP\init.lua:482
 AwardConfirm = <function> defined @Interface\AddOns\MonolithDKP\Modules\Award.lua:301
 Table_Search = <function> defined @Interface\AddOns\MonolithDKP\Core.lua:843
 DKPTable_Headers = MonDKPDKPTableHeaders {
 }
 DKPTable = MonDKPDisplayScrollFrame {
 }
 SortDKPTable = <function> defined `@Interface\AddOns\Monoli
commented

Please post the saved variables file you used to migrate if you could

commented
commented

Ah. I think I found it... Give me a minute.

commented

Download the new version available (others will need to as well). It appears one of your decay values had a decimal in it. I 100% did not anticipate anyone decaying by 2.5%. So it read that as a normal DKP value. New version recognizes decimals in a decay. Redo the migration with that new version.

commented

Seems to be working now, thanks!