Report loading failed!
Your browser does not allow locally-loaded html files to load other local files. This is a security restriction present in many standard browsers (don't worry). There are several things you can do to fix this problem:
- Firefox seems to at least currently allow files to load other files, so if you're not using Firefox right now just switching to Firefox may cause this report to load properly.
- Running any type of local web server and loading this page (main.html) through the web server instead of by opening the file directly (so the address bar begins with
http://
instead offile://
(which it probably does now) will almost certainly fix the problem. Three fairly simple ways of doing this are:- If you have Python installed, running
python -m SimpleHTTPServer
on Mac/Linux orpython -m http.server
on Windows from a command line will start a local web server rooted in the current directory. Access this server from a browser by typinglocalhost:8000
in the address bar. Navigate from there to main.html and you should be all set. - If you have the Google Chrome browser (even if you're not using it), then download the Web Server for Chrome app (do a web search to find the app on Google's web store) and follow the instructions to start a local web server running out of a given local directory.
- If you use Jupyter/iPython notebooks and have a notebook server running, you can use that same server to access this main.html page. To do so, you must place
files
in front of the actual path to main.html (from your notebook server's root). For example,http://localhost:8888/files/path/to/myReport/main.html
. A trick for accessing files like this is to navigate to main.html using Jupyter's web interface (which will edit the HTML page instead of opening it) and then changingedit
tofiles
in the address bar. In recent versions of Jupyter notebooks, increasing security may require a couple modifications to your ~/.jupyter/jupyter_notebook_config.py file (created by jupyter notebook --generate-config if it doesn't exist already):- Add c.NotebookApp.allow_origin = 'null'
- Add c.NotebookApp.tornado_settings = { 'headers': { 'Access-Control-Allow-Credentials': 'true' } }
- If you have Python installed, running