Error in the new patch 7.2.5 #266


Closed
  • Vikipally created this issue Jun 15, 2017

    I get this error when I turn in a quest. 

     

    1x SavedInstances\SavedInstances-7.0.8.lua:1811: attempt to index local 'texture' (a number value)
    SavedInstances\SavedInstances-7.0.8.lua:1811: in function `QuestIsDarkmoonMonthly'
    SavedInstances\SavedInstances-7.0.8.lua:1836: in function <SavedInstances\SavedInstances.lua:1830>
    [C]: in function `GetQuestReward'
    FrameXML\QuestFrame.lua:161: in function <FrameXML\QuestFrame.lua:147>

    Locals:
    self = <table> {
    GetCurrentMapAreaID = <function> defined @SavedInstances\SavedInstances.lua:1818
    GetServerOffset = <function> defined @SavedInstances\SavedInstances.lua:768
    oi_cache = <table> {
    }
    questdebug = <function> defined @SavedInstances\SavedInstances.lua:396
    QuestInfo = <function> defined @SavedInstances\SavedInstances.lua:328
    pvpdesertids = <table> {
    }
    icon = <table> {
    }
    histLiveCount = 0
    FindInstance = <function> defined @SavedInstances\SavedInstances.lua:976
    UpdateToonData = <function> defined @SavedInstances\SavedInstances.lua:1568
    GetRegion = <function> defined @SavedInstances\SavedInstances.lua:784
    InGroup = <function> defined @SavedInstances\SavedInstances.lua:2825
    chatMsg = <function> defined @SavedInstances\SavedInstances.lua:338
    CategorySize = <function> defined @SavedInstances\SavedInstances.lua:1063
    formatNumber = <function> defined @SavedInstances\SavedInstances.lua:454
    GetNextDailyResetTime = <function> defined @SavedInstances\SavedInstances.lua:809
    OrderedCategories = <function> defined @SavedInstances\SavedInstances.lua:1256
    instanceException = <function> defined @SavedInstances\SavedInstances.lua:1161
    BonusFrame = SavedInstancesBonusRollFrame {
    }
    db = <table> {
    }
    diff_strings = <table> {
    }
    LFRInstances = <table> {
    }
    transInstance = <table> {
    }
    IsDetached = <function> defined @SavedInstances\SavedInstances.lua:3358
    histInGroup = "PARTY"
    config = <table> {
    }
    skillwarned = <table> {
    }
    QuestIsDarkmoonMonthly = <function> defined @SavedInstances\SavedInstances.lua:1804
    SkinFrame = <function> defined @SavedInstances\SavedInstances.lua:682
    Categories = <table> {
    }
    histTextUpdate = <function> defined @SavedInstances\SavedInstances.lua:3029
    HistoryEvent = <function> defined @SavedInstances\SavedInstances.lua:2860
    SetupVersion = <function> defined @SavedInstances\SavedInstances.lua:2601
    InstanceCategory = <function> defined @SavedInstances\SavedInstances.lua:1043
    histReapTime = 3600
    resetDetect = SavedInstancesResetDetectHiddenFrame {
    }
    HideDetached = <function> defined @SavedInstances\SavedInstances.lua:3361
    seencds = <table> {
    }
    UpdateInstanceData = <function> defined @SavedInstances\SavedInstances.lua:1355
    delayedReset = false
    GetNextWeeklyResetTime = <function> defined @SavedInstances\SavedInstances.lua:868
    WorldBosses = <table> {
    }
    revision = 550
    region = "US"
    histOldest = "n/a"
    resetDays = <table> {
    }
    core = <table> {
    }
    activeHolidays = <table> {
    }
    LDB = <table> {
    }
    scaleCache = <table> {
    }
    PlayedTime = 1497575434
    UpdateInstance = <function> defined @SavedInstances\SavedInstances.lua:1471
    delayUpdate = 1497575436
    debug = <function> defined @SavedInstances\SavedInstances.lua:342
    oc_cache = <table> {
    }
    LookupInstance = <function> defined @SavedInstances\SavedInstances.lua:1012
    GetSeasonCurrency = <function> defined @SavedInstances\SavedInstances.lua:2370
    version = "7.0.8"
    idtext = <function> defined @SavedInstances\config.lua:45
    Indicators = <table> {
    }
    UpdateCurrency = <function> defined @SavedInstances\SavedInstances.lua:1754
    OrderedInstances = <function> defined @SavedInstances\SavedInstances.lua:1243
    updateSpellTip = <function> defined @SavedInstances\SavedInstances.lua:1549
    currency = <table> {
    }
    normalizeName = <function> defined @SavedInstances\SavedInstances.lua:950
    BonusRollShow = <function> defined @SavedInstances\SavedInstances.lua:4749
    instancesUpdated = true
    L = <table> {
    }
    specialQuests = <function> defined @Save

  • reaper666735 posted a comment Jun 20, 2017

    got this one as well ,

     

    1x SavedInstances\SavedInstances-7.0.8.lua:1811: attempt to index local 'texture' (a number value)
    SavedInstances\SavedInstances-7.0.8.lua:1811: in function `QuestIsDarkmoonMonthly'
    SavedInstances\SavedInstances-7.0.8.lua:1836: in function <SavedInstances\SavedInstances.lua:1830>
    [C]: in function `GetQuestReward'
    FrameXML\QuestFrame.lua:161: in function <FrameXML\QuestFrame.lua:147>

    Locals:
    self = <table> {
     GetCurrentMapAreaID = <function> defined @SavedInstances\SavedInstances.lua:1818
     GetServerOffset = <function> defined @SavedInstances\SavedInstances.lua:768
     oi_cache = <table> {
     }
     questdebug = <function> defined @SavedInstances\SavedInstances.lua:396
     QuestInfo = <function> defined @SavedInstances\SavedInstances.lua:328
     pvpdesertids = <table> {
     }
     icon = <table> {
     }
     histLiveCount = 0
     FindInstance = <function> defined @SavedInstances\SavedInstances.lua:976
     UpdateToonData = <function> defined @SavedInstances\SavedInstances.lua:1568
     GetRegion = <function> defined @SavedInstances\SavedInstances.lua:784
     InGroup = <function> defined @SavedInstances\SavedInstances.lua:2825
     chatMsg = <function> defined @SavedInstances\SavedInstances.lua:338
     CategorySize = <function> defined @SavedInstances\SavedInstances.lua:1063
     formatNumber = <function> defined @SavedInstances\SavedInstances.lua:454
     GetNextDailyResetTime = <function> defined @SavedInstances\SavedInstances.lua:809
     OrderedCategories = <function> defined @SavedInstances\SavedInstances.lua:1256
     instanceException = <function> defined @SavedInstances\SavedInstances.lua:1161
     BonusFrame = SavedInstancesBonusRollFrame {
     }
     db = <table> {
     }
     diff_strings = <table> {
     }
     LFRInstances = <table> {
     }
     transInstance = <table> {
     }
     IsDetached = <function> defined @SavedInstances\SavedInstances.lua:3358
     config = <table> {
     }
     QuestIsDarkmoonMonthly = <function> defined @SavedInstances\SavedInstances.lua:1804
     SkinFrame = <function> defined @SavedInstances\SavedInstances.lua:682
     Categories = <table> {
     }
     histTextUpdate = <function> defined @SavedInstances\SavedInstances.lua:3029
     HistoryEvent = <function> defined @SavedInstances\SavedInstances.lua:2860
     SetupVersion = <function> defined @SavedInstances\SavedInstances.lua:2601
     InstanceCategory = <function> defined @SavedInstances\SavedInstances.lua:1043
     histReapTime = 3600
     resetDetect = SavedInstancesResetDetectHiddenFrame {
     }
     HideDetached = <function> defined @SavedInstances\SavedInstances.lua:3361
     playedpending = false
     UpdateInstanceData = <function> defined @SavedInstances\SavedInstances.lua:1355
     delayedReset = false
     GetNextWeeklyResetTime = <function> defined @SavedInstances\SavedInstances.lua:868
     WorldBosses = <table> {
     }
     revision = 550
     histInGroup = "PARTY"
     region = "EU"
     histOldest = "n/a"
     PlayedTime = 1497975350
     resetDays = <table> {
     }
     core = <table> {
     }
     activeHolidays = <table> {
     }
     LDB = <table> {
     }
     playedreg = <table> {
     }
     scaleCache = <table> {
     }
     UpdateInstance = <function> defined @SavedInstances\SavedInstances.lua:1471
     delayUpdate = 1497975995
     debug = <function> defined @SavedInstances\SavedInstances.lua:342
     oc_cache = <table> {
     }
     LookupInstance = <function> defined @SavedInstances\SavedInstances.lua:1012
     GetSeasonCurrency = <function> defined @SavedInstances\SavedInstances.lua:2370
     version = "7.0.8"
     idtext = <function> defined @SavedInstances\config.lua:45
     Indicators = <table> {
     }
     UpdateCurrency = <function> defined @SavedInstances\SavedInstances.lua:1754
     OrderedInstances = <function> defined @SavedInstances\SavedInstances.lua:1243
     updateSpellTip = <function> defined @SavedInstances\SavedInstances.lua:1549
     currency = <table> {
     }
     normalizeName = <function> defined @SavedInstances\SavedInstances.lua:950
     BonusRollShow = <function> defined @SavedInstances\SavedInstances.lua:4749
     instancesUpdated = true
     L = <table> {
     }
     specialQuests = <function> defined @SavedIn

  • dchriest posted a comment Jun 21, 2017

    Getting this virtually every time I turn in a quest (looks like same as above):

     

    1x SavedInstances\SavedInstances-7.0.8.lua:1811: attempt to index local 'texture' (a number value)
    SavedInstances\SavedInstances-7.0.8.lua:1811: in function `QuestIsDarkmoonMonthly'
    SavedInstances\SavedInstances-7.0.8.lua:1836: in function <SavedInstances\SavedInstances.lua:1830>
    [C]: in function `GetQuestReward'
    FrameXML\QuestFrame.lua:161: in function <FrameXML\QuestFrame.lua:147>

    Locals:
    self = <table> {
     GetCurrentMapAreaID = <function> defined @SavedInstances\SavedInstances.lua:1818
     GetServerOffset = <function> defined @SavedInstances\SavedInstances.lua:768
     oi_cache = <table> {
     }
     questdebug = <function> defined @SavedInstances\SavedInstances.lua:396
     QuestInfo = <function> defined @SavedInstances\SavedInstances.lua:328
     pvpdesertids = <table> {
     }
     icon = <table> {
     }
     histLiveCount = 0
     FindInstance = <function> defined @SavedInstances\SavedInstances.lua:976
     UpdateToonData = <function> defined @SavedInstances\SavedInstances.lua:1568
     GetRegion = <function> defined @SavedInstances\SavedInstances.lua:784
     InGroup = <function> defined @SavedInstances\SavedInstances.lua:2825
     chatMsg = <function> defined @SavedInstances\SavedInstances.lua:338
     CategorySize = <function> defined @SavedInstances\SavedInstances.lua:1063
     formatNumber = <function> defined @SavedInstances\SavedInstances.lua:454
     GetNextDailyResetTime = <function> defined @SavedInstances\SavedInstances.lua:809
     OrderedCategories = <function> defined @SavedInstances\SavedInstances.lua:1256
     instanceException = <function> defined @SavedInstances\SavedInstances.lua:1161
     BonusFrame = SavedInstancesBonusRollFrame {
     }
     db = <table> {
     }
     diff_strings = <table> {
     }
     LFRInstances = <table> {
     }
     transInstance = <table> {
     }
     IsDetached = <function> defined @SavedInstances\SavedInstances.lua:3358
     config = <table> {
     }
     QuestIsDarkmoonMonthly = <function> defined @SavedInstances\SavedInstances.lua:1804
     SkinFrame = <function> defined @SavedInstances\SavedInstances.lua:682
     updatetooltip_throttle = 0.063000002875924
     Categories = <table> {
     }
     histTextUpdate = <function> defined @SavedInstances\SavedInstances.lua:3029
     HistoryEvent = <function> defined @SavedInstances\SavedInstances.lua:2860
     SetupVersion = <function> defined @SavedInstances\SavedInstances.lua:2601
     InstanceCategory = <function> defined @SavedInstances\SavedInstances.lua:1043
     headerfont = SavedInstancedTooltipHeaderFont {
     }
     histReapTime = 3600
     resetDetect = SavedInstancesResetDetectHiddenFrame {
     }
     HideDetached = <function> defined @SavedInstances\SavedInstances.lua:3361
     playedpending = false
     oc_cache = <table> {
     }
     UpdateInstanceData = <function> defined @SavedInstances\SavedInstances.lua:1355
     GetNextWeeklyResetTime = <function> defined @SavedInstances\SavedInstances.lua:868
     WorldBosses = <table> {
     }
     revision = 550
     region = "US"
     histOldest = "n/a"
     PlayedTime = 1498031076
     resetDays = <table> {
     }
     core = <table> {
     }
     activeHolidays = <table> {
     }
     LDB = <table> {
     }
     playedreg = <table> {
     }
     scaleCache = <table> {
     }
     UpdateInstance = <function> defined @SavedInstances\SavedInstances.lua:1471
     delayUpdate = 1498031077
     debug = <function> defined @SavedInstances\SavedInstances.lua:342
     firstupdate = false
     LookupInstance = <function> defined @SavedInstances\SavedInstances.lua:1012
     GetSeasonCurrency = <function> defined @SavedInstances\SavedInstances.lua:2370
     version = "7.0.8"
     idtext = <function> defined @SavedInstances\config.lua:45
     Indicators = <table> {
     }
     UpdateCurrency = <function> defined @SavedInstances\SavedInstances.lua:1754
     OrderedInstances = <function> defined @SavedInstances\SavedInstances.lua:1243
     updateSpellTip = <function> defined @SavedInstances\SavedInstances.lua:1549
     currency = <table> {
     }
     normalizeName = <function> defined @SavedInstances\SavedInstances.lua:950
     BonusRollShow = <function> defined @SavedInstances\SavedInstances.lua:4749
     instancesUpdated = true
     L = <ta

  • Lej posted a comment Jul 17, 2017

    Some quest apparently return nil textures. Haven't pinpointed exactly which but my guess is the new legendary upgrade currency quest.

     

    Change SavedInstances.lua:1811:

     

    if texture:find("_ticket_darkmoon_") then

     

    to

     

    if texture ~= nil and texture:find("_ticket_darkmoon_") then


    Edited Jul 17, 2017
  • Cakechart posted a comment Feb 3, 2018

    Hey there! :D

     

    Since a lot of time has passed and the project has been undergoing many changes, with different versions being merged and bugs being fixed, I'm closing this issue as potentially no longer relevant.

     

    Feel free to re-open a ticket if there is still a problem with the latest version of the addon available on WowAce/CurseForge and it shall be looked into properly.

  • Cakechart closed issue Feb 3, 2018

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