Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving an edited APL object resulted in FILE ACCESS ERROR #667

Open
aplteam opened this issue Aug 21, 2024 · 1 comment
Open

Saving an edited APL object resulted in FILE ACCESS ERROR #667

aplteam opened this issue Aug 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@aplteam
Copy link
Contributor

aplteam commented Aug 21, 2024

This is almost certainly caused by Dropbox; my guess is that the moment Link tries to save the file, DropBox has opened it for a very short period of time in order to sync it.

I am guessing this because I use DropBox and I could not really reproduce the problem. However, I see it every now and then.

My suggestion is to put a trap around the write operation and, in case of such an error, wait a very small amount of time and then try again.

I am using that strategy myself elsewhere, and it has put a stop to this.

Of course the problem might be caused by any other sync services as well, not only DropBox.

@aplteam aplteam added the bug Something isn't working label Aug 21, 2024
@dyavc
Copy link

dyavc commented Aug 21, 2024

I have asked aplteam to give us a series of steps which makes this issue reproduce on his computer. I have asked him to turn on these flags: ⎕SE.Link.DEBUG←1
⎕SE.Link.NOTIFY←1

After the FILE ACCESS ERROR, he can get a hang with )clear or )si, and I have logged that as 21562.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants