tbohon

Missing File

12 posts in this topic

#1 ·  Posted (edited)

Loaded from latest releases of both AutoIt and SciTE and attempted to test by creating a simple SQLite script.  When trying to run the script I get an 'Error Opening File' error on line 45 of AutoIt3Wrapper.au3 which consists of the following code:

 

#include <WinAPIFiles.au3>

 

Unable to find this file anywhere on my hard drive and unable to find any patch or similar error on the forum.

Help?

 

TIA ...   Tom

Edited by tbohon

Share this post


Link to post
Share on other sites



Attached is a screen capture ...

 

Thanks Jos!

SciTEError.JPG

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

That is not really what I am looking for, but rather the bottom part where normally all output is shown.
I also would have expected this error to show up in the SciTE output pane. 

Do you have any lines showing at al in the bottom window part of SciTE?

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Hi.

That file should be located here:
 

C:\Program Files (x86)\AutoIt3\Include\WinAPIFiles.au3

 

Get the freeware tool "Evertything". It helps you to locate files on local NTFS drives (extremly fast!)

I'd like to suggest, to uninstall Autoit & SciTE, reboot your computer, and then reinstall both using "Run as Administrator"


Regards, Rudi.


Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post


Link to post
Share on other sites
22 hours ago, Jos said:

That is not really what I am looking for, but rather the bottom part where normally all output is shown.
I also would have expected this error to show up in the SciTE output pane. 

Do you have any lines showing at al in the bottom window part of SciTE?

Jos

Sorry, didn't have the error pane turned on (it is now).

 

Here is what the error pane shows when that error appears:

 

>"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "D:\au3work2\mysqlitetest.au3" /UserParams  

Share this post


Link to post
Share on other sites
5 hours ago, rudi said:

Hi.

That file should be located here:
 

C:\Program Files (x86)\AutoIt3\Include\WinAPIFiles.au3

 

Get the freeware tool "Evertything". It helps you to locate files on local NTFS drives (extremly fast!)

I'd like to suggest, to uninstall Autoit & SciTE, reboot your computer, and then reinstall both using "Run as Administrator"


Regards, Rudi.

Thanks Rudi.  Double checked that location, not there.  I think I'll follow your suggestion (I am already an administrator on this machine) and see what happens.  Stay tuned!

Share this post


Link to post
Share on other sites

Hi.

 

Use Sysinternals' "procmon.exe" with filtering "path" <includes> "WinAPIFiles.au3", to see what's going wrong during the installation process.

 

Possibly an over active AV-Scanner?

 

Regards, Rudi.


Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Share this post


Link to post
Share on other sites
5 hours ago, tbohon said:

Here is what the error pane shows when that error appears:

 

>"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "D:\au3work2\mysqlitetest.au3" /UserParams  

I need ALL information from that output pane to see what is happening.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
On 5/20/2016 at 3:14 PM, Jos said:

I need ALL information from that output pane to see what is happening.

Jos

Jos - that is all that shows in the output pane.  Following Rudi's suggestion I uninstalled AutoIt and the (full version of) SciTE, rebooted and installed just the AutoIT package from the download page.  Do NOT get that error any longer ... maybe it's a conflict with the full SciTE version and the AutoIT basic version?  Or maybe I simply screwed something up in the process.  Nevertheless I can live with the basic SciTE version which is working so I don't think you need to waste any more time on it for me anyway.  I'll press forward and start having fun programming again.

 

Thanks so much for helping me out!

 

Tom

Share this post


Link to post
Share on other sites
On 5/20/2016 at 3:51 AM, rudi said:

Hi.

I'd like to suggest, to uninstall Autoit & SciTE, reboot your computer, and then reinstall both using "Run as Administrator"


Regards, Rudi.

Followed your idea above Rudi and that error goes away.  I'm guessing I screwed something up in overwriting the SciTE included in the AutoIT package with the full version of SciTE.  After uninstalling, rebooting and reinstalling just the AutoIT distribution that error disappears ... so for me right now life is good! :)

 

Thanks again for the assist.

 

Tom

Share this post


Link to post
Share on other sites
4 minutes ago, tbohon said:

Jos - that is all that shows in the output pane.

