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

The ERPLAB install script should check for write permissions, and report elegantly if requirements not met #163

Open
andrewxstewart opened this issue Dec 16, 2022 · 0 comments
Assignees
Labels

Comments

@andrewxstewart
Copy link
Member

A user reports that the ERPLAB can fail with a nasty error message, even when EEGLAB works fine for them.

An error occurred while initializing child process: While attempting to execute "mv -f "/home/USER/program/eeglab2022.1/plugins/ERPLAB9.00/erplab_Box/erplab_box_readme.md" "/tmp/MATLAB_Files_08-Dec-2022_14_58_47/erplab_box_readme.md"" in context { environment : { ARCH : glnxa64 ....

I suggest checking for write permissions in eegplugin_erplab.m BEFORE doing any writing or moving of files or folders. And then give the user a sensible error message (and perhaps link to a help page on the wiki) if permissions are not met.

I think that specific error is probably due to around line 90 in eegplugin_erplab.m, with erplab_box_readme.md trying to be written without write permission to the EEGLAB+ERPLAB plugin folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants