LoggerHead

46 - Can't open options menu

What steps will reproduce the problem?
1. install Loggerhead
2. right click Loggerhead icon
3. try setp 2 again

What is the expected output?
A menu open
What do you see instead?
nothing

What version of the product are you using?
current

Do you have an error log of what happened?
Not sure

Please provide any additional information below.

User When Change
Stanzilla Sep 03, 2013 at 15:46 UTC
DarkLogicx Dec 09, 2012 at 04:58 UTC Create

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

  • 1 comment
  • Avatar of amberkilloran amberkilloran Dec 29, 2012 at 21:05 UTC - 0 likes

    Edit: I fixed my issue, which I believe is the cause of the initial issue presented. Through some digging, I discovered that the hardcoded response to scenarios responding with 'nil' from Blizzard was causing issues, specifically that a table was expected, only to get a string. When it attempts to run through this string as a table, it simply fails, instead. The following line should be placed earlier in the code to avoid this failure.

    if zonetype ~= "none" then
    

    Truncated Function:

    function LoggerHead.GenerateOptionsInternal()
    . . .
    
    	local function buildmenu(options, zonetype, zone, difficulties)
    	. . .
    
    	for zonetype,v in pairs(db.log) do
    		--print("Zonetype:",zonetype,v)
    		if zonetype ~= "none" then
    			for zone,v2 in pairs(v) do
    				--print("Zone:",zone,v2)
    				buildmenu(LoggerHead.options,zonetype,zone,v2)
    			end
    		end
    	end
    . . .
    
    end
    

    Original Post: Having similar issue; with latest checkout, get the following error while trying to open menus:

    Message: Interface\AddOns\LoggerHead\Loggerhead.lua:365: bad argument #1 to 'pairs' (table expected, got string)
    Time: 12/29/12 07:35:07
    Count: 4
    Stack: (tail call): ?
    [C]: ?
    Interface\AddOns\LoggerHead\Loggerhead.lua:365: in function `GenerateOptionsInternal'
    Interface\AddOns\LoggerHead\Loggerhead.lua:251: in function <Interface\AddOns\LoggerHead\Loggerhead.lua:248>
    ...-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:309: in function `app'
    ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1803: in function `Open'
    ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1888: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1886>
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[2]"]:9: in function <[string "safecall Dispatcher[2]"]:5>
    (tail call): ?
    Interface\AddOns\Ace3\AceGUI-3.0\AceGUI-3.0.lua:314: in function `Fire'
    ...GUI-3.0\widgets\AceGUIContainer-BlizOptionsGroup.lua:20: in function <...GUI-3.0\widgets\AceGUIContainer-BlizOptionsGroup.lua:19>
    [C]: in function `Show'
    Interface\FrameXML\InterfaceOptionsFrame.lua:28: in function `InterfaceOptionsList_DisplayPanel'
    Interface\FrameXML\InterfaceOptionsFrame.lua:46: in function `InterfaceOptionsListButton_OnClick'
    [string "*:OnClick"]:2: in function <[string "*:OnClick"]:1>
    
    Locals: <none>
    
    Last edited Jan 02, 2013 by amberkilloran
  • 1 comment

Facts

Last updated
Sep 03, 2013
Reported
Dec 09, 2012
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