Strange...  AutoIt3Wrapper should should all kinds of information when started.
Good to hear things cleared up with re-installation, but it doesn't make sense to me yet. :)

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
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

  • Similar Content

    • steveeye
      By steveeye
      hey, can anybody enlighten on lesser known Windows hacks or uses ?
    • afallenhope
      By afallenhope
      Hello all! 
      I am having a bit of trouble and was wondering if anyone may have a workaround for my issue. I made a script that would automatically install a piece of software each night on a Windows 7 Box. Now I have been instructed to do the same with a Windows 10 box since the application is now being tested on Windows 10. 
      The way I did the win7 installation was that I made a script and then made an executable that I call with a batch file along with the Installer. So the process is 
      AutoitMainFile calls batch file, batch file opens Installer, and the automatedinstaller.exe  The automatedinstlaller waits 10-20 seconds to make sure the Installer has been fully loaded.
      When I try to do the same both get loaded but the automatedinstallation.exe does not send commands to the installer. The code does work and nothing from the program we are wanting to install has changed as our Windows 7 runs every night no problem. 
       
      Do I need to make a new automatedinstall script for windows 10? 
      Any advice is appreciated 
      Thanks,
      Richard
    • ur
      By ur
      I have enabled admin sharing in the remote machine so that I can copy files to the remote machine use PSEXEC to execute our application remotely.
        Now, if the machine is poweredoff we need to poweriton. So I checked whether the remote machine, it is of both VirtualBox or VMWare one. For VirtualBox or VMware, I have found command line utities to poweron.   But to autologon by skipping the login screen.Can anyone suggest how to do the same.If it is a physical machine, then there is no need to poweron but autologon is required.   I am trying for windows machines.Win 7 at present.   For VirtualBox I checked below link with help og guestadditions but not working. http://www.virtualbox.org/manual/ch09.html#autologon   The below procedure will save the password in that machine and it will logon automatically.   http://www.howtogeek.com/112919/how-to-make-your-windows-8-computer-logon-automatically/   But it will give access to everyne.But my opinion is he should access only if have credentias.I mean through any commandline from another machine he should trigger logon also by passing credentials.     Similarly this also   http://www.cnet.com/how-to/automatically-log-in-to-your-windows-10-pc/   http://superuser.com/questions/28647/how-do-i-enable-automatic-logon-in-windows-7-when-im-on-a-domain   http://pcsupport.about.com/od/windows7/ht/auto-logon-windows-7.htm   http://www.computerperformance.co.uk/windows7/windows7_auto_logon.htm   https://technet.microsoft.com/en-us/magazine/ee872306.aspx   Please guide me how to proceed.
    • AJB
      By AJB
      Hello,
      I've been using autoit for about a year now and overall it's been great despite my limited understanding of all of its features. I have several scripts that run on virtual machines that have been running smoothly for several months without any issues. Recently, I had to create new virtual machines and migrate my scripts over and now I am getting errors that I can't seem to repeat, but seem to happen at least once a day with all of my executables that were flawless before.
      The error that I keep getting is:
      Autoit Error
      Line [this number varies per script] (File "[path to my executable]"); Error: variable must be of type object.
      I  never received this error before until I moved everything to the new VMs, and when I rerun my scripts after clearing the error everything seems to work and run fine until hours later or sometimes the next day. I am assuming that that the root cause may be in some kind of settings on the VM itself since it is happening nearly across the board, but I have no idea where to even look. These are running on Windows 7, which is what they were running on before I had any errors.
      The only consistent include used in these scripts is  IE.au3
      Has anyone run into a similar problem or can maybe point me in the right direction. I am at the point of pulling hair out trying to resolve this. I have even rewritten and re-compiled the scripts to see if somehow the executables got corrupted, but that didn't help.
      Thank you.
    • The_Key_Maker
      By The_Key_Maker
      Hi guys, 
      I have the latest Scite installed (SciTE4AutoIt3 3.6.2 - Feb 15 2016 18:42:26), running on Windows 7.
      I tried running Scite in parallel to AutoIT, with running manually in the command line "C:\Program Files (x86)\AutoIt3\SciTE\Koda\FD.exe" /Scite,
      It didn't work, and ever since, I can't activate Koda from the AutoIT Tools menu. 
      I get the same error (only by trying to open Koda): %1 is not a valid Win32 application.
       
      Can someone please help me?