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

Announcement

Collapse
No announcement yet.

Getting LUA error on startup

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

    Getting LUA error on startup

    I just downloaded Zygor last night, worked fine, worked fine again this morning, just logged in now and suddenly I'm getting this error? Any thoughts?

    Message: ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewe r.lua:863: ERROR in startup frame 24: Interface\AddOns\ZygorGuidesViewer\Tabs.lua:290: attempt to index field 'CurrentGuide' (a nil value)
    in
    [string "@Interface\AddOns\ZygorGuidesViewer\Tabs.lua"]:290: in function `UpdateCurrentTab'
    [string "@Interface\AddOns\ZygorGuidesViewer\ZygorGuidesVi ewer.lua"]:1284: in function `SetGuide'
    [string "@Interface\AddOns\ZygorGuidesViewer\ZygorGuidesVi ewer.lua"]:968: in function `LoadInitialGuide'
    [string "@Interface\AddOns\ZygorGuidesViewer\ZygorGuidesVi ewer.lua"]:494: in function `Startup_LoadGuides_Threaded'
    [string "@Interface\AddOns\ZygorGuidesViewer\ZygorGuidesVi ewer.lua"]:720: in function <...rface\AddOns\ZygorGuidesViewer\ZygorGuidesView er.lua:649>

    Time: Sat Mar 14 17:45:55 2020
    Count: 1
    Stack: ...rface\AddOns\ZygorGuidesViewer\ZygorGuidesViewe r.lua:863: ERROR in startup frame 24: Interface\AddOns\ZygorGuidesViewer\Tabs.lua:290: attempt to index field 'CurrentGuide' (a nil value)
    in
    [string "@Interface\AddOns\ZygorGuidesViewer\Tabs.lua"]:290: in function `UpdateCurrentTab'
    [string "@Interface\AddOns\ZygorGuidesViewer\ZygorGuidesVi ewer.lua"]:1284: in function `SetGuide'
    [string "@Interface\AddOns\ZygorGuidesViewer\ZygorGuidesVi ewer.lua"]:968: in function `LoadInitialGuide'
    [string "@Interface\AddOns\ZygorGuidesViewer\ZygorGuidesVi ewer.lua"]:494: in function `Startup_LoadGuides_Threaded'
    [string "@Interface\AddOns\ZygorGuidesViewer\ZygorGuidesVi ewer.lua"]:720: in function <...rface\AddOns\ZygorGuidesViewer\ZygorGuidesView er.lua:649>

    [string "=[C]"]: in function `error'
    [string "@Interface\AddOns\ZygorGuidesViewer\ZygorGuidesVi ewer.lua"]:863: in function `StartupStep'
    [string "@Interface\AddOns\ZygorGuidesViewer\MasterFrame.l ua"]:6: in function <Interface\AddOns\ZygorGuidesViewer\MasterFrame.lu a:4>

    Locals: (*temporary) = "ERROR in startup frame 24: Interface\AddOns\ZygorGuidesViewer\Tabs.lua:290: attempt to index field 'CurrentGuide' (a nil value)
    in
    [string "@Interface\AddOns\ZygorGuidesViewer\Tabs.lua"]:290: in function `UpdateCurrentTab'
    [string "@Interface\AddOns\ZygorGuidesViewer\ZygorGuidesVi ewer.lua"]:1284: in function `SetGuide'
    [string "@Interface\AddOns\ZygorGuidesViewer\ZygorGuidesVi ewer.lua"]:968: in function `LoadInitialGuide'
    [string "@Interface\AddOns\ZygorGuidesViewer\ZygorGuidesVi ewer.lua"]:494: in function `Startup_LoadGuides_Threaded'
    [string "@Interface\AddOns\ZygorGuidesViewer\ZygorGuidesVi ewer.lua"]:720: in function <...rface\AddOns\ZygorGuidesViewer\ZygorGuidesView er.lua:649>
    "

    #2
    Have you tried disabling all other addons to see if one of them is messing with the loading?
    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
      Originally posted by ZG Support 1 View Post
      Have you tried disabling all other addons to see if one of them is messing with the loading?
      Thank you for replying. Yes, I just removed ALL mods except for Zygor. Same error.

      In the first few lines, it mentions this: "attempt to index field 'CurrentGuide' (a nil value)"

      To me, that sounds like it is looking for the current guide and not finding it, however I don't know your code well enough (at all) to figure out what steps need to be taken. How does Zygor determine what the current guide is? Does it use a config file of some sort? Or the presence of a folder/files?

      Unfortunately, the error prevents the Zygor dialog box from showing, so I can't simply choose to add a new guide.

      Comment


        #4
        Try doing a full guide reset.

        1. exit WoW
        2. go to the WoW/_retail_/Interface/Addons folder and delete the ZygorGuidesViewer folder
        3. go to the WoW/_retail_/WTF/Account/<your account name here>/SavedVariables folder and delete the Zygor files in there
        4. run the desktop client and install a fresh copy of the guides
        5. go back in game to test and let me know 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


          #5
          Ok, so here is what I can tell you.

          I deleted the files and folders as described above and reinstalled Zygor. I also made sure no other mods were being loaded. Doing this gets me back to a point where I can see there Zygor dialog box in game, HOWEVER....

          I still get the LUA error if I try to choose anything related to LEVELING. So for instance, I can now add a guide for professions, or reputation, and those will work just fine. However, if I choose anything related to leveling, it throws the LUA error.

          Here is a video which may help. I recorded what is going on, so you can see it firsthand.

          https://youtu.be/lPmnCeZCIrQ

          Comment


            #6
            Out of interest, I created another new character and started to play the game using this new character. In this case, Zygor kicked right in and worked fine without any errors whatsoever.
            I then switched back over to the character I created yesterday, and Zygor crashed with the LUA error.

            So, the issue seems to be tied to the character somehow. I don't know if that's something on my end or yours?

            Comment


              #7
              I believe I saw the problem. You are getting an error when you are trying to load a guide that does not really exist in the free trial guides. They are very limited in what guides are available to you and for leveling it's very limited. You were getting the error when trying to load a 20-25 guide which is just supposed to show a message in the guide viewer window that says you're reached the end of the free trial guides. You can see a list of all guides that are currently in the free trial guides in this blog post. https://zygorguides.com/blog/zygor-t...ated-for-2019/

              I will have our dev team look into why it's throwing an error instead of displaying the end of trial message like it should be doing.
              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


                #8
                Ah.... okay, that makes sense. Thank you for the followup. Sounds like purchasing the plan might solve the problem for me.

                Comment

                Working...
                X