Error v 2.2.10 #45


  • Defect
  • Replied
Open
Assigned to yssaril
  • _ForgeUser1135927 created this issue Dec 8, 2010

    Date: 2010-12-08 19:20:27
    ID: 3
    Error occured in: Global
    Count: 3
    Message: ..\AddOns\Mounted\MacroTextParser.lua line 100:
       bad argument #1 to 'pairs' (table expected, got nil)
    Debug:
       (tail call): ?
       [C]: pairs()
       Mounted\MacroTextParser.lua:100: GetRandomMountFromTable()
       Mounted\MacroTextParser.lua:76: GetMount()
       Mounted\MacroTextParser.lua:31: ParseMacro()
       Mounted\Core.lua:415: GenerateMacro()
       Mounted\Options.lua:227:
          Mounted\Options.lua:225
       (tail call): ?
       [C]: ?
       [string "safecall Dispatcher[2]"]:9:
          [string "safecall Dispatcher[2]"]:5
       (tail call): ?
       ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:798:
          ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:613
       (tail call): ?
       [C]: ?
       [string "safecall Dispatcher[3]"]:9:
          [string "safecall Dispatcher[3]"]:5
       (tail call): ?
       Ace3\AceGUI-3.0\AceGUI-3.0.lua:314: Fire()
       ...ot\Libs\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua:439:
          ...ot\Libs\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua:430
       (tail call): ?
       [C]: ?
       [string "safecall Dispatcher[3]"]:9:
          [string "safecall Dispatcher[3]"]:5
       (tail call): ?
       Ace3\AceGUI-3.0\AceGUI-3.0.lua:314: Fire()
       ...3\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua:345:
          ...3\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua:335

  • _ForgeUser1135927 added the tags New Defect Dec 8, 2010
  • yssaril posted a comment Dec 9, 2010

    any context to the error? are you in a certain location is it at login or what?

  • yssaril removed a tag New Dec 9, 2010
  • yssaril added a tag Waiting Dec 9, 2010
  • _ForgeUser1135927 posted a comment Dec 9, 2010

    any context to the error? are you in a certain location is it at login or what?

    It gave me that error on a fresh install when I changed Swimming Macro from "Default Water Mount" to "Vashj'ir mount with dismount".

  • _ForgeUser1135927 removed a tag Waiting Dec 9, 2010
  • _ForgeUser1135927 added a tag Replied Dec 9, 2010
  • _ForgeUser839503 posted a comment Dec 17, 2010

    I get the same error on alts that don't have a mount yet.

    If you add "if self.db.char.mounts[mountType][mountSpeed] then" before line 100 and add an "end" after line 104 it seems work again.


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