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

    Duet3 upgrade - java error

    Scheduled Pinned Locked Moved
    Firmware installation
    4
    21
    539
    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.
    • dc42undefined
      dc42 administrators @jens55
      last edited by

      @jens55 said in Duet3 upgrade - java error:

      The javascript error went away after I upgraded to the new web panel and after I didn't go directly to the reprap.htm page.

      What I meant was, when you were using the old Duet Web Control (version 1.22.6?) with RRF3, did the javascript error occur immediately, or only when you did something in particular? DWC 1.22.6 is working for me with RRF3.

      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
      • jens55undefined
        jens55
        last edited by

        The javascript error popped up immediately upon completion of loading the page.

        Furthermore, now that I have all the files re-installed, when I go to the old web interface I get the javascript error again (but at least the page formatting is correct now)

        Version: 1.22.6
        Message: Type Error: lastStatusResponse.temps.current[heater] is undefined
        URL: http://192.168.1.114/js/dwc.js
        Line: 4468:8
        Error object: {}

        dc42undefined 1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators @jens55
          last edited by

          @jens55 said in Duet3 upgrade - java error:

          The javascript error popped up immediately upon completion of loading the page.

          Furthermore, now that I have all the files re-installed, when I go to the old web interface I get the javascript error again (but at least the page formatting is correct now)

          Version: 1.22.6
          Message: Type Error: lastStatusResponse.temps.current[heater] is undefined
          URL: http://192.168.1.114/js/dwc.js
          Line: 4468:8
          Error object: {}

          Thanks. This may be caused by a bug in RRF 3.0 that I have fixed since that release. Also, have you numbered the heaters consecutively? I'm not sure whether DWC 1.22.6 can handle gaps in the numbering.

          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
          • jens55undefined
            jens55
            last edited by jens55

            No, the heaters are not numbered sequentially ... my second extruder, heater and sensor is on a duex5 board.

            I should add that the setup worked fine under Duet2

            dc42undefined 1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @jens55
              last edited by

              @jens55 said in Duet3 upgrade - java error:

              No, the heaters are not numbered sequentially ... my second extruder, heater and sensor is on a duex5 board.

              That may be the problem then. In RRF2, all heaters existed even if you didn't use them. In RRF3, only heaters you create using M950 exist. If that's the problem, then a solution would be to renumber the heaters in your M950 and M563 commands so that there are no gaps in the numbering. So you would call the first heater on the DueX board heater 2 instead of heater 3.

              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

              jens55undefined 1 Reply Last reply Reply Quote 0
              • jens55undefined
                jens55 @dc42
                last edited by

                @dc42 RRF3 is not yet configured at all so I don't expect anything to work BUT .... it makes no sense for the web control panel to break if there is an issue with the printer configuration. In other words, the new web panel handles things as it should but the old one has a programming error of some kind.
                If the old web panel is still deemed 'supported' then that fix should be back-ported.
                Of course it doesn't help that most users probably use the web panel to set up the printer configuration 😞
                Maybe this conversation will land on the right desk and a fix will happen .....

                1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators
                  last edited by

                  The old web interface isn't actively supported with RRF3, but I was interested to find out why it didn't work for you.

                  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
                  • jens55undefined
                    jens55
                    last edited by

                    It is unfortunate that the old web interface is no longer supported.
                    Hopefully it will work once Duet3 is properly configured.

                    1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators
                      last edited by dc42

                      We don't have enough resources to justify supporting 2 different web interfaces. But everything is open source, so anyone who wants to is free to do their own web interface, or adapt old versions to new RRF releases.

                      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
                      • jens55undefined
                        jens55
                        last edited by

                        Of course .... and I understand .... but it is still unfortunate ....

                        jens55undefined 1 Reply Last reply Reply Quote 0
                        • jens55undefined
                          jens55 @jens55
                          last edited by jens55

                          I should add that I appreciate the support that you give even though your resources are very limited !

                          Also, thank you to all the other people that help in supporting the whole Duet system! I am sure that it wouldn't be half as successful without the effort of a lot of people!

                          Thank you !

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