Open redferret opened 6 years ago
You know, looking at this error I see it occurs in the loadFIle() function. That only ever gets fired when the user tries to upload something, either by using the "Load" button or by dragging/dropping something onto the window. Could something have been dragged onto the window while you were trying to rotate the planet?
I would like to see this issue close out. I'm thinking we can add some sort of check to see whether the dragged content is a valid .sim file. Should be a sure fire way to prevent this from happening again, regardless what caused it.
Uncaught TypeError: Failed to execute 'readAsText' on 'FileReader': parameter 1 is not of type 'Blob'. at loadFile ((index):505) at HTMLBodyElement. ((index):582)
at HTMLBodyElement.dispatch (jquery-1.10.2.min.js:5)
at HTMLBodyElement.v.handle (jquery-1.10.2.min.js:5)
Reproducing this takes time, Usually when I'm poking at it about 4.0 - 4.4 billion year mark it throws this error and the simulation stops working. I'm going to keep exploring the issue and will continue adding to this issue as I make more notes to how I interact with the UI. Usually that's when the error occurs, I switch to Elevation display and it breaks, it happened twice now when switching from a display to Elevation.