LUA Error #59


  • New
Closed
  • Brirdy created this issue Aug 6, 2017

    Date: 2017-08-06 23:19:24
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ...\AtlasLoot\Libs\LibBabble-Boss-3.0\LibBabble-3.0.lua line 30:
    attempt to index field 'current' (a nil value)
    Debug:
    ...\AtlasLoot\Libs\LibBabble-Boss-3.0\LibBabble-3.0.lua:30:
    ...\AtlasLoot\Libs\LibBabble-Boss-3.0\LibBabble-3.0.lua:28
    ...rface\AddOns\MinimalArchaeology\MinArchDigsiteDB.lua:6: in main chunk
    Locals:
    self = <table> {
    }
    key = "Vul'Gol Fossil Bank"
    db = <table> {
    module = <table> {
    }
    base = <table> {
    }
    lookup = <table> {
    }
    }
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = "attempt to index field 'current' (a nil value)"
    tablesToDB = <table> {
    (null) = <table> {
    }
    (null) = <table> {
    }
    (null) = <table> {
    }
    (null) = <table> {
    }
    (null) = <table> {
    }
    (null) = <table> {
    }
    (null) = <table> {
    }
    (null) = <table> {
    }
    }
    data = <table> {
    LibBabble-Boss-3.0 = <table> {
    }
    LibBabble-Faction-3.0 = <table> {
    }
    LibBabble-ItemSet-3.0 = <table> {
    }
    LibBabble-SubZone-3.0 = <table> {
    }
    LibBabble-DigSites-3.0 = <table> {
    }
    LibBabble-Inventory-3.0 = <table> {
    }
    }
    LIBBABBLE_MAJOR = "LibBabble-3.0"
    warn = <function> defined @Interface\AddOns\AtlasLoot\Libs\LibBabble-Boss-3.0\LibBabble-3.0.lua:23

    AddOns:
    EaseAddOnController, v
    Swatter, v7.4.5714 (TasmanianThylacine)
    AccountAchievementFilter, v3.1
    AchievementCheck, v
    AchievementsReminder, v
    AdvancedInterfaceOptions, v1.1.4
    AlreadyKnown, v1.14
    AngryKeystones, v
    AngryWorldQuests, v
    Arh, v1.6.4
    ArtifactPowerUser, v3.0
    ArtifactTab, v2.3.1
    AtlasLoot, vv8.05.04
    AtlasLootBurningCrusade, vv8.05.04
    AtlasLootCataclysm, vv8.05.04
    AtlasLootClassic, vv8.05.04
    AtlasLootLegion, vv8.05.04
    AtlasLootMistsofPandaria, vv8.05.04
    AtlasLootWarlordsofDraenor, vv8.05.04
    AtlasLootWrathoftheLichKing, vv8.05.04
    BadBoy, vv7.2.236
    BagBrother, v
    Bagnon, v7.2.5
    BagnonScrap, v17
    BattlePetBattleStats, v1.0.9
    BattlePetCount, v1.8.14
    BetterIconSelector, v1.1
    BindsWhen, v7.1.0.1
    BlizzMove, v
    CaerdonWardrobe, vv0.40.0
    CaerdonWardrobeBagnon, vv0.8.0
    CanIMogIt, v7.2.5.01
    CollectMe, v2.9.3
    DarkSoil, v1.04
    DBMCore, v7.2.16
    DBMDefaultSkin, v
    DBMLDB, v
    DBMSpellTimers, v
    DBMStatusBarTimers, v
    DoesMyAltKnowThat, vv4
    EnchantCheck, v7.2.0.1
    ExRT, v3880
    GatherMate2, v1.40.2
    GatherMateSharing, vv1.10
    GG, v1.0
    HandyNotes, vv1.4.14
    HandyNotesAchievements, v0.4.19
    HandyNotesAncientShrines, v1.5
    HandyNotesAzerothsTopTunes, vv1.2.1
    HandyNotesBrokenShore, vv1.19
    HandyNotesCityGuide, v1.7.1
    HandyNotesDraenorTreasures, v1.20a
    HandyNotesDungeonLocations, v1.21
    HandyNotesEagleFlightNetwork, v1.0
    HandyNotesEliteBattlePets, v1
    HandyNotesEphemeralCrystals, vr01
    HandyNotesEverShiftingMirror, v1.0.3
    HandyNotesFieldPhotographer, v7.1.0.0
    HandyNotesHallowsEnd, vv1.2.5
    HandyNotesHigherDimensionalLearning, v1
    HandyNotesHigherLearning, v7.1.0.0
    HandyNotesKosumoth, v1
    HandyNotesLegionClassOrderHalls, vv1.20
    HandyNotesLegionInstanceWorldQuests, vv1.09
    HandyNotesLegionMagePortals, v1.1
    HandyNotesLegionRaresTreasures, v1.01b
    HandyNotesLegionTownPortals, v0.0.1
    HandyNotesLegionTreasures, v1
    HandyNotesLongForgottenHippogryph, v1
    HandyNotesLorewalkers, v1
    HandyNotesLostAndFound, v1
    HandyNotesLunarFestival, vv1.4.4
    HandyNotesMailboxes, v1
    HandyNotesPandariaTreasures, v1.06
    HandyNotesPetDailies, v
    HandyNotesSummerFestival, vv1.4.1
    HandyNotesSuramarLeylines, v1
    HandyNotesSuramarLocations, v0.0.1
    HandyNotesSuramarShalAranTelemancy, vv1.12
    HandyNotesSuramarTelemancy, v1
    HandyNotesTimelessIsleRareElites, v2.32
    HandyNotesTimelessIsleChests, v1.17
    HandyNotesTimelessTreasures, v1.0.7
    HandyNotesTrainers, v1.7.0
    HandyNotesTravelGuide, vv1.5
    HandyNotesTreasureHunter, v1
    HandyNotesVendors, v1.7.0
    HandyNotesWellRead, v7.1.0.0
    HandyNotesWitheredArmyTraining, v1
    HandyNotesWitheredChests, v1.2
    HandyNotesWorldMapButton, v2.6
    HiddenArtifactTracker, v
    HippoAlert, v1
    KeystoneHelper, v7.2.5.0
    LegionWardrobe, v28
    LibIconPath, v1.4
    LongForgottenHippogryph, v1.00
    LongMacros, vv1.0.12
    LoosePebble, v1.01
    MacroToolkit, vv7.2.0.1
    MikScrollingBattleText, v5.7.147
    MinimalArchaeology, v7.2.0.2 (2017-04-07)
    Scrap, v13.5
    TomTom, vv70200-1.0.0
    BlizRuntimeLib_deDE v7.2.5.70200 <none>
    (ck=c0c)

  • Brirdy added a tag New Aug 6, 2017
  • ifilgud posted a comment Jan 21, 2018

    Hi

     

    After an investigation I found that the origin of the problem is in Minimal Archaeology Addon (in https://www.curseforge.com/wow/addons/minimal-archaeology)

    But I only managed to find the problem because I added a NIL check in this addon.

    In file LibBabble-3.0.lua it should contain a new check to avoid crashing and reporting the real problem.

    Line 30 is indexing db.current, but it should be surrounded by 'if (db.current ~= nil) then' and close the if just before 'local base_key = db.base[key]'

     

    This allows the execution to continue and reports that there are no translations for the dig sites, which is a problem in the mentioned addond.

     

    Please add this check to the code to avoid future problems!

  • nevcairiel closed issue Jul 17, 2018

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