Log in to ZYGOR
Log in with social media
OR
Log in with Zygor account

Announcement

Collapse
No announcement yet.

Lua Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Lua Error

    Encountered Error after setting up Zygor on a new horde toon.

    Code:
    Message: Interface\AddOns\ZygorGuidesViewer\Goal.lua:1910: attempt to index field 'step' (a nil value)
    Time: 11/20/14 15:50:57
    Count: 12
    Stack: Interface\AddOns\ZygorGuidesViewer\Goal.lua:1910: in function `GetText'
    ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:2069: in function `UpdateFrame'
    ...dOns\ZygorGuidesViewer\Skins\Default\ViewerFrame.lua:280: in function <...dOns\ZygorGuidesViewer\Skins\Default\ViewerFrame.lua:266>
    
    Locals: self = <table> {
     map = 889
     num = 1
     floor = 0
     dirtytext = true
     was_visited = false
     prepared = true
     parentStep = <table> {
     }
     y = 0.457
     x = 0.311
     was_clicked = false
     action = "goto"
     status = "passive"
     L = true
     indent = 0
    }
    showcompleteness = true
    brief = false
    goalcountnow = nil
    goalcountneeded = nil
    remaining = nil
    complete = false
    ext = false
    _done = ""
    text = "?"
    progtext = nil
    extramsg = nil
    GOALTYPE = <table> {
     iscomplete = <function> defined @Interface\AddOns\ZygorGuidesViewer\Goal.lua:1309
     default_not_completable = true
     parse = <function> defined @Interface\AddOns\ZygorGuidesViewer\Goal.lua:1277
    }
    form = "stepgoal_go to"
    showAtText = false
    (for generator) = <function> defined =[C]:-1
    (for state) = <table> {
     1 = <table> {
     }
     2 = <table> {
     }
    }
    (for control) = 1
    i = 1
    stickystep = <table> {
     map = 889
     num = 14
     floor = 0
     label = "scorpid"
     prepared = true
     is_sticky = true
     goals = <table> {
     }
     parentGuide = <table> {
     }
     level = 3
     L = true
    }
    (*temporary) = 14
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = nil
    (*temporary) = 2
    (*temporary) = 3
    (*temporary) = nil
    (*temporary) = 889
    (*temporary) = 0
    (*temporary) = 0.311
    (*temporary) = 0.457
    (*temporary) = 215.14340693669
    (*temporary) = "attempt to index field 'step' (a nil value)"
    GetQuestGoalData = <function> defined @Interface\AddOns\ZygorGuidesViewer\Goal.lua:50
    GetAchievementGoalData = <function> defined @Interface\AddOns\ZygorGuidesViewer\Goal.lua:85
    GOALTYPES = <table> {
     kill = <table> {
     }
     havebuff = <table> {
     }
     skill = <table> {
     }
     cast = <table> {
     }
     achieve = <table> {
     }
     goal = <table> {
     }
     fly = <table> {
     }
     avoid = <table> {
     }
     _item = <table> {
     }
     hearth = <table> {
     }
     q = <table> {
     }
     scenariostage = <table> {
     }
     learnspell = <table> {
     }
     skillmax = <table> {
     }
     collect = <table> {
     }
     confirm = <table> {
     }
     info = <table> {
     }
     farm = <table> {
     }
     ding = <table> {
     }
     invehicle = <table> {
     }
     at = <table> {
     }
     get = <table> {
     }
     questchoice = <table> {
     }
     noquest = <table> {
     }
     count = <table> {
     }
     fpath = <table> {
     }
     subzone = <table> {
     }
     clicknpc = <table> {
     }
     accept = <table> {
     }
     achievetext = <table> {
     }
     earn = <table> {
     }
     home = <table> {
     }
     petaction = <table> {
     }
     nobuff = <table> {
     }
     scenariogoal = <table> {
     }
     outvehicle = <table> {
     }
     quest = <table> {
     }
     click = <table> {
     }
     rep = <table> {
     }
     goldtracker = <table> {
     }
     learn = <table> {
     }
     equipped = <table> {
     }
     condition = <table> {
     }
     turnin = <table> {
     }
     create = <table> {
     }
     craft = <table> {
     }
     talk = <table> {
     }
     use = <table> {
     }
     learnmount = <table> {
     }
     learnpet = <table> {
     }
     goldcollect = <table> {
     }
     goto = <table> {
     }
     talknpcs = <table> {
     }
     buy = <table> {
     }
    }
    tonumber = <function> defined =[C]:-1
    ZGV = <table> {
     CraptOnReload = <function> defined @Interface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:4946
     LS = <table> {
     }
     Expansion_Cata = true
     UPDATE_FACTION_Faction = <function> defined @Interface\AddOns\ZygorGuidesViewer\Faction.lua:227
     ICON_INDENT = 17
     modules = <table> {
     }
     CancelTimer = <function> defined @Interface\AddOns\Decursive\Libs\AceTimer-3.0\AceTimer-3.0.lua:145
     MarkUselessQuests = <function> defined @Interface\AddOns\ZygorGuidesViewer\QuestTracking.lua:572
     GetTargetId = <function> defined @Interface\AddOns\ZygorGuidesViewer\Functions.lua:178
     PopupHandler = <table> {
     }
     SetDisplayMode = <function> defined @Interface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:1704
     GoalOnLeave = <function> defined @Interface\AddOns\ZygorGu
    Last edited by neils_zygor; November 20, 2014, 11:42 PM.

    #2
    Looks like you are having an addon conflict. If you disable all other addons are you able to get this error to show up again?
    Become a Fan of Zygor Guides on Facebook:
    http://www.facebook.com/pages/Zygor-...04933799556988

    Follow Zygor Guides on Twitter:
    http://twitter.com/zygorguides

    Comment


      #3
      I turned off all my addons except Zygor Guide and Swatter (to catch LUA errors) and got the same error. Unless it is swatter causing the conflict. Tell me how to catch and record LUA errors without an addon and I will do that. Here is what Swatter gave me:

      ["message"] = "Interface\\AddOns\\ZygorGuidesViewer\\Goal.lua:19 10: attempt to index field 'step' (a nil value)",
      ["count"] = 72,
      ["addons"] = " Swatter, v5.21c.5521 (SanctimoniousSwamprat)
      ZygorGuidesViewer, v5.0
      BlizRuntimeLib_enUS v6.0.3.60000 <none>
      (ck=73)",
      ["timestamp"] = "2014-11-20 17:27:16",
      ["context"] = "Global",
      ["stack"] = "Interface\\AddOns\\ZygorGuidesViewer\\Goal.lua:19 10: in function `GetText'\n...rface\\AddOns\\ZygorGuidesViewer\\Zy gorGuidesViewer.lua:2071: in function `UpdateFrame'
      ...rface\\AddOns\\ZygorGuidesViewer\\ZygorGuidesVi ewer.lua:1145: in function `FocusStepUnquiet'
      ...rface\\AddOns\\ZygorGuidesViewer\\ZygorGuidesVi ewer.lua:1129: in function `FocusStep'
      ...rface\\AddOns\\ZygorGuidesViewer\\ZygorGuidesVi ewer.lua:1320: in function `SkipStep'
      ...rface\\AddOns\\ZygorGuidesViewer\\ZygorGuidesVi ewer.lua:1525: in function `TryToCompleteStep'
      Interface\\AddOns\\ZygorGuidesViewer\\QuestTrackin g.lua:400: in function `func'
      ...rface\\AddOns\\ZygorGuidesViewer\\ZygorGuidesVi ewer.lua:752: in function `?'
      ...wer\\Libs\\CallbackHandler-1.0\\CallbackHandler-1.0.lua:147: in function <...wer\\Libs\\CallbackHandler-1.0\\CallbackHandler-1.0.lua:147>
      [string \"safecall Dispatcher[1]\"]:4: in function <[string \"safecall Dispatcher[1]\"]:4>
      [C]: ?\n[string \"safecall Dispatcher[1]\"]:13: in function `?'
      ...wer\\Libs\\CallbackHandler-1.0\\CallbackHandler-1.0.lua:92: in function `Fire'
      ...ZygorGuidesViewer\\Libs\\AceEvent-3.0\\AceEvent-3.0.lua:120: in function <...ZygorGuidesViewer\\Libs\\AceEvent-3.0\\AceEvent-3.0.lua:119>",

      Comment


        #4
        I disabled Swatter and this is what the Blizzard LUA Error frame throws. (Zygor is the only addon running)

        This happens as soon as I log on. The one thing I notice is the guide frame seems squished at the bottom, and the completion bar is under the last line of text. If I left click the left arrow to go back a step, it kicks me all the way back to step one and I have to right click the right arrow to get to my current step.

        There are a total of 7 unique errors that pop as soon as I log on. All 7 errors are in a text file in the attached ZIP file.

        In the below error, The Count: number is scrolling about 10 numbers per second.

        Code:
        Message: Interface\AddOns\ZygorGuidesViewer\Goal.lua:1910: attempt to index field 'step' (a nil value)
        Time: 11/20/14 17:53:10
        Count: 23
        Stack: Interface\AddOns\ZygorGuidesViewer\Goal.lua:1910: in function `GetText'
        ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:2071: in function `UpdateFrame'
        ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:1563: in function `?'
        ...ZygorGuidesViewer\Libs\AceTimer-3.0\AceTimer-3.0.lua:41: in function <...ZygorGuidesViewer\Libs\AceTimer-3.0\AceTimer-3.0.lua:36>
        
        Locals: self = <table> {
         map = 810
         num = 1
         floor = 0
         dirtytext = true
         prepared = true
         parentStep = <table> {
         }
         y = 0.767
         x = 0.469
         was_clicked = false
         action = "goto"
         status = "passive"
         L = true
         indent = 0
        }
        showcompleteness = true
        brief = false
        goalcountnow = nil
        goalcountneeded = nil
        remaining = nil
        complete = false
        ext = false
        _done = ""
        text = "?"
        progtext = nil
        extramsg = nil
        GOALTYPE = <table> {
         iscomplete = <function> defined @Interface\AddOns\ZygorGuidesViewer\Goal.lua:1309
         default_not_completable = true
         parse = <function> defined @Interface\AddOns\ZygorGuidesViewer\Goal.lua:1277
        }
        form = "stepgoal_go to"
        showAtText = false
        (for generator) = <function> defined =[C]:-1
        (for state) = <table> {
         1 = <table> {
         }
        }
        (for control) = 1
        i = 1
        stickystep = <table> {
         map = 810
         num = 132
         floor = 0
         label = "sikthikmantidcage"
         prepared = true
         is_sticky = true
         goals = <table> {
         }
         parentGuide = <table> {
         }
         level = 88
         L = true
        }
        (*temporary) = 132
        (*temporary) = nil
        (*temporary) = nil
        (*temporary) = nil
        (*temporary) = 1
        (*temporary) = 2
        (*temporary) = nil
        (*temporary) = nil
        (*temporary) = nil
        (*temporary) = nil
        (*temporary) = nil
        (*temporary) = nil
        (*temporary) = "attempt to index field 'step' (a nil value)"
        GetQuestGoalData = <function> defined @Interface\AddOns\ZygorGuidesViewer\Goal.lua:50
        GetAchievementGoalData = <function> defined @Interface\AddOns\ZygorGuidesViewer\Goal.lua:85
        GOALTYPES = <table> {
         kill = <table> {
         }
         havebuff = <table> {
         }
         skill = <table> {
         }
         cast = <table> {
         }
         achieve = <table> {
         }
         goal = <table> {
         }
         fly = <table> {
         }
         avoid = <table> {
         }
         _item = <table> {
         }
         hearth = <table> {
         }
         q = <table> {
         }
         scenariostage = <table> {
         }
         learnspell = <table> {
         }
         skillmax = <table> {
         }
         collect = <table> {
         }
         confirm = <table> {
         }
         info = <table> {
         }
         farm = <table> {
         }
         ding = <table> {
         }
         invehicle = <table> {
         }
         at = <table> {
         }
         get = <table> {
         }
         questchoice = <table> {
         }
         noquest = <table> {
         }
         count = <table> {
         }
         fpath = <table> {
         }
         subzone = <table> {
         }
         clicknpc = <table> {
         }
         accept = <table> {
         }
         achievetext = <table> {
         }
         earn = <table> {
         }
         home = <table> {
         }
         petaction = <table> {
         }
         nobuff = <table> {
         }
         scenariogoal = <table> {
         }
         outvehicle = <table> {
         }
         quest = <table> {
         }
         click = <table> {
         }
         rep = <table> {
         }
         goldtracker = <table> {
         }
         learn = <table> {
         }
         equipped = <table> {
         }
         condition = <table> {
         }
         turnin = <table> {
         }
         create = <table> {
         }
         craft = <table> {
         }
         talk = <table> {
         }
         use = <table> {
         }
         learnmount = <table> {
         }
         learnpet = <table> {
         }
         goldcollect = <table> {
         }
         goto = <table> {
         }
         talknpcs = <table> {
         }
         buy = <table> {
         }
        }
        tonumber = <function> defined =[C]:-1
        ZGV = <table> {
         CraptOnReload = <function> defined @Interface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:4948
         LS = <table> {
         }
         Expansion_Cata = true
         UPDATE_FACTION_Faction = <function> defined @Interface\AddOns\ZygorGuidesViewer\Faction.lua:227
         ICON_INDENT = 17
         modules = <table> {
         }
         CancelTimer = <function> defined @Interface\AddOns\ZygorGuidesViewer\Libs\AceTimer-3.0\AceTimer-3.0.lua:161
         MarkUselessQuests = <function> defined @Interface\AddOns\ZygorGuidesViewer\QuestTracking.lua:572
         GetTargetId = <function> defined @Interface\AddOns\ZygorGuidesViewer\Functions.lua:178
         PopupHandler = <table> {
         }
         SetDisplayMode = <function> defined @Interface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:1706
         GoalOnLeave =
        Attached Files

        Comment


          #5
          I've had the same issue after removing all addons except Zygor. I was in the process of running "repair" before reading thegriffin post. Is this issue fixable by fresh reinstall or some code problem?
          Last edited by neils_zygor; November 20, 2014, 07:44 PM.

          Comment


            #6
            Try doing a full guide wipe/reset.


            1. Exit WoW
            2. Go to the WoW/Interface/Addons folder and delete the ZygorGuidesViewer folder
            3. Go to the WoW/WTF/Account/<accountname>/SavedVariables folder and delete the Zygor files in there
            4. Run the installer client and install a fresh copy of the guides
            5. Go back in game and see if that fixed it
            Become a Fan of Zygor Guides on Facebook:
            http://www.facebook.com/pages/Zygor-...04933799556988

            Follow Zygor Guides on Twitter:
            http://twitter.com/zygorguides

            Comment


              #7
              Reinstalled and tried without addons. Lua error box appeared again.

              This was 1/5
              Code:
              Message: ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:681: ERROR in startup frame 6: Interface\AddOns\ZygorGuidesViewer\Goal.lua:1910: attempt to index field 'step' (a nil value)
              in
              Interface\AddOns\ZygorGuidesViewer\Goal.lua:1910: in function `GetText'
              ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:2071: in function `UpdateFrame'
              ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:1145: in function `FocusStepUnquiet'
              ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:1129: in function `FocusStep'
              ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:933: in function `SetGuide'
              ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:766: in function `OnFirstQuestLogUpdate'
              ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:626: in function <...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:534>
              
              Time: 11/20/14 22:13:11
              Count: 1
              Stack: [C]: in function `error'
              ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:681: in function `StartupStep'
              Interface\AddOns\ZygorGuidesViewer\MasterFrame.lua:6: in function <Interface\AddOns\ZygorGuidesViewer\MasterFrame.lua:4>
              
              Locals: (*temporary) = "ERROR in startup frame 6: Interface\AddOns\ZygorGuidesViewer\Goal.lua:1910: attempt to index field 'step' (a nil value)
              in
              Interface\AddOns\ZygorGuidesViewer\Goal.lua:1910: in function `GetText'
              ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:2071: in function `UpdateFrame'
              ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:1145: in function `FocusStepUnquiet'
              ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:1129: in function `FocusStep'
              ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:933: in function `SetGuide'
              ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:766: in function `OnFirstQuestLogUpdate'
              ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:626: in function <...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewer.lua:534>
              "

              Comment


                #8
                Did as requested. (deleted guide folder in addons, deleted files in saved variables folder, reinstalled guides)

                No errors on start up, but once I advanced it to the step I was on (right click right error until I got to the step) 4 errors popped. The same one (error #3) is scrolling the counter at the same rate as before. If I manually advance to the right one step (left click the right arrow) error #5 appears. If I go back one step (left click the left arrow) error #6 appears. If I right click the right arrow when I am at the current step error #7 appears. Each time I click any of these arrows in this manner, the error counts increment.

                Errors attached....

                I'll test any other ideas you want to throw at me if needed.

                I'm using the Townlong Steppes guide currently, but have seen it in other Pandaria guides as well.
                Attached Files
                Last edited by thegriffon; November 20, 2014, 09:30 PM. Reason: added guide being used

                Comment


                  #9
                  Which guide and step number does this happen on?
                  Become a Fan of Zygor Guides on Facebook:
                  http://www.facebook.com/pages/Zygor-...04933799556988

                  Follow Zygor Guides on Twitter:
                  http://twitter.com/zygorguides

                  Comment


                    #10
                    The current guide I'm using on my level 90 is Townlong Steppes. Step 129 is where I am currently. It happened multiple times in this step as well as the Jade Forest, Valley of the Four Winds, and Durotar. These are the only zones I've been in since the launch of WOD and version 5 of the guide. It also happens when I turn in a quest. The guide seems to completely stop working at that point. I can manually advance to the next step, but it doesn't update quest requirements (e.g. x of y kills) nor does it register quest completion. It also doesn't tell the guidance arrow to update and point to the next area. A reload of the UI seems to get it working again, but it breaks again afterwards.

                    I'm currently working through Gilneas and the Worgen starting quests with no issues other than the arrow being stuck on wanting me to hearth back to the inn to do every step. Even if I hearth, it says to wait for my hearthstone to cool down and use it again. (I don't guarantee this is related to the other issues though.)

                    The attached jpg is what the guide looks like when I start on my level 90.
                    Attached Files
                    Last edited by thegriffon; November 20, 2014, 11:14 PM.

                    Comment


                      #11
                      Mine was encountered in the starting orc zone

                      Comment


                        #12
                        lvl 8 orc here, had about 5 different times of the LUA error. Deleted everything and reinstalled, seemed to help for about a a lvl and a half but reappeared in Org and was able to close it and it came back after about 5 mins

                        Comment


                          #13
                          I get this error now that I am at level 100 and can no longer use the addon properly.

                          Comment


                            #14
                            Originally posted by Sacredox View Post
                            I get this error now that I am at level 100 and can no longer use the addon properly.
                            Have you tried loading any guide other than a leveling guide?
                            Become a Fan of Zygor Guides on Facebook:
                            http://www.facebook.com/pages/Zygor-...04933799556988

                            Follow Zygor Guides on Twitter:
                            http://twitter.com/zygorguides

                            Comment


                              #15
                              I'm getting the same errors, on different toons, different zones, over and over again. I've removed the guide and the settings several times without any result.

                              Comment

                              Working...
                              X