You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that local servers such as zserver and zubjects are accessed via SMB and not over http. For these repositories data_url = null.
Possible solution: if data_url field is empty, use the hostname field instead e.g. arrayfun(@(x) iff(isempty(x.data_url), ['\\' x.hostname], x.data_url), obj.getData('data-repository'), 'uni', 0);
The text was updated successfully, but these errors were encountered:
Currently getFile works well with http servers as it uses the
data_url
field in alyx to generate the paths:alyx-matlab/@Alyx/getFile.m
Lines 42 to 44 in ed07182
The problem is that local servers such as zserver and zubjects are accessed via SMB and not over http. For these repositories
data_url = null
.Possible solution: if
data_url
field is empty, use thehostname
field instead e.g.arrayfun(@(x) iff(isempty(x.data_url), ['\\' x.hostname], x.data_url), obj.getData('data-repository'), 'uni', 0);
The text was updated successfully, but these errors were encountered: