• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Javascript error after auto bed compensation

Scheduled Pinned Locked Moved
General Discussion
5
16
1.5k
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.
  • undefined
    ajcraig99
    last edited by 8 Aug 2018, 08:06

    I am able to probe 5 points using the bed compensation tool but as soon as the window appears to show results, it closes and displays the following error:

    I was using 2.01 beta firmware so tried downgrading to 1.21 which hasn't solved the problem.

    JavaScript Error
    
    A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to 
    reload the web interface now. If this happens again, please contact the author and share this error message:
    
    Version: 1.21-RC4
    Message: Uncaught TypeError: Cannot read property 'getExtension' of null
    URL: http://192.168.1.11/js/dwc.js
    Line: 14:286325
    Error object: {}
    

    Any ideas?

    1 Reply Last reply Reply Quote 0
    • undefined
      ajcraig99
      last edited by 8 Aug 2018, 09:37

      I have just run G29 to generate a a height map and it gave the same error when trying to display the results.
      Now any time I try to "Show Mesh Grid Heightmap" it crashes with the above error.

      1 Reply Last reply Reply Quote 0
      • undefined
        dc42 administrators
        last edited by 8 Aug 2018, 12:41

        Which version of Duet Web Control are you running? With 2.01 firmware you should use either 1.21.2-dc42 or 1.22.

        Firmware 1.21-RC4 is not the same as firmware 1.21 release.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • undefined
          ajcraig99
          last edited by 8 Aug 2018, 19:04

          Just updated to 1.21.2-dc42 and still get the error

          JavaScript Error
          
          A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to 
          reload the web interface now. If this happens again, please contact the author and share this error message:
          
          Version: 1.21.2-dc42
          Message: Uncaught TypeError: Cannot read property 'getExtension' of null
          URL: http://192.168.1.11/js/dwc.js
          Line: 15:296307
          Error object: {}
          

          General Info:

          Firmware Name:	RepRapFirmware for Duet 2 WiFi/Ethernet
          Firmware Electronics:	Duet WiFi 1.02 or later
          Firmware Version:	1.21 (2018-03-21)
          WiFi Server Version:	1.21RC4(08b3)
          Web Interface Version:	1.21.2-dc42
          
          1 Reply Last reply Reply Quote 0
          • undefined
            ajcraig99
            last edited by 8 Aug 2018, 19:24

            Have also updated the WIFI server to 1.21 to no avail.

            1 Reply Last reply Reply Quote 0
            • undefined
              ajcraig99
              last edited by 9 Aug 2018, 18:46

              Any suggestions?

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by 9 Aug 2018, 18:53

                I don't know if this will help, but you could try pressing "Load factory defaults" followed by "Apply settings" on the Settings/User Interface page of DWC.

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                1 Reply Last reply Reply Quote 0
                • undefined
                  ajcraig99
                  last edited by 9 Aug 2018, 20:10

                  Thanks, I will give that a shot when I get home tonight. I found it works no problem on my phone this morning so I updated java on my PC but that didn't work. Will report back

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    ajcraig99
                    last edited by 11 Aug 2018, 04:43

                    Still no luck. It works fine on Edge browser though

                    undefined 1 Reply Last reply 11 Aug 2018, 08:42 Reply Quote 0
                    • undefined
                      dc42 administrators @ajcraig99
                      last edited by 11 Aug 2018, 08:42

                      @ajcraig99 said in Javascript error after auto bed compensation:

                      Still no luck. It works fine on Edge browser though

                      Have you tried DWC 1.22, available at https://github.com/chrishamm/DuetWebControl/blob/master/DuetWebControl-1.22.zip (follow that link, then press Download)?

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      undefined 1 Reply Last reply 11 Aug 2018, 20:43 Reply Quote 0
                      • undefined
                        ajcraig99 @dc42
                        last edited by 11 Aug 2018, 20:43

                        @dc42

                        Just installed 1.22, no luck.

                         × JavaScript Error
                        
                        A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message:
                        
                        Version: 1.22
                        Message: Uncaught TypeError: Cannot read property 'getExtension' of null
                        URL: http://192.168.1.11/js/dwc.js
                        Line: 15:296307
                        Error object: {}
                        
                        undefined 1 Reply Last reply 11 Aug 2018, 21:14 Reply Quote 0
                        • undefined
                          JoergS5 @ajcraig99
                          last edited by 11 Aug 2018, 21:14

                          @ajcraig99 There was a thread here:
                          https://github.com/mrdoob/three.js/issues/4927

                          with different possibilities, one of them chrome having problems with WebGL. And one quick check was to call
                          https://get.webgl.org/
                          whether this page works.

                          arefin86 created this issue 15 Jun 2014, 23:27 in mrdoob/three.js

                          closed Error creating WebGL context #4927

                          undefined 1 Reply Last reply 11 Aug 2018, 21:28 Reply Quote 1
                          • undefined
                            ajcraig99 @JoergS5
                            last edited by 11 Aug 2018, 21:28

                            @joergs5

                            Thankyou, although my graphics drivers were up to date, I reinstalled chrome which solved the issue.

                            undefined 1 Reply Last reply 11 Aug 2018, 22:41 Reply Quote 1
                            • undefined
                              JoergS5 @ajcraig99
                              last edited by 11 Aug 2018, 22:41

                              @ajcraig99 That's fine. Sometimes reinstall or reboots solves a problem.

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                gnatman
                                last edited by 10 Oct 2018, 12:26

                                Im getting a similar issue. Though my error reads;
                                A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message:

                                Version 1.22
                                Message: Uncaught TypeError:rememberedGCodes.indexOf is not a function
                                url:http://ipaddressofprinter/js/dwc.jc
                                Line: 1175:69
                                Error object: {}

                                it makes it hard to type in a gcode command to move the head. it does it after bed leveling too. I thought it might have been from my filament sensors but it wasn't from that.

                                T3P3Tonyundefined 1 Reply Last reply 10 Oct 2018, 13:57 Reply Quote 0
                                • T3P3Tonyundefined
                                  T3P3Tony administrators @gnatman
                                  last edited by 10 Oct 2018, 13:57

                                  @gnatman your DWC is out of sync with the firmware i think. I would grade to the latest stable firmware and DWC:
                                  https://github.com/dc42/RepRapFirmware/releases/tag/2.01

                                  make sure you read the Whats New file for all releases in between your current one and 2.01:
                                  https://github.com/dc42/RepRapFirmware/blob/dev/WHATS_NEW.md

                                  www.duet3d.com

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post
                                  Unless otherwise noted, all forum content is licensed under CC-BY-SA