SpreaD3 Error: The index.html file is blank

155 views
Skip to first unread message

Jessel Babe Capin

unread,
Jun 1, 2022, 2:08:41 PM6/1/22
to beast-users
Hi, all. 

I recently tried to visualize an MCC tree with discrete traits using SpreaD3 v0.9.6. Unfortunately, the index.html is blank as shown below. I have tried opening said file in Mozilla Firefox, Chrome, Edge, and Safari to no avail.

2022-06-01.png

I also used the convert-spread3.sh from Github as recommended by a lot of users here. Unfortunately, I don't think the code works anymore even with the provided sample file/s.

Has anyone encountered the same issue and has found another solution?

Many thanks,
Jessel

Pavel Rinkman

unread,
Jun 1, 2022, 4:22:24 PM6/1/22
to beast-users

This is because js-script generated by SpreaD3 do CORS requests locally, not through http://, or at least it should add Access-Control-Allow-Origin: * in the head. So you should raise your own local server. There are a lot of programmes & packages for this. I prefer simple-http-server personally.



среда, 1 июня 2022 г. в 21:08:41 UTC+3, jgc...@up.edu.ph:

shanshan du

unread,
Jun 26, 2023, 2:14:14 PM6/26/23
to beast-users
Hello, I have also encountered this problem. Have you resolved it

Pavel Rinkman

unread,
Jun 26, 2023, 2:24:54 PM6/26/23
to beast-users
Hello!

As I mentioned above, you may just run a local http server and it works.

понедельник, 26 июня 2023 г. в 21:14:14 UTC+3, shanshan du:
Reply all
Reply to author
Forward
0 new messages