apprenticelearner / AL_Train

A repository for the CTAT HTML based training harness for Apprentice Learner agents.
MIT License
5 stars 5 forks source link

Failure to Load CTAT errors #11

Open eharpste opened 4 years ago

eharpste commented 4 years ago

I ran into an issue that seemed to be browser dependent but was easily fixed. Basically, I had the wrong path to an HTML file in my training json so the flask serer couldn't find it. When running under Firefox this manifested as a CORS request did not succeed error. On Chrome it manifested as a basic 404 error. In both cases the console just kept printing the Waiting for CTAT to load. Attempt: NNN error message. Maybe we could improve the text of that message to say something like "are you sure your html path is correct?" Or maybe we could start putting together a wiki page of common debugging tips or something.

eharpste commented 4 years ago

This maybe solved by restructuring AL_HTML, we should confirm pre-summer school.