create-dmg
create-dmg copied to clipboard
Random errors on accessing mounted image
Hi we're getting random -1728 errors while accessing to the mounted image, could you increase the sleep amount time that currently is 2?
+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
Increasing the sleep time fixes your issue? What value?
@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
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
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...
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