Menu

#19 error line 1061, arg #1 to find

open
nobody
None
5
2006-03-07
2006-03-07
Anonymous
No

Enchantrix.lua:1061: bad argument #1 to 'find' (string
expected, got table)

The line in question:

local match, mend = string.find(str, at, pos, true);

Enchantrix version .729, downloaded fresh with the
auctioneer complete .734 zip.

Email asdflkjk@yahoo.com

(yes, I know it looks like a dud email, it's supposed to)

Discussion

  • Nobody/Anonymous

    Logged In: NO

    i to get this every time i log on

     
  • Forgetful

    Forgetful - 2006-03-28

    Logged In: YES
    user_id=1330344

    this 'bug' addressed by Aradan, turned out to be table in my
    enchantrix_local in my savedvariables.

     
  • Nobody/Anonymous

    Logged In: NO

    The 'fix': edit world of
    warcraft\WTF\ACCOUNT\%accountname%\SavedVariables\Enchantrix.lua

    remove all lines for the variable 'enchantrix_local' that
    are tables. ie, they will look like this:

    ["14302:0:786"] = {
    [16204] = {
    ["i"] = "1",
    ["d"] = "2",
    },
    },

    instead of this:

    ["8248:0:0"] = "11176:1:1:0",

    (I have no idea what this commentor window is going to do to
    my spacing of that code.)

     

Log in to post a comment.

MongoDB Logo MongoDB