Lua error: attempt to compare number with nil

Issue #12 open
Former user created an issue

Getting this error when trying to sort the guild bank, using TSM3 Beta.

Addon: TradeSkillMaster_GuildSorter
Message: ...AddOns\TradeSkillMaster_GuildSorter\Modules\Move.lua:34: attempt to compare number with nil
Date: 07/13/15 23:52:33
Client: 6.2.0
Locale: enUS
Combat: false
Stack:
    TSM\CoreAPI\Delay.lua:114: <Delay.lua:91>
    TSM\CoreAPI\Threading.lua:508: <Threading.lua:505>
TSM Thread Info:
    CRAFTING_LINKED_PROFESSION_SCAN={
      state="SLEEPING",
      stats={
        realTime=12866.476204067,
        overTimeCount=0,
        cpuPct="0.0%",
        cpuTime=0.38821360468864,
        numYields=8
      },
      caller="TradeSkillMaster_Crafting/Modules/TradeSkill.lua:38",
      isImmortal=true,
      sleepTime=1.2399999760091,
      priority=0.5,
      funcPosition="TradeSkillMaster_Crafting/Modules/TradeSkill.lua:793",
      threadId="table: 0000000043DD6050"
    },
    QUERY_ITEM_INFO={
      state="SLEEPING",
      stats={
        realTime=12866.902967982,
        overTimeCount=1,
        cpuPct="2.3%",
        cpuTime=289.6769214049,
        numYields=277
      },
      caller="TradeSkillMaster/CoreAPI/Items.lua:326",
      sleepTime=0.83499999530613,
      priority=0.1,
      funcPosition="TradeSkillMaster/CoreAPI/Items.lua:368",
      threadId="table: 00000000408ABE70"
    },
    CRAFTING_PLAYER_TRADESKILLS={
      state="WAITING_FOR_FUNCTION",
      stats={
        realTime=12866.814121582,
        overTimeCount=0,
        cpuPct="0.0%",
        cpuTime=0.19034212827682,
        numYields=1
      },
      waitFunction=<function>,
      caller="TradeSkillMaster_Crafting/Modules/TradeSkillScanner.lua:17",
      waitFunctionArgs={
      },
      priority=0.4,
      funcPosition="TradeSkillMaster_Crafting/Modules/TradeSkillScanner.lua:348",
      threadId="table: 0000000077475780"
    },
    SYNC_MAIN={
      state="READY",
      stats={
        realTime=12866.733406879,
        overTimeCount=0,
        cpuPct="0.0%",
        cpuTime=0.62312953919172,
        numYields=119
      },
      caller="TradeSkillMaster/CoreAPI/Sync.lua:179",
      priority=0.5,
      funcPosition="TradeSkillMaster/CoreAPI/Sync.lua:521",
      threadId="table: 00000000408A2960"
    },
    INVENTORY_MAIL={
      state="READY",
      stats={
        realTime=12729.651237205,
        overTimeCount=0,
        cpuPct="0.0%",
        cpuTime=1.8690874353051,
        numYields=632
      },
      parentThreadId="INVENTORY_MAIN",
      caller="TradeSkillMaster/CoreAPI/Inventory.lua:494",
      priority=0.5,
      funcPosition="TradeSkillMaster/CoreAPI/Inventory.lua:662",
      threadId="table: 000000007A03CBF0"
    },
    INVENTORY_MAIN={
      state="FORCED_YIELD",
      stats={
        realTime=12867.013197757,
        overTimeCount=0,
        cpuPct="0.1%",
        cpuTime=13.235102422535,
        numYields=635
      },
      isImmortal=true,
      caller="TradeSkillMaster/CoreAPI/Inventory.lua:326",
      priority=0.3,
      funcPosition="TradeSkillMaster/CoreAPI/Inventory.lua:557",
      threadId="table: 00000000408AB830"
    },
    ACCOUNTING_GOLD_TRACKER={
      state="SLEEPING",
      stats={
        realTime=12867.000247262,
        overTimeCount=0,
        cpuPct="0.0%",
        cpuTime=0.39544180780649,
        numYields=27
      },
      caller="TradeSkillMaster_Accounting/Modules/GoldTracker.lua:24",
      isImmortal=true,
      sleepTime=0.38999999687076,
      priority=0.3,
      funcPosition="TradeSkillMaster_Accounting/Modules/GoldTracker.lua:52",
      threadId="table: 00000000408A6F60"
    },
    DELAY_MAIN={
      state="RUNNING",
      stats={
        realTime=12866.889415137,
        overTimeCount=1,
        cpuPct="0.2%",
        cpuTime=20.049771994352,
        numYields=634
      },
      isImmortal=true,
      caller="TradeSkillMaster/CoreAPI/Delay.lua:82",
      priority=0.4,
      funcPosition="TradeSkillMaster/CoreAPI/Threading.lua:508",
      threadId="table: 000000007A300C90"
    }
