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

Announcement

Collapse
No announcement yet.

Lua errors in Inventory.lua & StaticPopups.lua

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

    Lua errors in Inventory.lua & StaticPopups.lua

    Message: Interface/AddOns/ZygorGuidesViewer/Inventory.lua:358: attempt to call global 'GetContainerNumFreeSlots' (a nil value)
    Message: Interface/AddOns/ZygorGuidesViewer/StaticPopups.lua:510: attempt to call method 'LayoutFull' (a nil value)
    Both errors trigger when the guide wants to show the "buy quest item" popup when talking to a vendor.

    #2
    These should already be fixed. Try doing a full guide reset.

    1. exit WoW
    2. go to the WoW/_retail_/Interface/Addons folder and delete any Zygor folders
    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 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


      #3
      I did the full reset and disabled all other addons. The same two errors still happen. Guide version 9.0.28231

      Inventory.lua lines 358 and 365 has calls to GetContainerNumFreeSlots without the C_Container class. I added that myself but I'm not sure what to do about the StaticPopup error.

      Full stack trace:
      Code:
      Message: Interface/AddOns/ZygorGuidesViewer/StaticPopups.lua:510: attempt to call method 'LayoutFull' (a nil value)
      Time: Wed Nov 30 23:05:40 2022
      Count: 1
      Stack: Interface/AddOns/ZygorGuidesViewer/StaticPopups.lua:510: attempt to call method 'LayoutFull' (a nil value)
      [string "@Interface/AddOns/ZygorGuidesViewer/StaticPopups.lua"]:510: in function `ShowPopup'
      [string "@Interface/AddOns/ZygorGuidesViewer/StaticPopups.lua"]:537: in function `QueuePop'
      [string "@Interface/AddOns/ZygorGuidesViewer/StaticPopups.lua"]:560: in function `QueuePush'
      [string "@Interface/AddOns/ZygorGuidesViewer/StaticPopups.lua"]:136: in function `Show'
      [string "@Interface/AddOns/ZygorGuidesViewer/Inventory.lua"]:280: in function `ShowBuyConfirm'
      [string "@Interface/AddOns/ZygorGuidesViewer/Inventory.lua"]:374: in function `FindItemsToBuy'
      [string "@Interface/AddOns/ZygorGuidesViewer/Inventory.lua"]:622: in function `hand'
      [string "@Interface/AddOns/ZygorGuidesViewer/ZygorGuidesViewer.lua"]:1131: in function `?'
      [string "@Interface/AddOns/ZygorGuidesViewer/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:145: in function <...wer/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:145>
      [string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
      [string "=[C]"]: ?
      [string "safecall Dispatcher[1]"]:13: in function `?'
      [string "@Interface/AddOns/ZygorGuidesViewer/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:90: in function `Fire'
      [string "@Interface/AddOns/ZygorGuidesViewer/Libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...ZygorGuidesViewer/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>
      
      Locals: <none>

      Comment


        #4
        You found the files in the savedvariables folder to delete? What are the exact steps you take to reproduce this error?
        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

        Working...
        X