Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load file #25

Open
xuxiyang1993 opened this issue Oct 22, 2017 · 1 comment
Open

Failed to load file #25

xuxiyang1993 opened this issue Oct 22, 2017 · 1 comment

Comments

@xuxiyang1993
Copy link

For the problem waterworld, when I click the button 'Load a Pretrained Agent', it prompts

Failed to load file:///C:/Users/xuxiyang/Desktop/reinforcejs-master/agentzoo/wateragent.json: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
jquery-2.1.3.min.js:4

Anyone knows how to resolve this and load the saved data?

@alperenkirimer
Copy link

@xuxiyang1993 Try using XMLHttpRequest to load a local json file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants