Giter VIP home page Giter VIP logo

Comments (7)

j3soon avatar j3soon commented on June 1, 2024

Tried it on Windows 10 Chrome Version 98.0.4758.102 (Official Build) (64-bit) and Edge Version 98.0.1108.62 (Official build) (64-bit). Cannot reproduce the error.

Can you post a screenshot of the console logs in the console window? (Ctrl+Shift+I > Console)

Did the error persist in Incognito/Private Mode?

from ray-optics.

RainerHeintzmann avatar RainerHeintzmann commented on June 1, 2024

Thanks for trying it out. I tried in the Incognito mode and both the online and local versions have the same problem.
The console yields:
image
in the local version and
image
in the online version. (Both on Chrome),

from ray-optics.

RainerHeintzmann avatar RainerHeintzmann commented on June 1, 2024

.. these problems seem to be on startup and no more error are reported on hover or click. But no menus are visible.

from ray-optics.

j3soon avatar j3soon commented on June 1, 2024

The logs indicates that your machine cannot access the jQuery script, which is a dependency of ray-optics.

Can you access the jQuery script directly? The link should show some JavaScript code as below:

jquery

from ray-optics.

RainerHeintzmann avatar RainerHeintzmann commented on June 1, 2024

Thats interesting. In fact I cannot access that site.
image

from ray-optics.

j3soon avatar j3soon commented on June 1, 2024

I think it's due to some errors in your internet connection or your machine's DNS cache. You may try out some potential solutions:

  • Flush your DNS Cache
    Follow the instructions in this post and reopen ray-optics in Incognito mode.
  • Download ray-optics to local file system, change the URL in Line 380 of simulator/index.html to another CDN you have access to (maybe https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js) and open this HTML file locally. If the console shows other ERR_CONNECTION_RESET errors as shown in the image below, you may need to resolve the connection issue for each dependency. (Line 380-383 in simulator/index.html)
    jquery
  • Try out ray-optics on another machine

from ray-optics.

RainerHeintzmann avatar RainerHeintzmann commented on June 1, 2024

Thanks a lot for the hints!
After flushing the DNS cache (which needed several restarts) in incognito mode nothing changed.
In the normal mode I get an additional warning:
image

However, changing Line 380 of simulator/index.html did the trick and now everything sees to work fine.
Maybe one can somehow put this as an alternative? No idea why I cannot access the other site. Possibly the virus scanners are preventing this? I am using a university computer, but from my home.

By the way. We are interested in possibly using your fantastic tool as a basis for a tutorial on optical alignment. A student may contact you soon. I think a first step would be some properties of restricting the ability of users to influence all properties of the various elements. Ultimately we are also thinking of upgrading the raytracing to 3D but keeping the view(s) 2D. But anyway, this is a different discussion.

from ray-optics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.