I am not sure how but I got this error for a long time... seems like no one has same issue as me so I decide to post here...
[2006/11/14 22:54:17-804-x1]: AceLibrary\AceLibrary.lua:160: Bad argument #1 to `error' (table expected, got string)
<in C code>: in function `error'
AceLibrary\AceLibrary.lua:48: in function <Interface\AddOns\Ace2\AceLibrary\AceLibrary.lua:46>
AceLibrary\AceLibrary.lua:160: in function `argCheck'
AceLocale-2.2\AceLocale-2.2.lua:167: in function `RegisterTranslations'
AuctionLink\AuctionLink-enUS.lua:2: in main chunk
Hello there.
This might be a good place to post this. ;)
I recently submitted my first addon to the SVN, using the tips in the "SVN For Beginners" wiki and TortoiseSVN. I have it set up to grab the libraries automatically from the other Ace2 SVN folders, using the svn:externals property.
I then downloaded the addon again to test it, and received the following error upon logging in -
<path stuff>/AceLibrary.lua:27: Unexpected symbol near '...'
Visor2 was the only Ace2 mod enabled at the time. I replaced the AceLibrary.lua file with an older version from another addon, and the error went away.
I just wanted to let any authors of the AceLibrary piece know that I encountered this. Is the '...' syntax a new thing for LUA 5.1 this Tuesday?
[2006/11/14 22:54:17-804-x1]: AceLibrary\AceLibrary.lua:160: Bad argument #1 to `error' (table expected, got string)
<in C code>: in function `error'
AceLibrary\AceLibrary.lua:48: in function <Interface\AddOns\Ace2\AceLibrary\AceLibrary.lua:46>
AceLibrary\AceLibrary.lua:160: in function `argCheck'
AceLocale-2.2\AceLocale-2.2.lua:167: in function `RegisterTranslations'
AuctionLink\AuctionLink-enUS.lua:2: in main chunk
This might be a good place to post this. ;)
I recently submitted my first addon to the SVN, using the tips in the "SVN For Beginners" wiki and TortoiseSVN. I have it set up to grab the libraries automatically from the other Ace2 SVN folders, using the svn:externals property.
I then downloaded the addon again to test it, and received the following error upon logging in -
<path stuff>/AceLibrary.lua:27: Unexpected symbol near '...'
Visor2 was the only Ace2 mod enabled at the time. I replaced the AceLibrary.lua file with an older version from another addon, and the error went away.
I just wanted to let any authors of the AceLibrary piece know that I encountered this. Is the '...' syntax a new thing for LUA 5.1 this Tuesday?
http://www.wowace.com/forums/index.php?topic=3233.0