-
AuthorPosts
-
04/15/2017 at 11:53 AM #2454
markus.fahlstrom
ParticipantDear Andy,
Macbook pro/Sierra OS/Matlab2016b/Downloaded Lead-DBS this week.
I’m getting this error
Warning: User preferences file could not be read. Please set write permissions to Lead-DBS
install directory accordingly.I’m not sure where to change permissions. Everything seems ok. Any suggestions?
Regards
MF04/15/2017 at 3:00 PM #2455andreashorn
KeymasterHi Markus,
sorry, I think the error message is misleading. Could you check whether there is a file called ea_prefs_default.mat inside lead/common/ folder? If not, move the file from the lead base directory to the common subfolder.
That should fix it.
Alternatively, Ningfei made another small release yesterday that should fix it – so you could just press the download button.Best, Andy
04/15/2017 at 4:23 PM #2457markus.fahlstrom
ParticipantHi Andy,
Just finished the download from lead-dbs.org or did you mean GitHub?
However, the ea_prefs_default.mat files is located in lead/common. Still the same error message.
MF
04/15/2017 at 5:48 PM #2458andreashorn
KeymasterHi Markus,
that’s weird. So basically this happens if Lead-DBS (=Matlab) doesn’t have write access to either the directory in which Lead-DBS is installed or the user home. On OSX, usually, the home directory should be fine. So could be you installed lead-dbs on a drive with read-only permissions?
Another thing is that everything should still work fine but would use default preferences, i.e. ignore the user preferences. Did you modify prefs at all? You can do so by using the [Tools] menu (-> will migrate to [Preferences] menu soon) [Edit Preferences file…].
If you don’t need to edit any prefs and are happy with defaults you could just ignore the warning.Hope this helps!
Best, Andy
09/10/2017 at 7:17 PM #3363markus.fahlstrom
ParticipantDear Andy,
Downloaded v2.0, getting the same error message as described in this thread. Didn’t solve the issue in april, I figured I’ll wait for the new exiting v2.0, but the same error message persists.
MF
09/10/2017 at 7:26 PM #3365andreashorn
KeymasterHi Markus,
I guess you’d then need to set writing permissions to the folder in which your Lead-DBS version is installed. Do you know how to do that? Matlab needs to be able to save variables into that folder.
Best, Andy
09/10/2017 at 8:52 PM #3367markus.fahlstrom
ParticipantHi,
Yes of course. chmod -R ugo+rwx “path to lead” That should do?
MF
-
AuthorPosts
- The forum ‘Support Forum (ARCHIVED – Please use Slack Channel instead)’ is closed to new topics and replies.