TSM Debug Log:
    2015/07/13 23:52:19.642 [Warehousing:INFO:105] Registered with TSM!
    2015/07/13 23:52:19.642 [Vendoring:INFO:66] Registered with TSM!
    2015/07/13 23:52:19.641 [Mailing:INFO:87] Registered with TSM!
    2015/07/13 23:52:19.641 [GuildSorter:INFO:133] Registered with TSM!
    2015/07/13 23:52:19.385 [AuctionDB:INFO:100] Got AppData for Tarren Mill (isGlobal=false, isCurrent=true)
    2015/07/13 23:52:19.385 [AuctionDB:INFO:100] Got AppData for Argent Dawn (isGlobal=false, isCurrent=false)
    2015/07/13 23:52:19.385 [AuctionDB:INFO:100] Got AppData for Magtheridon (isGlobal=false, isCurrent=false)
    2015/07/13 23:52:19.269 [AuctionDB:INFO:100] Got AppData for Global (isGlobal=true, isCurrent=false)
    2015/07/13 23:52:18.417 [WoWuction:INFO:56] Registered with TSM!
    2015/07/13 23:52:18.405 [Shopping:INFO:111] Registered with TSM!
    2015/07/13 23:52:18.388 [Destroying:INFO:84] Registered with TSM!
    2015/07/13 23:52:18.378 [Crafting:INFO:163] Registered with TSM!
    2015/07/13 23:52:18.344 [Auctioning:INFO:115] Registered with TSM!
    2015/07/13 23:52:18.333 [AuctionDB:INFO:91] Registered with TSM!
    2015/07/13 23:52:18.323 [AppHelper:INFO:17] Registered with TSM!
    2015/07/13 23:52:18.174 [Accounting:INFO:138] Registered with TSM!
    2015/07/13 23:52:18.105 [TSM (Core):INFO:404] Registered with TSM!
Addons:
    _NPCScan (6.2.0.1)
    AckisRecipeList (6.2.0.4)
    ACP (3.4.16)
    AddonUsage (2.0.8)
    AdiBags (v1.8.4)
    Altoholic (r160)
    AskMrRobot (v27)
    Auc-Advanced (5.21e.5566 (SanctimoniousSwamprat))
    Auctionator (3.2.4)
    BeanCounter (5.21e.5566 (SanctimoniousSwamprat))
    BigWigs (r13427)
    BonusObjective ()
    BossBannerHider (1.09.00)
    !BugGrabber (r212-release)
    BugSack (r293-release)
    Chatter (1.4.6)
    Clique (v60200-1.0.0)
    CrossRealmAssist (beta-0.64)
    DataStore (r54)
    DeathNote (v1.8c)
    Doom_CooldownPulse ()
    Elephant (3.4.4)
    Enchantrix-Barker (5.21e.5566 (SanctimoniousSwamprat))
    EventTraceReloaded (v1.3.6010)
    EventTracker (2.7)
    Fatality (2.4d)
    HandyNotes (v1.3.3)
    HandyNotes_DraenorTreasures (1.14a)
    ImprovedFrameStack (1.2)
    Kui_Nameplates (254-1)
    Kui_Nameplates_Auras (254-1)
    LootWonAlert_Hider_Mover (1.09.00)
    MasterPlanA ()
    MogIt (3.5.3)
    Omen (v3.1.11)
    PremadeNotifier (3)
    QuickMark (r20150627050842)
    SavedInstances (6.2.1)
    SellJunk (3.0.11)
    Skada (1.4-32)
    SlideBar (5.21e.5566 (SanctimoniousSwamprat))
    Stubby (5.21e.5566 (SanctimoniousSwamprat))
    !Swatter (5.21e.5566 (SanctimoniousSwamprat))
    TomTom (v60200-1.0.0)
    TradeForwarder (2.22-2)
    WeakAuras (2.1.0.5)
    WowLua (v40300-1.0.2-71bf340 )
    TSM (3X166)
    TSM_Accounting (3X24)
    TSM_AppHelper (3X3)
    TSM_AuctionDB (3X7)
    TSM_Auctioning (3X68)
    TSM_Crafting (3X69)
    TSM_Destroying (3X20)
    TSM_GuildSorter (r32)
    TSM_Mailing (3X37)
    TSM_Shopping (3X61)
    TSM_Vendoring (3X39)
    TSM_Warehousing (3X11)
    TSM_WoWuction (3X5)
    TableExplorer (V1.33)

Comments (6)

  1. Evan Graham

    This is my ticket, forgot to login before posting.

    I think it could be that it's doing it too fast. When it errors I have an item selected on the cursor, the same thing happens with bankstack if I change the advanced settings to be quicker.

  2. christopher kirk repo owner

    trying to reproduce the error -- was it a one time thing or does it do it every time ..

  3. Evan Graham

    When I reported this it was happening every time I pressed "Sort guild bank", reloading and restarting didn't fix it. Just tried it again today and it's working fine, must have been some issue on my end that resolved itself. I'm using TSM3 and the alpha release of TSM_GuildSorter

  4. christopher kirk repo owner

    if it happens again let us know . will leave this open to see if it happens again

  5. Log in to comment