v7.3.001: attempt to perform arithmetic on local 'value' (a string value) #969


Closed
  • Adrian_G2 created this issue Sep 6, 2017

     

    i linked [Lightforged Warframe] in chat and then clicked on that chat link... then the error popped up.
    Might want to check it:

    http://www.wowhead.com/item=152098/lightforged-warframe

     

    error is reproductible 100% this way:

    copy the in-game link from wowhead from the link above, paste into the chat box, press enter and then click on the item link in the chat box. Result = this error.  Loot from some raid bosses (i think world quest ones) also causes the same type of error in Datastore Quests.

     

     

    Altoholic is the main error source here - i disabled the entire Altoholic suite and when i reloaded and repeated the paste link + click process from above i don't get any error if Altoholic is not enabled.

     

     

    Date: 2017-09-06 19:18:52
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ...terface\AddOns\DataStore_Quests\DataStore_Quests.lua line 84:
    attempt to perform arithmetic on local 'value' (a string value)
    Debug:
    [C]: ?
    ...terface\AddOns\DataStore_Quests\DataStore_Quests.lua:84:
    ...terface\AddOns\DataStore_Quests\DataStore_Quests.lua:81
    ...terface\AddOns\DataStore_Quests\DataStore_Quests.lua:402:
    ...terface\AddOns\DataStore_Quests\DataStore_Quests.lua:398
    ...terface\AddOns\DataStore_Quests\DataStore_Quests.lua:549:
    ...terface\AddOns\DataStore_Quests\DataStore_Quests.lua:536
    (tail call): ?
    Altoholic\Altoholic.lua:625: ListCharsOnQuest()
    Altoholic\Tooltip.lua:658:
    Altoholic\Tooltip.lua:657
    [C]: ?
    [C]: Show()
    ...rface\AddOns\TradeSkillMaster\Private\TooltipLib.lua:126:
    ...rface\AddOns\TradeSkillMaster\Private\TooltipLib.lua:122
    ...rface\AddOns\TradeSkillMaster\Private\TooltipLib.lua:83:
    ...rface\AddOns\TradeSkillMaster\Private\TooltipLib.lua:82
    [C]: ?
    [C]: ?
    [C]: ?
    [C]: ?
    ...AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:408:
    ...AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:402
    (tail call): ?
    ...rface\AddOns\TradeSkillMaster\Private\TooltipLib.lua:95:
    ...rface\AddOns\TradeSkillMaster\Private\TooltipLib.lua:93
    (tail call): ?
    [C]: ?
    [C]: SetHyperlink()
    ..\FrameXML\ItemRef.lua:307:
    ..\FrameXML\ItemRef.lua:1
    ...ace\AddOns\Blizzard_CombatLog\Blizzard_CombatLog.lua:3573:
    ...ace\AddOns\Blizzard_CombatLog\Blizzard_CombatLog.lua:3509
    [C]: SetItemRef()
    ..\FrameXML\ChatFrame.lua:3468:
    ..\FrameXML\ChatFrame.lua:3467
    [C]: ?
    [C]: ?
    [C]: ?
    [C]: ?
    [C]: ?
    [C]: ?
    [C]: ?
    [C]: ChatFrame_OnHyperlinkShow()
    [string "*:OnHyperlinkClick"]:1:
    [string "*:OnHyperlinkClick"]:1
    [C]: ?
    Locals:

    AddOns:

    [..snip..]

     

    note: Altoholic is v7.3.001 (latest release).. you forgot to change the r183 version tag in the TOC file... again :)

     

     

     

  • Adrian_G2 posted a comment Sep 6, 2017

    disabled Datastore Quests, DBM, TSM and Auctioneer, and a ton of other addons, still getting errors:

     

    Date: 2017-09-06 19:51:30
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\Altoholic\Altoholic.lua line 626:
    attempt to get length of local 'charsOnQuest' (a nil value)
    Debug:
    Altoholic\Altoholic.lua:626: ListCharsOnQuest()
    Altoholic\Tooltip.lua:658:
    Altoholic\Tooltip.lua:657
    [C]: SetHyperlink()
    ..\FrameXML\ItemRef.lua:307:
    ..\FrameXML\ItemRef.lua:1
    ...ace\AddOns\Blizzard_CombatLog\Blizzard_CombatLog.lua:3573: SetItemRef()
    ..\FrameXML\ChatFrame.lua:3468: ChatFrame_OnHyperlinkShow()
    [string "*:OnHyperlinkClick"]:1:
    [string "*:OnHyperlinkClick"]:1
    Locals:
    self = <table> {
    SetDefaultModuleLibraries = <function> defined @Interface\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:398
    UnbindViewFromController = <function> defined @Interface\AddOns\Altoholic\libs\LibMVC-1.0\LibMVC.lua:150
    ToggleOption = <function> defined @Interface\AddOns\Altoholic\Frames\TabOptions.lua:185
    EnableModule = <function> defined @Interface\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:363
    modules = <table> {
    }
    CancelTimer = <function> defined @Interface\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:145
    IterateEmbeds = <function> defined @Interface\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:473
    SetOption = <function> defined @Interface\AddOns\Altoholic\Frames\TabOptions.lua:179
    UnregisterComm = <function> defined @Interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
    SetLastAccountSharingInfo = <function> defined @Interface\AddOns\Altoholic\Altoholic.lua:98
    ThisCharacter = <table> {
    }
    AccSharingHandler = <function> defined @Interface\AddOns\Altoholic\Comm.lua:125
    db = <table> {
    }
    baseName = "Altoholic"
    OnShow = <function> defined @Interface\AddOns\Altoholic\Altoholic.lua:375
    Comm = <table> {
    }
    Printf = <function> defined @Interface\AddOns\DataStore\libs\AceConsole-3.0\AceConsole-3.0.lua:69
    OnUpdate = <function> defined @Interface\AddOns\Altoholic\Frames\TabOptions.lua:483
    SetDefaultModulePrototype = <function> defined @Interface\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:440
    UpdateMyMemoryUsage = <function> defined @Interface\AddOns\Altoholic\Frames\TabOptions.lua:458
    RestoreOptionsToUI = <function> defined @Interface\AddOns\Altoholic\Frames\TabOptions.lua:392
    GetLastAccountSharingInfo = <function> defined @Interface\AddOns\Altoholic\Altoholic.lua:104
    defaultModuleState = true
    SetupOptions = <function> defined @Interface\AddOns\Altoholic\Frames\TabOptions.lua:197
    IsEnabled = <function> defined @Interface\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:482
    TimerFrame = AltoholicTimerFrame {
    }
    ScheduleTimer = <function> defined @Interface\AddOns\DataStore\libs\AceTimer-3.0\AceTimer-3.0.lua:92
    DisableModule = <function> defined @Interface\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:381
    Loots = <table> {
    }
    GetGuild = <function> defined @Interface\AddOns\Altoholic\Altoholic.lua:87
    Tabs = <table> {
    }
    SaveUnsafeItem = <function> defined @Interface\AddOns\Altoholic\Altoholic.lua:732
    RegisterMessage = <function> defined @Interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:116
    UnregisterMessage = <function> defined @Interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
    GetFirstDayOfWeek = <function> defined @Interface\AddOns\Altoholic\Altoholic.lua:727
    GetTimeString = <function> defined @Interface\AddOns\Altoholic\Altoholic.lua:538
    GetCharacterTable = <function> defined @Interface\AddOns\Altoholic\Altoholic.lua:73
    CmdSearchBags = <function> defined @Interface\AddOns\Altoholic\Core.lua:433
    SetClassExtensions = <function> defined @Interface\AddOns\Altoholic\Templates\ClassExtensions.lua:49
    SendCommMessage = <function> defined @Interface\AddOns\DataStore\libs\AceComm-3.0\AceComm-3.0.lua:83
    SetFirstDayOfWeek = <function> defined @Interface\AddOns\Altoholic\Altoholic.lua:723
    OnTimeToNextWarningChanged = <function> defined @Interface\AddOns\Altoholic\Altoholic.lua:671
    DrawFollowerTooltip = <function> defined @Interface\AddOns\Altoholic\Altoholic.lua:656
    UnregisterAllComm = <function> defined @Interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:200
    SetEnabledState = <function> defined @Interface\AddOns\DataStore\libs\AceAddon-3.0\AceAddon-3.0.lua:455
    Sharing = <table> {
    }
    enabledState = true
    ItemFilters = <table> {
    }
    RegisterEvent = <function> defined @Interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:116
    GetIDFromLink = <function> defined @Interface\AddOns\Altoholic\Altoholic.lua:500
    Icons = <table> {
    }
    Enable = <function> defined @Interface\AddOns\DataStore\libs\AceAddon-3.0\AceAddon
    AddOns:
    Swatter, v7.5.5721 (TasmanianThylacine)
    AddonUsage, v
    AdvancedInterfaceOptions, v1.2.0
    Altoholic, vr183
    AskMrRobot, v52
    BadPet, vv1.0.11
    DataStore, vr64
    DataStoreAchievements, vr46
    DataStoreAgenda, vr26
    DataStoreCharacters, vr41
    DataStoreContainers, vr57
    DataStoreCrafts, vr78
    DataStoreCurrencies, vr36
    DataStoreGarrisons, vr22
    DataStoreInventory, vr51
    DataStoreMails, vr50
    DataStorePets, vr43
    DataStoreReputations, vr41
    DataStoreSpells, vr31
    DataStoreStats, vr30
    DataStoreTalents, vr60
    DBMStatusBarTimers, v
    GTFO, v4.43.1
    HereBeDragons10, v1.19-release
    LibPeriodicTable31, vv3.3.0.578
    LibQTip10, vr179
    Scrap, v13.6
    ScrapSpotlight, v13.6
    SexyMap, vv7.3.0
    Skada, v1.7.2
    SlideBar, v7.5.5721 (TasmanianThylacine)
    BlizRuntimeLib_enUS v7.3.0.70300 <none>
    (ck=32f)

     

     

  • Adrian_G2 posted a comment Sep 6, 2017

    re-enabled just Datastore Quests... and the original error is back

     

    Date: 2017-09-06 19:53:26
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ...terface\AddOns\DataStore_Quests\DataStore_Quests.lua line 84:
    attempt to perform arithmetic on local 'value' (a string value)
    Debug:
    ...terface\AddOns\DataStore_Quests\DataStore_Quests.lua:84:
    ...terface\AddOns\DataStore_Quests\DataStore_Quests.lua:81
    ...terface\AddOns\DataStore_Quests\DataStore_Quests.lua:402:
    ...terface\AddOns\DataStore_Quests\DataStore_Quests.lua:398
    ...terface\AddOns\DataStore_Quests\DataStore_Quests.lua:549:
    ...terface\AddOns\DataStore_Quests\DataStore_Quests.lua:536
    (tail call): ?
    Altoholic\Altoholic.lua:625: ListCharsOnQuest()
    Altoholic\Tooltip.lua:658:
    Altoholic\Tooltip.lua:657
    [C]: SetHyperlink()
    ..\FrameXML\ItemRef.lua:307:
    ..\FrameXML\ItemRef.lua:1
    ...ace\AddOns\Blizzard_CombatLog\Blizzard_CombatLog.lua:3573: SetItemRef()
    ..\FrameXML\ChatFrame.lua:3468: ChatFrame_OnHyperlinkShow()
    [string "*:OnHyperlinkClick"]:1:
    [string "*:OnHyperlinkClick"]:1
    Locals:
    value = "0|Black Rook Hold"
    pos = 0
    mask = 1
    (*temporary) = 2
    (*temporary) = "attempt to perform arithmetic on local 'value' (a string value)"

    AddOns:
    Swatter, v7.5.5721 (TasmanianThylacine)
    AddonUsage, v
    AdvancedInterfaceOptions, v1.2.0
    Altoholic, vr183
    AskMrRobot, v52
    BadPet, vv1.0.11
    DataStore, vr64
    DataStoreAchievements, vr46
    DataStoreAgenda, vr26
    DataStoreCharacters, vr41
    DataStoreContainers, vr57
    DataStoreCrafts, vr78
    DataStoreCurrencies, vr36
    DataStoreGarrisons, vr22
    DataStoreInventory, vr51
    DataStoreMails, vr50
    DataStorePets, vr43
    DataStoreQuests, vr43
    DataStoreReputations, vr41
    DataStoreSpells, vr31
    DataStoreStats, vr30
    DataStoreTalents, vr60
    DBMStatusBarTimers, v
    GTFO, v4.43.1
    HereBeDragons10, v1.19-release
    LibPeriodicTable31, vv3.3.0.578
    LibQTip10, vr179
    Scrap, v13.6
    ScrapSpotlight, v13.6
    SexyMap, vv7.3.0
    Skada, v1.7.2
    SlideBar, v7.5.5721 (TasmanianThylacine)
    BlizRuntimeLib_enUS v7.3.0.70300 <none>
    (ck=347)

     

     

  • Adrian_G2 posted a comment Sep 6, 2017

    update:

    decided to DELETE all Altoholic and Datastore* -related SavedVariables so that it has a fresh database with only patch 7.3 stuff... and the error doesn't happen anymore.

     

    re-enabled all addons.. no error either. *headscratch*

     

    so, i think the cause is that old data in Altoholic's databases from before patch 7.3 is not exactly compatible with patch 7.3 data. (i think i even had data since patch 7.1 in there)

  • Adrian_G2 closed issue Sep 6, 2017
  • Alfakennyone posted a comment Nov 21, 2017

    Got this idea from another fix of another addon

     

    Download - https://wow.curseforge.com/projects/altoholic/files/952268

     

    Replace the Altoholic.lua file in your WOW addon folder with the one you just downloaded

     

    Problem solved

  • Adrian_G2 posted a comment Nov 23, 2017

    are you serious? *facepalm*... the WoW API for patch 7.1 is different than that for patch 7.3. Even the item data format is a bit different - that's the whole reason of the mismatched data type error. Altoholic had aldready saved data in the old data format and was using the new API functions to parse it.

     

    Anyway. i didn't have that error any more since i wiped Altoholic's SavedVariables in September.

     

     


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