Back to the main page.

Bug 148 - display error on headless slaves

Status CLOSED FIXED
Reported 2010-09-03 14:40:00 +0200
Modified 2011-01-05 12:01:11 +0100
Product: FieldTrip
Component: peer
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P1 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Marcel Zwiers - 2010-09-03 14:40:51 +0200

SUMMARY: matlab gives an error when using some spm-function on a peerslave that was started without an x-display To reproduce this error do the following: ssh mentat# matlab78 -nodesktop addpath /home/common/matlab/fieldtrip/peer peerslave allowgroup test group test and in another shell: matlab78 peermaster allowgroup test group test peercellfun('spm_figure', {'GetWin'}, {'Interactive'}) WORKAROUND: On the slave do this instead: ssh mentat# Xvfb :99 matlab78 -nodesktop -display localhost:99 addpath /home/common/matlab/fieldtrip/peer peerslave allowgroup test group test


Marcel Zwiers - 2010-09-03 15:43:45 +0200

Wrt the workaround: 1) Use an ampersand :-) Xvfb :99 & 2) You may need to repeat the peercellfun-call a few times to get the error (i.e. before some values become smaller than zero)


Marcel Zwiers - 2010-09-16 11:12:01 +0200

Update: The problem seems much less (solved?) when using the latest spm8b-tree together with spm_get_defaults('cmdline',true)


Robert Oostenveld - 2010-09-16 21:03:29 +0200

according to a mail from Marcel, this is (largely?) resolved with an updated spm8b version


Robert Oostenveld - 2010-09-21 22:57:18 +0200

the problem has been resolved in the SPM code


Robert Oostenveld - 2011-01-05 11:57:07 +0100

selected a long list of resolved bugs from roboos and changed the status into "RESOLVED"


Robert Oostenveld - 2011-01-05 12:01:11 +0100

selected all old bugs from roboos with status RESOLVED and changed it into CLOSED