error on login #36


  • New
  • Defect
Open
Assigned to merialkilrogg
  • _ForgeUser567127 created this issue Feb 2, 2010

    What steps will reproduce the problem?
    1. error on login any toon

    What version of the product are you using?
    Latest r169

    Do you have an error log of what happened?
    yes

    Please provide any additional information below.
    Date: 2010-02-02 17:59:35
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\AuctionLite\Config.lua line 626:
       bad argument #1 to 'pairs' (table expected, got nil)
    Debug:
       (tail call): ?
       [C]: pairs()
       AuctionLite\Config.lua:626: ConvertOptions()
       AuctionLite\AuctionLite.lua:50:
          AuctionLite\AuctionLite.lua:44
       (tail call): ?
       [C]: ?
       [string "safecall Dispatcher[1]"]:9:
          [string "safecall Dispatcher[1]"]:5
       (tail call): ?
       ...ddOns\AuctionLite\Libs\AceAddon-3.0\AceAddon-3.0.lua:510: InitializeAddon()
       ...ddOns\AuctionLite\Libs\AceAddon-3.0\AceAddon-3.0.lua:622:
          ...ddOns\AuctionLite\Libs\AceAddon-3.0\AceAddon-3.0.lua:615
    AddOns:
      StopTheSpam, v2.00.20000
      Swatter, v5.8.4643 (CreepyKangaroo)
      ACP, v3.3.0.28
      AdvancedTradeSkillWindow, v
      AuctionLite, v1.5.4
      BlizRuntimeLib_enUS v3.3.2.30300 <us>
      (ck=af)

  • _ForgeUser567127 added the tags New Defect Feb 2, 2010
  • MysticalOS posted a comment Feb 2, 2010

    same error

  • Kemayo posted a comment Feb 2, 2010

    Likewise.

    Message: Interface\AddOns\AuctionLite\Config.lua:626 bad argument #1 to 'pairs' (table expected, got nil)
    Time: 02/02/10 19:45:34
    Count: 1
    Stack: [C]: in function `pairs'
    Interface\AddOns\AuctionLite\Config.lua:626 in function `ConvertOptions'
    Interface\AddOns\AuctionLite\AuctionLite.lua:50 in function <Interface\AddOns\AuctionLite\AuctionLite.lua:44
    (tail call): ?
    [C]: ?
    [string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
    (tail call): ?
    Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:510 in function `InitializeAddon'
    Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:622 in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:615

    Locals: (*temporary) = nil
    (*temporary) = "table expected, got nil"
     = <function> defined =[C]:-1

  • Evonder posted a comment Feb 3, 2010

    Just check to see if the table exists first. The table is nil unless the user has added a favorite to the db.

    Config.lua:624

    --  -- Convert favorites
    ++  -- Convert favorites if exist.
    ++  if(profile.favorites) then
          local value = true;
          for _, v in pairs(profile.favorites) do
            value = v;
            break;
          end
          if type(value) == "boolean" then
            profile.favorites = { [L["Favorites"]] = profile.favorites };
          end
    ++  end
    

To post a comment, please login or register a new account.