←  AutoPatcher Bug Reports

AutoPatcher Forum

»

Runtime error in APUP

Brian's Photo Brian 12 Nov 2007

I received the error again on update KB888302_xp_x86_enu.apm_files For the rest I had no issues at all and before I never got this far. I will look more into it a little later today and give you more info.
Quote

JRosenfeld's Photo JRosenfeld 13 Nov 2007

Ref my previous reports earlier in this thread, today, apup managed to download one more file,
WindowsXP-KB920685-x86-ENU.exe, before the runtime error, but did not downloadthe corresponding .apm file.

So the bug has moved on one step. Progress of a sort :-)
Quote

samee's Photo samee 13 Nov 2007

i might be of some help in resolving the error message. here it goes:

since were are having problems with kb890830 is it possible for the developer to remove the following text out the script file for xp november:

----------------------------------------------------------------------------------------------------------------------------------------------------------------
Item=KB890830 Update

DetectFile=autopatcher:\modules\Critical\KB890830_files\Windows-KB890830-V1.34.exe
DetectHash=BA830EEE565B252C0D9441B0017C11BC
DownloadFrom=http://download.microsoft.com/download/4/a/a/4aa524c6-239d-47ff-860b-5b397199cbf8/Windows-KB890830-V1.34.exe
DownloadTo=autopatcher:\modules\Critical\KB890830_files\Windows-KB890830-V1.34.exe
ExpectedSize=8706680
ExpectedHash=BA830EEE565B252C0D9441B0017C11BC

Item=KB890830 Module

DetectFile=autopatcher:\modules\Critical\KB890830_x86_enu.apm
DetectHash=8780451e4d61a13ba87ceedb4774fa10
DownloadFrom=http://www.autopatcher.com/releases/modules/KB890830_x86_enu.apm
DownloadTo=autopatcher:\modules\Critical\KB890830_x86_enu.apm
ExpectedSize=1233
ExpectedHash=8780451e4d61a13ba87ceedb4774fa10
----------------------------------------------------------------------------------------------------------------------------------------------

if you remove the part for kb890830 then the download can possibly download the rest of the files besides the kb890830 files. (am i right or wrong)

i tried to remove the kb890830 from the script file BUT as the updater updates the file script file it also updates the missing part for kb890830.

then you can possibly find and correct the error with kb890830 file etc.
Quote

Cyrus's Photo Cyrus 14 Nov 2007

Remove it from the script after running apup.exe, after it finishes calculating the required size for the downloads, but before you actually start to download the updates. When you edit the .script file, don't forget to save it.
Quote

Brian's Photo Brian 14 Nov 2007

Thanks for the tip Cyrus, I tried it and well it moved to the next update and got the same error on KB888302_xp_x86_enu.apm_files. I tried it again but it seems to be hanging on "calculating" and cannot get it to move any further I have tried several times. I will give it another go around tomorrow.
Edited by Brian, 14 November 2007 - 07:15 AM.
Quote

freeloader's Photo freeloader 14 Nov 2007

New to this... but, I'm having the error occur after the Kb890830 file downloads. It freezes on the next one which is the KB888302_xp_x86_enu.exe
If try to rerun the apup.exe file it will error out on the calculating, with the runtime error.
In looking at the script file for the KB888302 download.... it looks incorrect in the script file.

Item=KB888302 Update

DetectFile=autopatcher:\modules\Critical\KB888302_xp_x86_enu.apm_files\WindowsXP-KB888302-x86-ENU.exe
DetectHash=45EAE1http://download.microsoft.com/download/e/b/8/eb8e1485-0e8e-4c52-b420-94e70f13cb0e/WindowsXP-KB888302-x86-ENU.exeCAF344F082807DA4F1BD5BC953
DownloadFrom=
DownloadTo=autopatcher:\modules\Critical\KB888302_xp_x86_enu.apm_files\WindowsXP-KB888302-x86-ENU.exe
ExpectedSize=396008
ExpectedHash=45EAE1CAF344F082807DA4F1BD5BC953

Item=KB888302 Module

DetectFile=autopatcher:\modules\Critical\KB888302_xp_x86_enu.apm
DetectHash=1A990DC4F340A2038E78CA216819E7DD
DownloadFrom=http://www.autopatcher.com/releases/modules/KB888302_xp_x86_enu.apm
DownloadTo=autopatcher:\modules\Critical\KB888302_xp_x86_enu.apm
ExpectedSize=1440
ExpectedHash=1A990DC4F340A2038E78CA216819E7DD


Looks like the DownloadFrom= has been wrapped up to the prior line making it incorrect DetectHash?????
Edited by freeloader, 14 November 2007 - 03:13 PM.
Quote

samee's Photo samee 14 Nov 2007

