Jump to content

Compiling error ? Bug?


funkey
 Share

Recommended Posts

I have one script that makes this error on compiling:

Error: Failed to append script data to end of updated executable. Try recompiling your script.rc:2

Not always, but on most of the tries. Is this a bug?

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <Array.au3>

Edit: I use Win7 x64, compile as x86.

Edit2: Maybe it has something to do with that 'asInvoker' automaticaly set by the AutoIt3Wrapper

Edit3: It has nothing to do with the script itself, so I replaced it with something generating the same fault.

If I delete the 'asInvoker' line then compiling works one time. The Wrapper adds the line again and next time

compiling fails again, but not always!?

Edited by funkey

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.
So far, the Universe is winning.

Link to comment
Share on other sites

I've no problems with compliling the code on Win7 x64 several times.

Maybe a program (Antivirus) is blocking compilation...

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

I think you are right. If I deactivate AntiVir Guard, then it works. But I get no message from AntiVir!?

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.
So far, the Universe is winning.

Link to comment
Share on other sites

I think you are right. If I deactivate AntiVir Guard, then it works. But I get no message from AntiVir!?

Nor would I expect that. It's probably locking the file to scan it directly when it's created, but as the compiling process needs write access it fails. A side effect of having multiple processes to compile 1 script.

Happens me sometimes with Dropbox, but if I try to compile a second time it works.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...