System Tester Posted October 23, 2006 Share Posted October 23, 2006 Mornin. I've installed "autoit-v3.2.0.1-setup" and "SciTe4AutoIt3" in a new Virtual Machine. I've attempted to run a known, reliable script that calls 3 modules. #Include <date.au3> #include <file.au3> #include <Array.au3> I get the following errors. _______________________________________________ >Running AU3Check params: from:C:\Programmi\AutoIt3\SciTE\au3check\ C:\Programmi\AutoIt3\Include\file.au3(102,58) : ERROR: SetError() [built-in] called with wrong number of args. If Not FileExists($sPath) Then Return SetError(1,1,"") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Programmi\AutoIt3\Include\file.au3(103,261) : ERROR: SetError() [built-in] called with wrong number of args. If (StringInStr($sFilter, "\")) or (StringInStr($sFilter, "/")) or (StringInStr($sFilter, ":")) or (StringInStr($sFilter, ">")) or (StringInStr($sFilter, "<")) or (StringInStr($sFilter, "|")) or (StringStripWS($sFilter, 8) = "") Then Return SetError(2,2,"") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Programmi\AutoIt3\Include\file.au3(104,80) : ERROR: SetError() [built-in] called with wrong number of args. If Not ($iFlag = 0 Or $iFlag = 1 Or $iFlag = 2) Then Return SetError(3,3,"") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Programmi\AutoIt3\Include\file.au3(106,49) : ERROR: SetError() [built-in] called with wrong number of args. If $hSearch = -1 Then Return SetError(4,4,"") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Programmi\AutoIt3\Include\date.au3(1215,89) : ERROR: DllStructCreate(): undefined function. $SYSTEMTIME = DllStructCreate("ushort;ushort;ushort;ushort;ushort;ushort;ushort;ushort") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Programmi\AutoIt3\Include\date.au3(1216,45) : ERROR: DllStructGetPtr(): undefined function. $lpSystemTime = DllStructGetPtr($SYSTEMTIME) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Programmi\AutoIt3\Include\date.au3(1226,40) : ERROR: DllStructSetData(): undefined function. DllStructSetData($SYSTEMTIME, 4, $iDay) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ \\Cygnus\Work in progress\PeteS\TNI Regression scripts\TNI_001.au3 - 7 error(s), 0 warning(s) !>AU3Check ended.rc:2 >Running:(3.2.0.1):C:\Programmi\AutoIt3\autoit3.exe "\\Cygnus\Work in progress\PeteS\TNI Regression scripts\TNI_001.au3" +>AutoIT3.exe ended.rc:0 _______________________________________________________ What AM I doing wrong? The AutoIt help file should be interrogated.The Editor should be SciTe.The forums should have been searched. Link to comment Share on other sites More sharing options...
System Tester Posted October 23, 2006 Author Share Posted October 23, 2006 (edited) It's an ITALIAN VM - so c:\program files does not flippin exist!!!! The installer puts the stuff in "C:\Programmi\AutoIt3" Bug? (work around is to install to "c:\program files" - all works ok!) Edited October 23, 2006 by System Tester The AutoIt help file should be interrogated.The Editor should be SciTe.The forums should have been searched. Link to comment Share on other sites More sharing options...
Developers Jos Posted October 23, 2006 Developers Share Posted October 23, 2006 (edited) You are running an old version of Au3Check ... C:\Programmi\AutoIt3\SciTE\au3check\ It should run from the AUtoIt3 directory. You probably didn't install the latest SciTE4AutoIt3 version? (cannot check since you didn't post the Output pane text from the start .....) Edit: You don't need it in c:\program files\. What sequence did you install the programs ? Check the au3.properties for the validity of the autoit3path= parameter.. Edited October 23, 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...
System Tester Posted October 24, 2006 Author Share Posted October 24, 2006 (edited) Now using correct version of the editor. Thanks! ((Well, it WAS Monday morning!)) Edited October 24, 2006 by System Tester The AutoIt help file should be interrogated.The Editor should be SciTe.The forums should have been searched. 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