create-dmg icon indicating copy to clipboard operation
create-dmg copied to clipboard

Random errors on accessing mounted image

Open fernandomarquesgarcia opened this issue 3 years ago • 6 comments

Hi we're getting random -1728 errors while accessing to the mounted image, could you increase the sleep amount time that currently is 2?

fernandomarquesgarcia avatar Jun 02 '21 15:06 fernandomarquesgarcia

+1 for this - we are also having similar issues on GitHub Action around that if performance of virutal machine is a bit lower.

You can see it here: https://github.com/actions/virtual-environments/issues/4201

grzegorzkrukowski avatar Oct 25 '21 10:10 grzegorzkrukowski

Increasing the sleep time fixes your issue? What value?

aonez avatar Oct 25 '21 11:10 aonez

@aonez I am still testing it - working closely with GitHub support - playing with 5 second at the moment, but it's really random, so I will have results at the end of the week more likely

grzegorzkrukowski avatar Oct 25 '21 11:10 grzegorzkrukowski

4 seconds is still making failures, but it happened 1 out 100 times, with 2 second it was nearly each second run for us. You can see logs here: https://github.com/raycast/github-oascript-bug/runs/3998612467?check_suite_focus=true

grzegorzkrukowski avatar Oct 25 '21 15:10 grzegorzkrukowski

5 second didn't help either - failing from time to time: https://github.com/raycast/github-oascript-bug/runs/4002389905?check_suite_focus=true#step:4:12

It feels like there is something more wrong there...

grzegorzkrukowski avatar Oct 26 '21 16:10 grzegorzkrukowski

According to this: https://discussions.apple.com/thread/251124670

it helps if osascript is executed as sudo - I tried even 10 seconds delay, but it seem it doesn't help at least for my failures which is osascript: can't open default scripting component

grzegorzkrukowski avatar Oct 26 '21 19:10 grzegorzkrukowski