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

Peter C. Marks peter.c.marks at gmail.com
Wed May 21 12:59:16 EDT 2014
Search archives:

Hello,

I'm using mne as part of a browser-based web application - it is using the
Django framework. 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?

Thanks,

Peter

mne-python config file path could not be determined, please report this
error to mne-python developers

Request Method:GET
Request URL:http://ocpu/bio/cardiocpi/
Django Version:1.6.2
Exception Type:ValueError
Exception Value:

mne-python config file path could not be determined, please report this
error to mne-python developers

Exception
Location:/usr/local/lib/python2.7/dist-packages/mne-0.7.1-py2.7.egg/mne/utils.py
in get_config_path, line 721
Python Executable:/usr/bin/python
Python Version:2.7.4
Python Path:

['/home/pcmarks/Desktop/CardioCPIv2',
 '/usr/local/lib/python2.7/dist-packages/mne-0.7.1-py2.7.egg',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages/PILcompat',
 '/usr/lib/python2.7/dist-packages/gtk-2.0',
 '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
 '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']

Server time:Wed, 21 May 2014 11:37:26 -0500
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20140521/c8b29ff6/attachment.html 


More information about the Mne_analysis mailing list