I just installed Dyalog-APL 18.0 on my windows(Windows 10) machine and when I tried using ]box on -style=max
on the IDE I got the following error:
FILE ACCESS ERROR: C:/Users/<User>/Documents/: Unable to read directory status
Then I noticed that there was a previous error when opening Dyalog which I had blatantly ignored:
SALT initialization failed: C:/Users/<User>/Documents/: Unable to read directory status
Furthermore, I realized that all user commands give the first error.
Some details: I installed it as an administrator privilege with Avast Antivirus installed.
Things I tried:
After some experimentation, we determined that the issue was something restricted being located in the Documents folder. By default, the APL system will look there for custom user commands:
⎕SE.SALT.Set'cmddir'
C:\Users\<User>\Documents\\MyUCMDs;C:\g\link\SALT\spice;C:\d\SVN\salt\trunk\spice
So we asked it to permanently skip that location:
⎕SE.SALT.Set'cmddir -p C:\Program Files\Dyalog\Dyalog APL-64 18.0 Unicode\SALT\spice'