Home > Lua Error > Lua Error

Lua Error


Once you find the half with the problem, disable half of those. So instead make the reporting better and tolerable. When pcall returns its error message, it destroys part of the stack (the part that went from it to the error point). If the problem doesn't happen, log out, disable the enabled addons, and enable the other half of your addons.

I am NOT trying to trouble shoot lines of code that are gibberish to me, I am trying to unclutter my screen. If the addon's name is now shown in gold, then the addon is now enabled, and you can skip to Step 4. yes you can just turn errors off but that's about as recommended as putting fingers in your ears and going "lalalalalala". Watch QueueQueueWatch QueueQueue Remove allDisconnect The next video is startingstop Loading... http://eu.battle.net/forums/en/wow/topic/1999603891

Lua Error Wow

This information is not useful in the overwhelming majority of cases, and just makes everyone who looks at your report waste time scrolling past it. Now log back in. SpeedoxTM 1,043,125 views 29:56 How to create a clean PvP UI in 10 minutes - Duration: 10:20. yes you can just turn errors off but that's about as recommended as putting fingers in your ears and going "lalalalalala".

A simple example to show run time error is shown below. Loading... and now you can diagnose errors properly in future. Disable Lua Errors Legion All rights reserved.

The less time the addon's author has to spend finding the bug, the sooner they can start fixing the bug! Recommendation: Do not install AddonLoader unless you have a good understanding of how it works and a strong reason to use it. then error end is so common that Lua has a built-in function just for that job, called assert: print "enter a number:" n = assert(io.read("*number"), "invalid input") The assert function checks Watch Queue Queue __count__/__total__ Find out whyClose ***OLD*** How to stop Lua Error pop up message in WoW ItsMeJayWill SubscribeSubscribedUnsubscribe112112 Loading...

This would be best fitted for our UI and Macro forums. Wow Disable Lua Errors Legion lua: test2.lua:3: b is not a number stack traceback: [C]: in function 'assert' test2.lua:3: in function 'add' test2.lua:6: in main chunk [C]: ? Myboyfriend 110 Troll Priest 16870 151 posts Myboyfriend Ignored Nov 3 Copy URL View Post 07/20/2016 10:24 AMPosted by OmegalHonestly the best thing to do is to On the other hand, let us consider the io.open function, which opens a file.

Lua Error Function

Sign in Share More Report Need to report the video? dig this Although that message typically indicates a logic error inside the Lua script, it can also occur when a Lua function has been stopped due to a timeout limit (see below: Lua Lua Error Wow The addon's author may need more information from you in order to identify or fix the problem, or they may not be able to reproduce the problem themselves and ask you Lua Error Script Step 7: Report the problem Once you've gone through the above steps, you should report the problem to the addon's author so they can fix it.

For instance, suppose you write a function and its first task is to check whether it was called correctly: function foo (str) if type(str) ~= "string" then error("string expected") end ... Swifty 674,398 views 17:37 WoD Gold Guide: How I Got to 500k Gold - Duration: 16:13. Omegal MVP - Technical Support 110 Human Warrior 22320 11330 posts Omegal Ignored Jul 20 (Edited) 9 Copy URL View Post Honestly the best thing to do is to A simple example for xpcall is shown below. Hide Lua Errors Legion

Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization. Close Yeah, keep it Undo Close This video is unavailable. Loading... Remember to check on your bug report after a few days!

Fevir 188,339 views 13:00 Real Talk about World of Warcraft Losing 2.9 Million Subs in 2015 Q1 - Duration: 17:02. Turn Off Lua Errors Legion They are located in one or both of these locations in your account folder: World of Warcraft\WTF\Account\ SavedVariables\.lua \\SavedVariables\.lua Log back into WoW. Join the Conversation Ignored Have something to say?

This function error never returns.

Does anyone else have this problem? Aelely 100 Blood Elf Rogue 11215 31 posts Aelely Ignored Jul 20 2 Copy URL View Post So look up Bugsack and BugGrabber on curse (need both, one is The more information you can give the addon's author, the faster they can find and fix the problem. Lua Error Handling For example, a Grid plugin depends on Grid, because it can't load unless Grid is enabled.

popups do not occur when doing anything important such as in combat3. The answer you would get from the Technical Support forums is to do a UI reset and try updating the addons. >,< Moving this for you so you can get the This is a runtime error, which had occurred due to not passing two variables. It is not a serious error something to do with honor frame my guess is because honor frame is no longer a thing, i just want to hide this 1 error

Epic Loot 96,876 views 6:02 Top 10 Creepy Stories in Warcraft [Lore] - Duration: 24:58. It's broken down into seven simple steps, and each step not only provides instructions, but also explains why the step is useful. That being said does anyone know how to disable these very annoying popups? If not, which addon is it conflicting with? (Step 5) Does the problem happen with the addon's default settings? (Step 6) If the problem only happens on one character, include that

The text of this guide is released into the public domain, via the unlicense. Failure The xpcall (f, err) function calls the requested function and also sets the error handler. Reply View First Unread Thread Tools Display Modes 07-23-16, 07:28 AM #1 Mayron A Cobalt Mageweaver Join Date: Jan 2010 Posts: 237 Enabling Lua errors in patch 7.0.0 something on the screen looks wrong), attaching a screenshot is helpful.

Omegakiller 86 Night Elf Rogue 0 12 posts Omegakiller Ignored Oct 28 1 Copy URL View Post 07/20/2016 10:03 AMPosted by ZuvykreeSounds more like you are trying to troubleshoot