RagnaroktA Posted May 5, 2006 Share Posted May 5, 2006 I get the following AutoIt error: Unterminated string in file %Path%, line 5 BUT, the error will only pop if the script is compiled. The .au3 runs fine. What is the quickest/easiest way to find the problem string in a script that is about 3500 lines? Is there one? Any help will be much appreciated. Thanks! Current Projects:Remote Administration Suite Updated! 12-20-07Remote User State Migration Tool (Plugin) Updated! 12-20-07Batch Print Wizard Updated! 12-20-07Links:AutoIt Beta | AutoIt Wiki Link to comment Share on other sites More sharing options...
w0uter Posted May 5, 2006 Share Posted May 5, 2006 well it says LINE 5 My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Developers Jos Posted May 5, 2006 Developers Share Posted May 5, 2006 I get the following AutoIt error:Unterminated string in file %Path%, line 5BUT, the error will only pop if the script is compiled. The .au3 runs fine. What is the quickest/easiest way to find the problem string in a script that is about 3500 lines? Is there one?Any help will be much appreciated. Thanks!use au3check to check your source .... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
RagnaroktA Posted May 5, 2006 Author Share Posted May 5, 2006 (edited) well it says LINE 5I'm sure it's not line 5.Line 5 is: ;** AUT2EXE settingsUnder compiler directives...Where can I find au3check?Edit: Nevermind, I use the CompileAU3 wrapper, and that uses au3check before compiling... Any ideas? Edited May 5, 2006 by RagnaroktA Current Projects:Remote Administration Suite Updated! 12-20-07Remote User State Migration Tool (Plugin) Updated! 12-20-07Batch Print Wizard Updated! 12-20-07Links:AutoIt Beta | AutoIt Wiki Link to comment Share on other sites More sharing options...
Developers Jos Posted May 5, 2006 Developers Share Posted May 5, 2006 I'm sure it's not line 5.Line 5 is: ;** AUT2EXE settingsUnder compiler directives...Where can I find au3check?Doesn't look like an AutoIt3 Error because a compiled script doesn't know the linenumber and will say line 0 ...Au3check thread is in the developers forum.. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
RagnaroktA Posted May 5, 2006 Author Share Posted May 5, 2006 Doesn't look like an AutoIt3 Error because a compiled script doesn't know the linenumber and will say line 0 ...Au3check thread is in the developers forum..That's what I was thinking, I've never seen a compiled script return anything other than line 0... So you think it's an au3check error? Current Projects:Remote Administration Suite Updated! 12-20-07Remote User State Migration Tool (Plugin) Updated! 12-20-07Batch Print Wizard Updated! 12-20-07Links:AutoIt Beta | AutoIt Wiki Link to comment Share on other sites More sharing options...
Developers Jos Posted May 5, 2006 Developers Share Posted May 5, 2006 That's what I was thinking, I've never seen a compiled script return anything other than line 0... So you think it's an au3check error?nope....are you shelling any program ?How does the error window look ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
RagnaroktA Posted May 5, 2006 Author Share Posted May 5, 2006 (edited) nope....are you shelling any program ?How does the error window look ?Just ran Au3Check on the file and exported it to a text file, and nothing about not closing a string. I am shelling within the program, but inside of functions, and the error pops before the splash of the program is ever shown, so it cant be erroring out on a shelled program. At least I dont think... Edited May 5, 2006 by RagnaroktA Current Projects:Remote Administration Suite Updated! 12-20-07Remote User State Migration Tool (Plugin) Updated! 12-20-07Batch Print Wizard Updated! 12-20-07Links:AutoIt Beta | AutoIt Wiki Link to comment Share on other sites More sharing options...
Valuater Posted May 5, 2006 Share Posted May 5, 2006 i would guess you are using a "Run" command that error has a "space" in it...so either use filegetshortname or double quotes hobbyist opinion 8) Link to comment Share on other sites More sharing options...
Developers Jos Posted May 5, 2006 Developers Share Posted May 5, 2006 (edited) Just ran Au3Check on the file and exported it to a text file, and nothing about not closing a string. I am shelling within the program, but inside of functions, and the error pops before the splash of the program is ever shown, so it cant be erroring out on a shelled program. At least I dont think...This is an AutoIt3 error ... just checked the source...Can you PM me your script so i can have a look? Edited May 5, 2006 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Developers Jos Posted May 5, 2006 Developers Share Posted May 5, 2006 There are some other reports of this error......Like #region -- Comment's that cause error SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
RagnaroktA Posted May 5, 2006 Author Share Posted May 5, 2006 There are some other reports of this error......Like #region -- Comment's that cause errorI PMed you a link, but the script works now...I changed nothing at all, recompiled for the 30th time, and bam. Works like a charm. It's mocking me. Current Projects:Remote Administration Suite Updated! 12-20-07Remote User State Migration Tool (Plugin) Updated! 12-20-07Batch Print Wizard Updated! 12-20-07Links:AutoIt Beta | AutoIt Wiki Link to comment Share on other sites More sharing options...
Developers Jos Posted May 5, 2006 Developers Share Posted May 5, 2006 I PMed you a link, but the script works now...I changed nothing at all, recompiled for the 30th time, and bam. Works like a charm. It's mocking me.Had a quick look and couldn't find an issue with either the #region or Line continuations.....I cannot compile it because i am missing too much files.....You didn't update the Beta version or something ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now