Error attempted to index a table that cannot be indexed with secret keys #378


  • New
Open
  • Stensborg created this issue Aug 12, 2026

    I get this error in Gathermate2 when in Delves or Dungeons.

    GatherMate2/GatherMate2.lua:527: attempted to index a table that cannot be indexed with secret keys [GatherMate2/GatherMate2.lua]:527: in function 'GetIDForNode' [GatherMate2/Collector.lua]:222: in function '?'

     

    The problem seems to be in the function GatherMate:GetIDForNode, replacing the method with this versions fixes the error.
    function GatherMate:GetIDForNode(type, name)

        if issecretvalue(name) then

                return nil

        end

     

        return self.nodeIDs[type][name]

    end

  • Stensborg added a tag New Aug 12, 2026
  • bsmorgan posted a comment Aug 14, 2026

    Same error here...

    ```

    4x GatherMate2/GatherMate2.lua:527: attempted to index a table that cannot be indexed with secret keys
    [GatherMate2/GatherMate2.lua]:527: in function 'GetIDForNode'
    [GatherMate2/Collector.lua]:222: in function '?'
    [TomTom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:109: in function <...Tom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
    [C]: ?
    [TomTom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:19: in function <...Tom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
    [TomTom/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua]:54: in function 'Fire'
    [CanIMogIt/Libs/AceEvent-3.0/AceEvent-3.0.lua]:120: in function <CanIMogIt/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>

     

    Locals:
    self=<table>{
    modules=<table>
    nodeTextures=<table>
    defaultModuleState=true
    db_types=<table>
    nodeIDReplacementMap=<table>
    db=<table>
    HBD=<table>
    enabledState=true
    reverseNodeIDs=<table>
    defaultModuleLibraries=<table>
    rareNodes=<table>
    name="GatherMate2"
    orderedModules=<table>
    gmdbs=<table>
    Visible=<table>
    baseName="GatherMate2"
    phasing=<table>
    nodeExpansion=<table>
    db_storage_map=<table>
    mapBlacklist=<table>
    nodeIDs=<table>
    }
    type="Treasure"
    name=<secret string>
    (*temporary)=<table>{
    Disturbed Earth=566
    Tattered Chest=503
    Large Darkwood Chest=510
    Wicker Chest=526
    Mechanized Chest=560
    Primitive Chest=527
    Jelly Deposit=563
    Glowing Tome=557
    Dented Footlocker=517
    Twice-Fortified Arcwine=559
    Gleaming Draenic Chest=551
    Leypetal Blossom=555
    Prismatic Crystal=562
    Battered Chest=502
    Mysterious Camel Figurine=538
    Large Solid Chest=506
    Netherwing Egg=531
    Mana-Infused Gem=558
    Everfrost Chip=532
    Trove of the Thunder King=547
    Ancient Mana Shard=552
    Dart's Nest=542
    Brightly Colored Egg=533
    Giant Clam=501
    Radiating Apexis Shard=550
    Large Mithril Bound Chest=509
    Solid Fel Iron Chest=528
    Practice Lockbox=514
    Scarlet Footlocker=519
    Buccaneer's Strongbox=508
    Sturdy Treasure Chest=535
    Solid Chest=504
    Glimmering Chest=561
    Runestone Treasure Chest=536
    Ravasaur Matriarch's Nest=544
    Battered Footlocker=515
    Heavy Fel Iron Chest=522
    Onyx Egg=546
    Felsteel Chest=524
    Waterlogged Footlocker=516
    Ancient Mana Crystal=554
    Large Iron Bound Chest=505
    Ground Wart=565
    Glowcap=525
    Dark Iron Treasure Chest=539
    Maplewood Treasure Chest=540
    Bound Adamantite Chest=530
    Silverbound Treasure Chest=537
    Suspiciously Glowing Chest=549
    Takk's Nest=541
    Ancient Mana Chunk=553
    Large Battered Chest=507
    Bound Fel Iron Chest=529
    Leypetal Powder=556
    Large Jelly Deposit=564
    Bloodpetal Sprout=512
    Fel Iron Chest=521
    Razormaw Matriarch's Nest=543
    Silken Treasure Chest=534
    Highmaul Reliquary=548
    Adamantite Bound Chest=523
    Burial Chest=520
    Dark Soil=545
    Mossy Footlocker=518
    }
    (*temporary)="attempted to index a table that cannot be indexed with secret keys"

    ```

  • BloodyFess posted a comment Aug 16, 2026

    The same error. I'll try Stensborg's fix.

  • DavidsonGilez posted a comment Aug 21, 2026

    Same error message

  • BloodyFess posted a comment Aug 23, 2026

    The fix is working! TY very much!


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