Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Tags
    3. loading
    Log in to post

    • P

      MMM-DarkSkyForecast Loading...
      Troubleshooting • loading not working mmm-darkskyforecast • • P_Tmans  

      19
      0
      Votes
      19
      Posts
      92
      Views

      C

      @P_Tmans you re welcome
    • C

      UNSOLVED Undefined and stuck on loading in MMM Remote-Control
      Troubleshooting • loading mmm remote-control undefined • • cchary  

      2
      0
      Votes
      2
      Posts
      119
      Views

      S

      @cchary see this topic with the change required to make this module work https://forum.magicmirror.builders/topic/12485/has-anyone-got-mmm-remote-control-working-on-mm-2-11/5?page=1
    • 0

      UNSOLVED MMM-GooglePhotos now says 'Loading...' in bottom right
      Troubleshooting • loading mmm-googlephotos • • 0YXmEQ  

      7
      0
      Votes
      7
      Posts
      451
      Views

      Sean

      @0YXmEQ So, still have problem? Or tell me more details what you have done and what you have expected and what you get now. Screenshot will be also the help to understand the problem.
    • S

      Check to see if file (ex. custom.css) exists before trying to load it.
      Feature Requests • error css bug loading feature • • stanchan  

      1
      0
      Votes
      1
      Posts
      1070
      Views

      S

      I, like (I assume) many of RPi tinkerers and hackers, make code changes on my desktop or laptop and then use git to push new code to the RPi. Since MagicMirror doesn’t track css/custom.css, the mirror fails to load up if the file is missing. I tried to come up with a PR to have the loader.js file check if the file exists before appending it to index.html. However, since this is client side JavaScript, it does not have access to the file system and can’t use the fs JavaScript module. I then tried to use code like: var fileDoesNotExist= function(url) { var http = new XMLHttpRequest(); http.open("HEAD", url, false); http.send(); return http.status==404; } to do an http request to the server for the file, but realized that it’s just as bad as the actual http request that tries to load the file and will result in the same errors. So, I’m posting this here in case anyone has ideas and can help me with creating a PR to solve this problem. It’s not really a bug and not really a feature. Just an error check that’s missing. Thanks.
    • 1 / 1