Jump to content

AutoIt Error Window


Champak
 Share

Recommended Posts

I sometimes get an AutoIt error message(window) while running my script. But I get no error messages within the console of Scite. How can I trace what is causing the autoit error window?

What is in the error window?

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

I would have put an image of it, but it is so sporadic I can't readily reproduce it. I didn't know different things would be in it, I thought it was just one standard thing...besides the long technical stuff once you click the info link. Next time I see it I'll update this topic.

Link to comment
Share on other sites

It's probably a hard crash, provide some reproducing code so we can see what wrong there.

 

Spoiler

Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize Program

AutoIt_Icon_small.pngUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF
 
AutoIt_Icon_small.pngExamples: 
ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Link to comment
Share on other sites

Here are the images of the error window...as MRCreator said, I think this is a hard crash. I can't really provide reproducing code to solve this as this is a 20,000+ line script with multiple functions on timers which activates multiple other functions, besides the functions I am actively activating at any given time...see my dilemma? So unless you would really like to dive into deciphering the entire app, providing snippet of the code wouldn't really lead anywhere because I don't know what out of the 100 or so functions is causing this sporadic, unpredictable hard crash. #AutoIt3Wrapper_Run_Debug_Mode=Y seems like a good start, unless any other suggestions. I haven't been able to test it yet because upon starting the script it seems to fail with any coding that carries to the next line using "_". So I have to go and edit all of those pieces of code so the app can actually start. My question is, do I get the same console writing in scite while the app is running or only upon launch? Because if it is only upon launch, I don't think this will help me.

Thanks.

post-12133-1234372310_thumb.gif

post-12133-1234372322_thumb.gif

Link to comment
Share on other sites

#AutoIt3Wrapper_Run_Debug_Mode=Y doesn't work, because although I can't activate any functions, the script doesn't seem to actually stop when the error pops up; it is still printing things out in scite while the error screen is up with everything frozen, then when I close the error window the script exits.

FOR NOW the problem only seems to be happening on my laptop. I only tested it out on one of my other computers, and the error hasn't popped up yet. So it seems to be isolated for now. Will be back if the error happens on any other computer. Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...