mne report error

Dear list

When running the following commands from the mne report tutorial
website, I get the following error.

from mne.report import Report
from mne.datasets import sample

Generate the report:

path = sample.data_path()
report = Report()

IOError: [Errno 2] No such file or directory: '/home/lau/anaconda/lib/python2.7/site-packages/mne/html/jquery-1.10.2.min.js'
      
How do I install those missing files?
I'm running python through anaconda (2.1.0) and I have the stable
version of mne (0.8.5).

It's the same issue on my mac 10.9.5 and my linux mint 17 operating systems.

Best

Lau

Hi Lau,

Before I investigate further, can I know how did you install mne-python on
your machine?

Mainak

Hi Mainak

Of course: I installed anaconda by running the shell script from their
website. (I think it was version 2.0 at the time, but in the meantime
I've updated to 2.1.0.) Then I installed pip through anaconda (conda
install pip (1.5.6) and then through pip I installed mne (pip install
mne (0.8.5))

The installations have been done the same way for my linux and mac
operating systems

Best

Lau

hi Lau,

it should be fixed. Version 0.8.6 is on pypi.

https://pypi.python.org/pypi/mne

let us know if it works.

thanks for the bug report.

Alex

Hi Alex

I'm not sure it works as supposed to. I do have the files now as the
output below shows:

from mne.report import Report
from mne.datasets import sample

path = sample.data_path()
report = Report()
Embedding : jquery-1.10.2.min.js
Embedding : jquery-ui.min.js
Embedding : bootstrap.min.js
Embedding : jquery-ui.min.css
Embedding : bootstrap.min.css

I can also save the report just fine:
report.save('report.html')

The problem though is that the html is empty. I've attached a
screenshot. I hope I haven't overlooked something obvious.

Best

Lau

hi Lau,

it should be fixed. Version 0.8.6 is on pypi.

mne · PyPI

let us know if it works.

thanks for the bug report.

Alex

Hi Mainak

Of course: I installed anaconda by running the shell script from their
website. (I think it was version 2.0 at the time, but in the meantime I've
updated to 2.1.0.) Then I installed pip through anaconda (conda install pip
(1.5.6) and then through pip I installed mne (pip install mne (0.8.5))

The installations have been done the same way for my linux and mac operating
systems

Best

Lau

Hi Lau,

Before I investigate further, can I know how did you install mne-python on
your machine?

Mainak

Dear list

When running the following commands from the mne report tutorial
website, I get the following error.

>from mne.report import Report
>from mne.datasets import sample

Generate the report:

path = sample.data_path()
report = Report()

IOError: [Errno 2] No such file or directory:
'/home/lau/anaconda/lib/python2.7/site-packages/mne/html/jquery-1.10.2.min.js'

How do I install those missing files?
I'm running python through anaconda (2.1.0) and I have the stable
version of mne (0.8.5).

It's the same issue on my mac 10.9.5 and my linux mint 17 operating
systems.

Best

Lau
_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

The information in this e-mail is intended only for the person to whom it
is
addressed. If you believe this e-mail was sent to you in error and the
e-mail
contains patient information, please contact the Partners Compliance
HelpLine at
MyComplianceReport.com: Compliance and Ethics Reporting . If the e-mail was sent to you in
error
but does not contain patient information, please contact the sender and
properly
dispose of the e-mail.

_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the
e-mail
contains patient information, please contact the Partners Compliance
HelpLine at
MyComplianceReport.com: Compliance and Ethics Reporting . If the e-mail was sent to you in
error
but does not contain patient information, please contact the sender and
properly
dispose of the e-mail.

_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the
e-mail
contains patient information, please contact the Partners Compliance
HelpLine at
MyComplianceReport.com: Compliance and Ethics Reporting . If the e-mail was sent to you in
error
but does not contain patient information, please contact the sender and
properly
dispose of the e-mail.

_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshotEmptyReportLau.png
Type: image/png
Size: 76824 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20141016/f47559a7/attachment.png

Hi Lau,

Hi Alex

I'm not sure it works as supposed to. I do have the files now as the
output below shows:

from mne.report import Report
from mne.datasets import sample

path = sample.data_path()
report = Report()

you need to give the path of the folder you want to render. Something like
this:

report.parse_folder(data_path=path, pattern='*-eve.fif')

have a look at the tutorial here:
http://martinos.org/mne/dev/mne_report_tutorial.html

Let us know if you still face problems.

Best,
Mainak

Embedding : jquery-1.10.2.min.js
Embedding : jquery-ui.min.js
Embedding : bootstrap.min.js
Embedding : jquery-ui.min.css
Embedding : bootstrap.min.css

I can also save the report just fine:
report.save('report.html')

The problem though is that the html is empty. I've attached a screenshot.
I hope I haven't overlooked something obvious.

Best

Lau

hi Lau,

it should be fixed. Version 0.8.6 is on pypi.

mne · PyPI

let us know if it works.

thanks for the bug report.

Alex

Hi Mainak

Of course: I installed anaconda by running the shell script from their
website. (I think it was version 2.0 at the time, but in the meantime
I've
updated to 2.1.0.) Then I installed pip through anaconda (conda install
pip
(1.5.6) and then through pip I installed mne (pip install mne (0.8.5))

The installations have been done the same way for my linux and mac
operating
systems

Best

Lau

Hi Lau,

Before I investigate further, can I know how did you install mne-python
on
your machine?

Mainak

Dear list

When running the following commands from the mne report tutorial
website, I get the following error.

>from mne.report import Report

>from mne.datasets import sample

Generate the report:

path = sample.data_path()

report = Report()

IOError: [Errno 2] No such file or directory:

'/home/lau/anaconda/lib/python2.7/site-packages/mne/
html/jquery-1.10.2.min.js'

How do I install those missing files?
I'm running python through anaconda (2.1.0) and I have the stable
version of mne (0.8.5).

It's the same issue on my mac 10.9.5 and my linux mint 17 operating
systems.

Best

Lau
_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

The information in this e-mail is intended only for the person to whom
it
is
addressed. If you believe this e-mail was sent to you in error and the
e-mail
contains patient information, please contact the Partners Compliance
HelpLine at
MyComplianceReport.com: Compliance and Ethics Reporting . If the e-mail was sent to you
in
error
but does not contain patient information, please contact the sender and
properly
dispose of the e-mail.

_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

The information in this e-mail is intended only for the person to whom
it is
addressed. If you believe this e-mail was sent to you in error and the
e-mail
contains patient information, please contact the Partners Compliance
HelpLine at
MyComplianceReport.com: Compliance and Ethics Reporting . If the e-mail was sent to you
in
error
but does not contain patient information, please contact the sender and
properly
dispose of the e-mail.

_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

The information in this e-mail is intended only for the person to whom
it is
addressed. If you believe this e-mail was sent to you in error and the
e-mail
contains patient information, please contact the Partners Compliance
HelpLine at
MyComplianceReport.com: Compliance and Ethics Reporting . If the e-mail was sent to you
in
error
but does not contain patient information, please contact the sender and
properly
dispose of the e-mail.

_______________________________________________

Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

The information in this e-mail is intended only for the person to whom it
is
addressed. If you believe this e-mail was sent to you in error and the
e-mail
contains patient information, please contact the Partners Compliance
HelpLine at
MyComplianceReport.com: Compliance and Ethics Reporting . If the e-mail was sent to you in
error
but does not contain patient information, please contact the sender and
properly
dispose of the e-mail.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20141016/11df7188/attachment.html

Hi Mainak

Sorry for not reading the tutorial properly! Thanks for your help!

Best

Lau