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

    JavaScript error when connecting to web control

    Scheduled Pinned Locked Moved Solved
    Duet Web Control
    2
    7
    356
    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.
    • verminsupundefined
      verminsup
      last edited by verminsup

      For some reason after one changed in the config it started saying this.

      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.6
      Message: Uncaught TypeError: Cannot read property 'toFixed' of undefined
      URL: http://---.---.---.--/js/dwc.js (this says the IP adders)
      Line: 4468:75
      Error object: {}

      I can still home if I click really fast before getting this message. I have tried a couple of things but nothing seems to help.

      1. Updated to the latest firmware
      2. Updated to the beta
      3. Connected to two different wifi connections
      4. Used a new sd-card
      5. Changed with he SD card back what i changed, I removed a heater because I'm using a syringe

      The one thing I can think of is updating the DWC but every guide I can find says either to use the web control or is outdated and still usus the Duetwebcontrol.bin file.

      I'm at an absolute loss

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @verminsup
        last edited by

        @verminsup what board are you running and what firmware version?

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        verminsupundefined 1 Reply Last reply Reply Quote 1
        • verminsupundefined
          verminsup @jay_s_uk
          last edited by

          @jay_s_uk
          Duet Wifi
          Version 3.1.1 and Version 3.1beta1

          I have tried both

          1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk
            last edited by

            run this version of DWC with 3.1.1 https://github.com/Duet3D/DuetWebControl/releases/tag/3.1.1

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            verminsupundefined 1 Reply Last reply Reply Quote 1
            • verminsupundefined
              verminsup @jay_s_uk
              last edited by

              @jay_s_uk
              Are there any guides for this? All the guides I can find still use the .bin file or want me to upload it through the DWC

              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @verminsup
                last edited by

                @verminsup
                You may be able to upgrade by uploading the zip file through the systems tab.
                But the age of your DWC may mean that isn't supported (cant remember). If so, then you can either pull the sd card and unzip the contents to the www folder or use https://forum.duet3d.com/topic/10880/rfm-reprapfirmware-filemanager-duetbackup-successor to access the SD card using telnet

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                verminsupundefined 1 Reply Last reply Reply Quote 1
                • verminsupundefined
                  verminsup @jay_s_uk
                  last edited by

                  @jay_s_uk
                  Oh wow that worked, I can't thank you enough.
                  I was on a tight deadline for getting this to work.

                  1 Reply Last reply Reply Quote 1
                  • elmoretundefined elmoret referenced this topic
                  • First post
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA