Kjodiz Posted June 24, 2011 Share Posted June 24, 2011 When I press "Compile", I get an error message (there is about 3 or 4 different in total), and I have to try many times before it actually compiles it. Why is this happening? Link to comment Share on other sites More sharing options...
Developers Jos Posted June 24, 2011 Developers Share Posted June 24, 2011 When I press "Compile", I get an error message (there is about 3 or 4 different in total), and I have to try many times before it actually compiles it.Why is this happening?care to share what error you get? 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...
AdmiralAlkex Posted June 24, 2011 Share Posted June 24, 2011 And how do you expect us to help you with something when you don't tell us what something is?You have to give us something to work on here.Copy-paste the messages you get.Show output from SciTE.Post a reproducer.Something like that. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Kjodiz Posted June 24, 2011 Author Share Posted June 24, 2011 Sorry guys..The errors are as following:Error: Error opening the destination fileError: Unable to execute upx.exe to compress stub file:Upx: C:\Scripts\AutoIt\CD-Rom.exe: IOExeption: C:\Scripts\AutoIt\CD-Rom.exe: Permission deniedI am administrator on my own computer, so I should have the permission to do this right?Error: Unable to execute upx.exe to compress stub file:Upx: C:\Scripts\AutoIt\CD-Rom.exe: IOExeption: rename error: File existsIn this case, the file has been created before, but I also get this error message when it is a completely new script with a unique name.. Link to comment Share on other sites More sharing options...
Kjodiz Posted June 28, 2011 Author Share Posted June 28, 2011 (edited) Do you need more to help me? If you need to know the script, it's as simple as: CDTray ("E:", "Open")Sleep ( 3000 )CDTray ("E:", "Close") Edited June 28, 2011 by Kjodiz Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted June 28, 2011 Share Posted June 28, 2011 Do you need more help? Error: Error opening the destination fileError: Unable to execute upx.exe to compress stub file: Upx: C:\Scripts\AutoIt\CD-Rom.exe: IOExeption: C:\Scripts\AutoIt\CD-Rom.exe: Permission denied I am administrator on my own computer, so I should have the permission to do this right?Error: Unable to execute upx.exe to compress stub file: Upx: C:\Scripts\AutoIt\CD-Rom.exe: IOExeption: rename error: File existsIt's obviously IO related. Did you try disabling stuff that touches the file (anti-virus, syncing, others), close any explorer windows that is on the folder (and the opposite), and so on?If all else fails, you could just disable UPX in the compiler and do it yourself afterwards. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Kjodiz Posted June 28, 2011 Author Share Posted June 28, 2011 Thanks for your help Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted June 29, 2011 Share Posted June 29, 2011 I can't tell if you're sarcastic or not. Did you find out what the problem was? .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Kjodiz Posted March 15, 2012 Author Share Posted March 15, 2012 Sorry for reposting in an old thread, but no, I wasn't sarcastic :-) And no, I still haven't figured out the problem. I guess I've just learned to live with it. Link to comment Share on other sites More sharing options...
Mikeman27294 Posted March 15, 2012 Share Posted March 15, 2012 (edited) Ok, well it's not good to post in an old thread, but since you haven't figured it out, firstly, I would put all 3 commands on a different line, like this: CDTray ("E:", "Open") Sleep ( 3000 ) CDTray ("E:", "Close") Then, I would try and compile it with UPX disabled. Many viruses use UPX so now it has been marked as suspicious by most virus scanners. If that fails, try disabling your antivirus for 10 or so minutes. Most antiviruses have this option but it's not easy to get to (for example, I use AVG and I need to go into the program's options to get to it) so a google round is definately going to help there. If it has the option to re-enable after a certain amount of time, for example, it provides you with a dropdown box or an input box and asks how long you want it disabled for, say about 10 minutes. This should get you enough time to compile the script. If it still doesn't work then, you should probably make a new thread telling us the error. This is an old thread, it really should be over and done with. Hope that helps. Edited March 15, 2012 by Mikeman27294 Link to comment Share on other sites More sharing options...
Kjodiz Posted March 15, 2012 Author Share Posted March 15, 2012 Thanks for the tip I'll try it. 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