Mat Posted May 7, 2010 Share Posted May 7, 2010 When running Aut2Exe (either through the UI OR using AutoIt3Wrapper and SciTE) I get errors 9 times out of 10. Mostly the following: "Error: Error opening the destination file.", but that is less frequent without SciTE open, but also errors with various other messages - "Unable to set console subsystem." and "unable to create compiled archive".None of this was happening last week.Running au3's is fine. Running the exe's that do succeed work fine. To avoid a list, everything except Aut2exe is working as it always has been.I have done the following:Reinstalled AutoIt opting to uninstall the previous versiontried putting files in a different directory. (it is usually "C:\Programming\AutoIt" but I tried the users directory and desktop and root etc.Editing UAC settings (I am running vista Home premium sp2)Any ideas? I have reached the conclusion that the 'destination' file refers to the .au3, as it creates an exe, which when run says that it is "Unable to open the script file".Mat AutoIt Project Listing Link to comment Share on other sites More sharing options...
Developers Jos Posted May 7, 2010 Developers Share Posted May 7, 2010 Did you check your AV and maybe try excluding the script directory to test if that is the root cause? Jos 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...
Mat Posted May 7, 2010 Author Share Posted May 7, 2010 Did you check your AV and maybe try excluding the script directory to test if that is the root cause? Jos Completely disabling av had no effect. That includes windows security or whatever it is they ship with it by default. This is probably more helpful... Trying to use AutoitWrapper gave this error. Error: EndUpdateResource: Returncode = 0 - LastError:5:Access is denied. hmm... I will try starting aut2exe as admin. AutoIt Project Listing Link to comment Share on other sites More sharing options...
Mat Posted May 7, 2010 Author Share Posted May 7, 2010 hmm... I will try starting aut2exe as admin.Still there. AutoIt Project Listing Link to comment Share on other sites More sharing options...
Developers Jos Posted May 7, 2010 Developers Share Posted May 7, 2010 Completely disabling av had no effect. That includes windows security or whatever it is they ship with it by default. This is probably more helpful... Trying to use AutoitWrapper gave this error. Error: EndUpdateResource: Returncode = 0 - LastError:5:Access is denied. hmm... I will try starting aut2exe as admin. That error will only be possible when you use AutoIt3Wrapper since this is the resource update portion. You stated that AUT2EXE also has errors so there has to be another issue why the compiler can get access to the file anymore. Any other antispam software running or something like that? 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...
Mat Posted May 7, 2010 Author Share Posted May 7, 2010 That error will only be possible when you use AutoIt3Wrapper since this is the resource update portion. You stated that AUT2EXE also has errors so there has to be another issue why the compiler can get access to the file anymore. Any other antispam software running or something like that?Nope. AutoIt Project Listing Link to comment Share on other sites More sharing options...
eltorro Posted May 7, 2010 Share Posted May 7, 2010 Check the folder permissions. Regards, [indent]ElTorro[/indent][font="Book"] Decide, Commit, Achieve[/font]_ConfigIO.au3Language Translation --uses Google(tm) MsgBox Move XML wrapper UDF XML2TreeView Zip functionality Split your GUI Save Print ScreenZipPluginEdit In Place listviewSome of my scripts on Google code Link to comment Share on other sites More sharing options...
Mat Posted May 7, 2010 Author Share Posted May 7, 2010 Check the folder permissions.Full except for 'special' permissions which I seem to be unable to set. AutoIt Project Listing Link to comment Share on other sites More sharing options...
eltorro Posted May 7, 2010 Share Posted May 7, 2010 Full except for 'special' permissions which I seem to be unable to set.Is that for the AutoIt folder or you script folder?Check the script folder. Regards, [indent]ElTorro[/indent][font="Book"] Decide, Commit, Achieve[/font]_ConfigIO.au3Language Translation --uses Google(tm) MsgBox Move XML wrapper UDF XML2TreeView Zip functionality Split your GUI Save Print ScreenZipPluginEdit In Place listviewSome of my scripts on Google code Link to comment Share on other sites More sharing options...
Mat Posted May 7, 2010 Author Share Posted May 7, 2010 Is that for the AutoIt folder or you script folder?Check the script folder.both. AutoIt Project Listing Link to comment Share on other sites More sharing options...
ripdad Posted May 8, 2010 Share Posted May 8, 2010 Hi Mat, Backup your scripts on a flash drive. Then right-click on C:\ >> Choose Properties >> Tools Tab >> Error Checking >> Check Now >> Check All >> Start >> Click Yes and Reboot It will check your hard drive for bad sectors and file errors. Not that you have any .. but at least you can rule that out. "The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward Link to comment Share on other sites More sharing options...
jaberwacky Posted May 8, 2010 Share Posted May 8, 2010 Are you using a virtual machine? Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
BinaryBrother Posted May 8, 2010 Share Posted May 8, 2010 DropBox is known to cause permission issues during the compile process, if you compile in a DropBox synced DIR. Do you have any application that might be locking the file handles periodically? Sync apps, etc. SIGNATURE_0X800007D NOT FOUND Link to comment Share on other sites More sharing options...
Mat Posted May 8, 2010 Author Share Posted May 8, 2010 Sorry I haven't been here... slightly hectic night last night. Errors are same as always.Hi Mat,Backup your scripts on a flash drive.Then right-click on C:\ >> Choose Properties >> Tools Tab >> Error Checking >>Check Now >> Check All >> Start >> Click Yes and RebootIt will check your hard drive for bad sectors and file errors.Not that you have any .. but at least you can rule that out.All my scripts ended up being 106mb next time the computer starts it will run it. I doubt that's the problem.Are you using a virtual machine?Nope.DropBox is known to cause permission issues during the compile process, if you compile in a DropBox synced DIR.Do you have any application that might be locking the file handles periodically? Sync apps, etc.Nope. AutoIt Project Listing Link to comment Share on other sites More sharing options...
BinaryBrother Posted May 8, 2010 Share Posted May 8, 2010 A full report of installed apps, running Services, and currently running processes might help. I can't pretend I'll know what's wrong, but I think it would certainly help the developers. SIGNATURE_0X800007D NOT FOUND Link to comment Share on other sites More sharing options...
Mat Posted May 8, 2010 Author Share Posted May 8, 2010 A full report of installed apps, running Services, and currently running processes might help. I can't pretend I'll know what's wrong, but I think it would certainly help the developers. I'll see what I can do. AutoIt Project Listing Link to comment Share on other sites More sharing options...
Shafayat Posted May 8, 2010 Share Posted May 8, 2010 I used to get the errors on windows 7 about thrice in 10 tries. Just to test it, I installed windows7 separately on a new, never before used, harddisk. Then I installed Autoit and tried compiling. Oddly, I got errors on the first try. Then I tried with some other script. Sometimes they compile just fine. Sometimes they give errors without any (visible) reason. What might be causing that. If you want I can post a video of the whole process. [Not using this account any more. Using "iShafayet" instead] Link to comment Share on other sites More sharing options...
Developers Jos Posted May 9, 2010 Developers Share Posted May 9, 2010 Also try testing without the Windows Explorer being open on the directory your script is created in. Jos 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...
Shafayat Posted May 9, 2010 Share Posted May 9, 2010 It works like magic when explorer is closed. No Errors at all. But what's causing this? [Not using this account any more. Using "iShafayet" instead] Link to comment Share on other sites More sharing options...
Developers Jos Posted May 9, 2010 Developers Share Posted May 9, 2010 It works like magic when explorer is closed. No Errors at all. But what's causing this?We haven't figured out what the exact root-cause is but it looks like the explorer reads the new EXE file's properties while the process isn't finished yet and still need to update the EXE's resources. 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