[Mne_analysis] mne-python config file path could not be determined...

Alexandre Gramfort alexandre.gramfort at telecom-paristech.fr
Wed May 21 14:34:42 EDT 2014
Search archives:

hi Peter,

> I'm using mne as part of a browser-based web application - it is using the
> Django framework.

sounds exciting !

> Development is done using a built-in web server. Yesterday
> I moved the application to Apache but I am getting an error (see  below).
>
> I can see why the error is occurring - mne utils.py is attempting to open a
> config file that is located at $HOME/.mne/mne-python.json but $HOME doesn't
> seem to be set in the Apache environment, hence the error.
>
> Has anyone had a similar experience using Apache?

I doubt it.

What we could do is to support an environment variable eg. MNE_CONFIG_DIR
that defaults to $HOME but can be overwritten by the user. Would that help?

out of curiosity do you plan to open this code? what is the context of
this work?

Best,
Alex



More information about the Mne_analysis mailing list