Error running plot_compute_source_psd_epochs.py

Hello,

I am receiving this error when running a modified version of the example
script plot_compute_source_psd_epochs:

Traceback (most recent call last):
  File "compute_PSD_V2.py", line 36, in <module>
    inverse_operator = read_inverse_operator(fname_inv)
  File
"/usr/local/lib/python2.7/dist-packages/mne-0.5-py2.7.egg/mne/utils.py",
line 265, in dec
    return function(*args, **kwargs)
  File
"/usr/local/lib/python2.7/dist-packages/mne-0.5-py2.7.egg/mne/minimum_norm/inverse.py",
line 87, in read_inverse_operator
    invs = invs[0]
IndexError: list index out of range

What might be a good place to start looking for causes for an error like
this?

Best wishes,

Vincent Rupp Jr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20130225/dd4f5208/attachment.html

Hey Vincent,

This is likely a mis-handled error by mne-python, where it actually didn't
find a valid inverse. Are you sure it's a valid inverse solution? Try
looking at it with "mne_show_fiff". You can also use
"mne.fiff.show_fiff(fname_inv)" (if you're on the developmental version if
mne-python) to examine the file. If those don't help, if you open an issue
on the mne-python issue tracker (
https://github.com/mne-tools/mne-python/issues) and link to your inverse
uploaded somewhere, one of us should be able to look at it.

Cheers,
Eric