well spotted "freeloader" it looks like autopatcher forgot to add to the script where to download the file from Microsoft. hope this was the problem and autopatcher will possibly fix it asap.
Edited by samee, 14 November 2007 - 05:49 PM.
Quote

Renato's Photo Renato 14 Nov 2007

Thanks, I don't know how I missed that. :S

Fixed.
Quote

Sotho Tal Ker's Photo Sotho Tal Ker 15 Nov 2007

I still get the "runtime 0" error:

What I did:
Extract apup.zip (the latest one from the link in the other thread, downloaded less than 1 hour ago)

Started the program, it shows me the available updates.
I uncheck everything except the first 2: Autopatcher engine and WinXP english.
Then it starts downloading the patches....

Sometimes the program hangs when trying to get an apm from the autopatcher server, in my example it is:
kb897663_xp_x86.enu.apm

When this happens the program does stop (like it is in a loop or something).
The only way is to click on the exit button so the program terminates.

When I start apup.exe again, i receive this "runtime 0" error.

Hopefully that helps a bit. :)
Quote

freeloader's Photo freeloader 15 Nov 2007

View PostRenato, on Nov 14 2007, 04:40 PM, said:

Thanks, I don't know how I missed that. :S

Fixed.


Just downloaded the apup.exe file and tried to rerun it again... apparently it is still getting a script error within the autopatcher_xp_x86_enu file .
The file is still as displayed on the server. Detect hash is incorrect and Downloadfrom is showing blank.


Item=KB888302 Update

DetectFile=autopatcher:\modules\Critical\KB888302_xp_x86_enu.apm_files\WindowsXP-KB888302-x86-ENU.exe
DetectHash=45EAE1http://download.microsoft.com/download/e/b/8/eb8e1485-0e8e-4c52-b420-94e70f13cb0e/WindowsXP-KB888302-x86-ENU.exe
DownloadFrom=
DownloadTo=autopatcher:\modules\Critical\KB888302_xp_x86_enu.apm_files\WindowsXP-KB888302-x86-ENU.exe
ExpectedSize=396008
ExpectedHash=45EAE1CAF344F082807DA4F1BD5BC953

A quick question.... when you run the apup.exe file.... it erases the current script files that you have previously download.... now as the new scripts are downloaded .... does the program when calculating the files sizes use the script to detect what updates you may have already downloaded. This would keep you from having to redownload all the files you previously had downloaded correctly? If so, then would a error in the script file generate the runtime error 0.
just wondering....
Quote

Renato's Photo Renato 15 Nov 2007

I uploaded the wrong file, it should be ok now.

Apup calculates the size based on the script that it has downloaded, so that it correctly say what's the size of the update, accordingly to new files sizes.

About Run-time 0 error, Antonis is the person to answer (he does all the program coding).
Quote

samee's Photo samee 15 Nov 2007

i just reran the updater and...... it works it downloaded the rest of the files. thanks Renato for your help and support.

THANKS BUDDY
Quote

Brian's Photo Brian 15 Nov 2007

I just ran it again, the first time the updater just hung on "Calculating", but I extracted the zip file again, ran apup, all is good.... Thanks you guys!!!!
Quote

Renato's Photo Renato 15 Nov 2007

Thank you guys for helping me finding the errors. Now time to update with November's hotfixes and latter, add the Components. :)


Edit: Script updated to November.
Quote

StanTheMan's Photo StanTheMan 15 Nov 2007

Hi guys,

I am still having a problem with KB890830-v1.32! I get a file verification error!
"One or more files have failed verification. Would you like to continue at your own risk?"

File not found!

Is this still one of the bugs that are being looked into?

Regards.
Edited by StanTheMan, 15 November 2007 - 07:35 PM.
Quote

Renato's Photo Renato 15 Nov 2007

Try again, please. Now that module shouldn't give any problems.
Quote

StanTheMan's Photo StanTheMan 15 Nov 2007

View PostRenato, on Nov 15 2007, 09:40 PM, said:

Try again, please. Now that module shouldn't give any problems.


Nope! still the same! I tried deleting that KB890830 file and re ran apup but still the same error after it downloads that KB890830 file!
Strange!
Quote

Renato's Photo Renato 15 Nov 2007

Are you talking about Italian version? I'm not the manager of that one, only English and Portuguese (Portugal).
Quote

StanTheMan's Photo StanTheMan 15 Nov 2007

View PostRenato, on Nov 15 2007, 10:55 PM, said:

Are you talking about Italian version? I'm not the manager of that one, only English and Portuguese (Portugal).


No its the English version!
Quote

Renato's Photo Renato 15 Nov 2007

There is no "KB890830-v1.32". Delete both KB890830 apm file and folder and try again.
Quote