Esri / wind-js

An demo animation of wind on a Canvas layer in the JSAPI
MIT License
735 stars 214 forks source link

dojo.io.script error #19

Closed Bluedhh closed 8 years ago

Bluedhh commented 8 years ago

when I put the code in myeclipse with tomcat, it did not work and show error : dojo.io.script error .I am a new programma and it is a little problem ,but please tell me how to build the sever in this program.

jgravois commented 8 years ago

do you also see a web request for RasterLayer.js that 404s when the application loads? if so, how exactly are you attempting to load the application in a browser?

when i copied the files down into the root of my own web server and accessed them via http://localhost/index.html, everything displayed correctly for me.

akiohansen commented 8 years ago

Hey everyone, I've the same problem like Bluedhh... I also get the following dojo.io.script error: "dojo.io.script error Error: Token Required.", when I'm trying to run the escri/wind-js project, which is really cool! Thanks!

Does anybody have an idea how to fix this issue? Thanks a lot!

jgravois commented 8 years ago

@akiohansen:

akiohansen commented 8 years ago

@jgravois

Do you have any idea how to get this very cool application running on my own server? Thanks a lot for all your work and your support!!! ;-)

jgravois commented 8 years ago

thanks for the additional info.

you're seeing this because the code in the master branch of the repository points at a custom dark gray basemap which is no longer publicly accessible. if you use the code in our gh-pages branch (which powers our live sample), everything works as expected.

i'll fix this problem and bump the ArcGIS API for JavaScript version in use here as soon as i get a chance.

in general, i recommend that we blow away the master branch entirely as i believe its doing more harm than good to maintain and syncronize both.

akiohansen commented 8 years ago

Great! Thank you very much for your very helpful support and the project in general!!! Now, everythin works as it should do. I've now used the gh-pages branch as suggested. ;-) Thanks a lot and all the best!

jgravois commented 8 years ago

you're very welcome.