biocore / emperor

Emperor a tool for the analysis and visualization of large microbial ecology datasets
http://biocore.github.io/emperor/
Other
52 stars 50 forks source link

"Cannot read property 'getExtension' of null" three.js error on startup in Chrome #737

Closed fedarko closed 4 years ago

fedarko commented 5 years ago

Shi and I ran into this today while trying to load an Emperor QZV file in q2view.

On startup, Emperor just stayed at its splash screen without doing anything. Opening up the Chrome browser console, we saw a bunch of three.js errors (along the lines of the stuff described in this thread we found from googling the errors). That thread made this seem like a browser issue, and sure enough opening up the same visualization in q2view in Safari fixed the problem for some weird reason.

This isn't really an Emperor problem -- more of a three.js thing -- but it may be worth adding something to the docs mentioning that if Emperor gets stuck at the splash screen you might want to try another browser. At the very least, if other people run into this problem then hopefully Google leads them to this issue :)

ElDeveloper commented 5 years ago

That's odd. If you have a chance, can you post the exact version of Google Chrome that you are using and the OS?

fedarko commented 5 years ago

Hey, sorry for the delay! As of today, the versions on the computer where we previously saw this problem are macOS 10.14.5, and Chrome 76.0.3809.132.

I talked with Shi, and this is super strange, but the issue seems to have gone away by this point? The biplot QZV under examination now seems to load fine in Chrome (it may have been regenerated since, but I don't see why that would change things...)

We don't think any versions have been updated since then, so I really have no idea why this problem has gone away. (Feel free to close this issue.)

ElDeveloper commented 4 years ago

The recent update to THREE.js should help with this issue. If the problem persists we can further look into it.