September patch pre-caching fails

(imported topic written by d.limanov)

Anyone else having this problem? Normal pre-caching action fails with this error:

"Invalid action content: the action script contains a syntax error.

This action has been applied 1 time and will not be applied again."

Under action script detail, there are bunch of prefetches, all look fine but in the middle there it just says Failed and has done so for the past 5 times I’ve tried pre-caching this month’s patches.

Anyone seen this today?

(imported comment written by BaiYunfei)

Hi Dimitri,

Would you please share the site name and Fixlet ID, so that we can help you better. Thanks!

(imported comment written by d.limanov)

Hi Bai,

That’s the thing, there’s no fix let or site, I’m using File Precache wizard to pre-cache files for this month, and it’s failing. I can’t paste the entire prefetch block here, system thinks I’m a spammer and kicks me out.

D

(imported comment written by TheTick)

Can you put it in a file and attach it?

(imported comment written by d.limanov)

Attached pdf.

(imported comment written by BaiYunfei)

Hi Dimitri,

Thanks for uploading the pdf, however that file might contain line breaks etc and I am not able to determine whether the action script in the file is valid.

I tried to reproduce your issue using the File Precache Wizard, I didn’t download all files but actionscript text does seem valid, I didn’t see a syntax error. Did you happen to modify the actionscript generated by the wizard, prior to taking action?

Could you try to generate the action from the wizard, and try again. If it still fails, could you help to export it into a .bes file and attach it here, so we can reproduce the issue.

Thank you!

(imported comment written by d.limanov)

Hi Bai,

I made no changes to the action script, merely ran the file pre-cache wizard and took action to deploy it to my root TEM server. I’ve attached the exported action, it also reported the same error. Hope this helps.

D

(imported comment written by BaiYunfei)

Hi Dimitri,

I think I found the reason. Among this month’s patches, there are some patches sharing the same file name, which caused an issue with running the prefetch statements.

As a workaround, please try this: change line 117 of the actionscript to ‘prefetch Server2.msp …’, and line 125 to 'prefetch Rgs2.msp… '. This essentially avoids downloading the file with a same name.

Kindly let us know whether this works for you. Thank you!

(imported comment written by d.limanov)

Yep, that did the trick! Thanks much!!