-
Notifications
You must be signed in to change notification settings - Fork 3
Description
If a Windows user has a file open and then runs either a job via opensafely run this file then they will get an error. We've had a couple of reports of this (see below) but given how easy it is to do I'd be surprised if it wasn't happening more frequently than we hear about.
It's possible that there something we can do to work around this problem (maybe involving moving files around) but if we can't fix it we should at least raise a helpful error which explains what the issue is.
Note that the same problem can also occur when running ad-hoc commands via opensafely exec. However there's no general fix we can apply here (either to work around the issue or raise better errors) because it's up the individual action image to handle this (see e.g. this issue for ehrQL).
Here are a couple of cases where users have reported this issue:
- https://bennettoxford.slack.com/archives/C069YDR4NCA/p1751636334737689?thread_ts=1751636286.824579&cid=C069YDR4NCA
- https://bennettoxford.slack.com/archives/C069YDR4NCA/p1772550756823869?thread_ts=1772550751.713159&cid=C069YDR4NCA
Note these are also related to #347 because the issue is compounded by the unhelpful and false suggestion that it's been reported to tech support.