Navigation

    Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com

    Windy - Errors in lib.js started on 1st August

    General Discussion
    2
    6
    39
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      CompassDSNM last edited by

      Hi Windy,

      We first noticed we were getting errors from lib.js this morning, errors shown in Chome Dev Console:

      Screenshot 2022-08-01 104605.png Screenshot 2022-08-01 105634.png Screenshot 2022-08-01 105657.png

      Can you please investigate this?

      Let me know if you need any more information. We were not getting these errors last week.

      Euan

      C 1 Reply Last reply Reply Quote 0
      • nesro
        nesro Administrator last edited by

        Hi @CompassDSNM ,
        sorry for the issue, we will look into this.

        Can you please specify, how and what parameters are you setting up? It looks like the problem is with product and overlay.

        If you don't want to enclose details here, write us an email to support@windy.com

        Thanks,
        Tomas

        windy.com developer

        1 Reply Last reply Reply Quote 0
        • C
          CompassDSNM @CompassDSNM last edited by

          @Windy

          Created this in Developers instead.

          This ticket can be deleted

          1 Reply Last reply Reply Quote 0
          • C
            CompassDSNM last edited by

            @nesro said in Windy - Errors in lib.js started on 1st August:

            support@windy.com

            I can see that you released a new version at 9am this morning. Before that we had no issues.

            The errors before were when we were using an older version of libboot.

            Using your updated version of libboot.js we get the following:
            c45e33ab-5c0f-4ee6-9516-ba0e0fa571b1-image.png

            I think the error is happening when we are adding controls to the map, but it is hard to know exactly.

            const options = {
                key: 'ourKey',
                verbose: false,
                zoom: 3,
            };
            
            function SetupMap() {
                try {
            
                        localwindy = windyInit(options, windyAPI => {
            
                            const { map, picker, utils, overlays, store, broadcast, particles } = windyAPI;
            
                            map.removeLayer(W.labelsLayer);
            
                            MapState = new MapStateManager(map);
                            map.MapState = MapState;
            
                            map.addControl(L.control.zoom({
                                position: 'topleft'
                            }));
            
            //more code
            
            }
            }
            
            
            
            
            nesro 1 Reply Last reply Reply Quote 0
            • nesro
              nesro Administrator @CompassDSNM last edited by

              @compassdsnm thank you for reporting this issue. In order to fix this, is it possible to get access to a running example? I could debug it and find out the problem.

              I see that your page is protected by a login so I cannot try it.

              windy.com developer

              C 1 Reply Last reply Reply Quote 0
              • C
                CompassDSNM @nesro last edited by

                @nesro I have emailed a login to support@windy.com

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
                NodeBB & contributors, OSM & contributors, HERE maps
                Terms and Conditions     Privacy Policy