GnomeWorks TradeSkill Frame

55 - attempt to index field 'playerData' (a nil value)

What is the nature of the defect?
GnomeWorks doesn't load.

What (if anything) triggers the defect?  (happens when loading, when activating the mod, when clicking a particular button, etc)
Opening any tradeskill.

Please post any error messages associated with the defect.

From Bugsack:
1x gnomeworks-r41\SkillList.lua:219 attempt to index field 'playerData' (a nil value)
gnomeworks-r41\GnomeWorks.lua:379 in function `Initialize'
gnomeworks-r41\GnomeWorks.lua:427 in function <gnomeworks\GnomeWorks.lua:426
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceTimer-3.0-5:164: in function <...ventory\Externals\Ace3\AceTimer-3.0\AceTimer-3.0.lua:138

  ---

User When Change
lilsparky Oct 25, 2010 at 21:25 UTC Changed status from New to Fixed
kodewulf Jul 08, 2010 at 14:29 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of kodewulf kodewulf Aug 18, 2010 at 04:10 UTC - 0 likes

    Deleted the addon folder, downloaded r53, and did a fresh install. Would you believe, it works!

    The capitalization might have been the issue. :(

  • Avatar of lilsparky lilsparky Aug 17, 2010 at 07:20 UTC - 0 likes

    okay, this is interesting... i see your directory is called "gnomeworks" with no capitalization. i wonder if that's the problem. how did you download the mod?

    is the .toc file "GnomeWorks.toc" or "gnomeworks.toc"?

    the way it loads, it's waiting to see the event ADDON_LOADED with the argument "GnomeWorks" to indicate that GnomeWorks has fully loaded. if for some reason it's thinking the thing is called "gnomeworks" it'll completely miss it.

    the next rev with try account for this possible discrepancy.

  • Avatar of kodewulf kodewulf Aug 17, 2010 at 04:37 UTC - 0 likes

    Brand new toon, on a new realm. Played till level 5 with NO addons, including GW. Learned Alchemy, logged out, enabled GW, logged back in. Dragged the button from the spellbook to the action bar, clicked it. Still default Blizzard UI. Logged out, logged back in, clicked the button in the spellbook, default Blizzard UI again.

    Using "/script GnomeWorks:OnLoad()" and "/script GnomeWorks:Initialize()" and then opening up "Alchemy" loads GW instead of the default Blizzard UI.

    Lol. I'm stumped.

  • Avatar of lilsparky lilsparky Aug 10, 2010 at 16:32 UTC - 0 likes

    okay, interesting. do you use AddonLoader?

    you were saying you'd create a new toon and just try gw and lsw to see if they work. i'm assuming this last test was on such a toon with only those mods, yes?

  • Avatar of kodewulf kodewulf Aug 10, 2010 at 11:01 UTC - 0 likes

    This "/script THIS_IS_PROBABLY_NIL:Test()" produces an error frame. So at least I'm getting LUA errors.

    After LOGIN, open First Aid and use "/script GnomeWorks:TRADE_SKILL_SHOW()" produces the following error:

    ------ SNIP ------- Message: Interface\AddOns\gnomeworks\MainWindow.lua:1099: attempt to index upvalue 'frame' (a nil value) Time: 08/10/10 20:58:19 Count: 1 Stack: Interface\AddOns\gnomeworks\MainWindow.lua:1099: in function `TRADE_SKILL_SHOW' [string "GnomeWorks:TRADE_SKILL_SHOW()"]:1: in main chunk [C]: in function `RunScript' Interface\FrameXML\ChatFrame.lua:1996: in function `value' Interface\FrameXML\ChatFrame.lua:4070: in function `ChatEdit_ParseText' Interface\FrameXML\ChatFrame.lua:3660: in function `ChatEdit_SendText' Interface\FrameXML\ChatFrame.lua:3698: in function `ChatEdit_OnEnterPressed' [string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

    Locals: self = <table> { RecipeGroupPruneList = <function> defined @Interface\AddOns\gnomeworks\RecipeGroups.lua:601 InitGroupList = <function> defined @Interface\AddOns\gnomeworks\RecipeGroups.lua:615 StopReagentScan = <function> defined @Interface\AddOns\gnomeworks\FrameHooks\AuctionHouse.lua:101 CancelTimer = <function> defined @Interface\AddOns\gnomeworks\Libs\AceTimer-3.0\AceTimer-3.0.lua:311 RecipeGroupAddSubGroup = <function> defined @Interface\AddOns\gnomeworks\RecipeGroups.lua:208 InventoryScan = <function> defined @Interface\AddOns\gnomeworks\Inventory.lua:308 SetInventoryCount = <function> defined @Interface\AddOns\gnomeworks\Inventory.lua:158 TRADE_SKILL_UPDATE = <function> defined @Interface\AddOns\gnomeworks\MainWindow.lua:1147 RecipeGroupConstructDBString = <function> defined @Interface\AddOns\gnomeworks\RecipeGroups.lua:568 GetTradeIcon = <function> defined @Interface\AddOns\gnomeworks\GetTradeSkill.lua:165 AUCTION_HOUSE_SHOW = <function> defined @Interface\AddOns\gnomeworks\FrameHooks\AuctionHouse.lua:107 GetInventoryCount = <function> defined @Interface\AddOns\gnomeworks\Inventory.lua:173 RegisterMessageDispatch = <function> defined @Interface\AddOns\gnomeworks\GnomeWorks.lua:74 ScheduleTimer = <function> defined @Interface\AddOns\gnomeworks\Libs\AceTimer-3.0\AceTimer-3.0.lua:276 SelectEntry = <function> defined @Interface\AddOns\gnomeworks\SkillList.lua:365 AddToQueue = <function> defined @Interface\AddOns\gnomeworks\Queue.lua:859 RegisterMessage = <function> defined @Interface\AddOns\gnomeworks\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:118 UnregisterMessage = <function> defined @Interface\AddOns\gnomeworks\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:181 data = <table> { } RecipeGroupSort = <function> defined @Interface\AddOns\gnomeworks\RecipeGroups.lua:419 SetFilterText = <function> defined @Interface\AddOns\gnomeworks\MainWindow.lua:1161 PopSelection = <function> defined @Interface\AddOns\gnomeworks\SkillList.lua:442 ExpandAllHeaders = <function> defined @Interface\AddOns\gnomeworks\ScrollFrame.lua:583 RecipeGroupOpRename = <function> defined @Interface\AddOns\gnomeworks\RecipeGroups.lua:983 GetTradeSkillIcon = <function> defined @Interface\AddOns\gnomeworks\GetTradeSkill.lua:206 ConstructPseudoTrades = <function> defined @Interface\AddOns\gnomeworks\GetTradeSkill.lua:65 IsTradeSkillLinked = <function> defined @Interface\AddOns\gnomeworks\GetTradeSkill.lua:206 OnLoad = <function> defined @Interface\AddOns\gnomeworks\GnomeWorks.lua:175 DoTradeSkillUpdate = <function> defined @Interface\AddOns\gnomeworks\MainWindow.lua:1069 ParseSkillList = <function> defined @Interface\AddOns\gnomeworks\SkillList.lua:230 PLAYER_GUILD_UPDATE = <function> defined @Interface\AddOns\gnomeworks\GnomeWorks.lua:166 RecipeGroupNew = <function> defined @Interface\AddOns\gnomeworks\RecipeGroups.lua:77 ScanSlotGroups = <function> defined @Interface\AddOns\gnomeworks\SkillList.lua:842 RecipeGroupOpNew = <function> defined @Interface\AddOns\gnomeworks\RecipeGroups.lua:902 GetSkillColor = <function> defined @Interface\AddOns\gnomeworks\SkillList.lua:937 CreateQueueWindow = <function> defined @Interface\AddOns\gnomeworks\Queue.lua:1282 RecipeGroupFindRecipe = <function> defined @Interface\AddOns\gnomeworks\RecipeGroups.lua:54 Unregis ----- SNIP --------

    Using "/script GnomeWorks:OnLoad()" and "/script GnomeWorks:Initialize()" and then opening up First Aid works as expected.

    Restarting the client, or doing another log in resets the whole thing again.

  • Avatar of lilsparky lilsparky Aug 07, 2010 at 18:03 UTC - 0 likes

    weird. you have lua errors turned on?

    try this:

    /script GnomeWorks:OnLoad()
    /script GnomeWorks:Initialize()

    or

    /script GnomeWorks:TRADE_SKILL_SHOW()
    (with your blizz frame open)

    and just for kicks to make sure you're getting lua errors:

    /script THIS_IS_PROBABLY_NIL:Test()

  • Avatar of kodewulf kodewulf Aug 07, 2010 at 11:57 UTC - 0 likes

    Dragged "First Aid" to my action bar. Click the button, original Blizzard frame. Also using the tradeskill directly from the spell book, same result.

    I've also disabled ALL other addons, deleted the SAVEDVARIABLES for GW. Updated to r50. Still only the original Blizzard frame. Anything in particular you want me to try?

  • Avatar of lilsparky lilsparky Aug 07, 2010 at 06:34 UTC - 0 likes

    how do you open your trade skill? from the spell book, a button, a macro, etc.?

  • Avatar of kodewulf kodewulf Aug 07, 2010 at 04:35 UTC - 0 likes

    nope, nothing. nothing in bugsack, no taint errors. it just doesn't show up.

    i'll roll a brand new toon and only load GW and LSW and see what happens. i'll try to track down if there is another mod that might interfere with it.

  • Avatar of lilsparky lilsparky Aug 06, 2010 at 16:53 UTC - 0 likes

    weird.  and no error message?

Facts

Last updated
Oct 25, 2010
Reported
Jul 08, 2010
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees