mne_analyze Xmsh_error_popup: "Please load the main surfaces first"

Hi,

I am trying to coregister my MEG and T1 images, but I am stuck at
aligning the coordinate frameworks:
http://martinos.org/mne/stable/manual/cookbook.html#aligning-coordinate-frames

I successfully created the surface models with mne_setup_source_space
and mne_watershed_bme and linked them,
created a forward model with mne_setup_forward_model,

And when opening mne_analyze, I get a list of Surfaces to be loaded for
the subject (inflated being pre-marked).
When loading any surface by pressing ok, The loading dialog closes with
no error.

However, the Viewer gives the above mentioned error and doesn't open.
ShowMRIViewer works, but when trying to open the viewer I get the error
above.

I can load digitizer points. I use mne_analyze version 2.56 on ubuntu
linux x64.

Thanks for any help,

Tristan

hi Tristan,

do you have the same problem when trying using the MNE sample data?

https://mne-tools.s3.amazonaws.com/datasets/MNE-sample-data-processed.tar.gz

if this works make sure your respect the layout of the anatomical
files on disk for your subjects.

Let us know how it goes.

Alex

Hi Alex,

my apologies, I had overlooked to run

. $MNE_ROOT/bin/mne_setup_sh

before starting mne_analyze. The dialogue opened but the windows where
missing. however, the mri viewer worked So I didn't think too much of it.
Same for the sample data. I just found this post here though, which
fixed it as mentioned above.

https://mail.nmr.mgh.harvard.edu/pipermail//mne_analysis/2013-November/001717.html

Thanks for the help,
best,
Tristan