Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Possible Bug in Web Interface 1.22.5 Displaying Message Box

    Firmware developers
    3
    6
    772
    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.
    • ctilley79
      ctilley79 last edited by

      I keep getting the following message and it seems to be an error related to displaying a modal inside of a web browser. Tried in the latest Firefox and Safari as that's what I had to test with.

      T0 M702 Error: M291: Attempt to create a message box that cannot be dismissed

      System Information
      Firmware: 2.02RC5(RTOS) (2018-11-28b1)
      WiFi Server: 1.21
      Web Interface: 1.22.5

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

        What M291 command are you using?

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

          M291 P"Please wait while the nozzle is being heated up" R"Loading PETG" S0 T0 ; Display message

          Based off of sample code to set up filament scripts. Used to work in firmware 2.0.1 and web interface 1.22.3. I'm going to play around with modes and also see if setting a timeout works.

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

            @ctilley79 said in Possible Bug in Web Interface 1.22.5 Displaying Message Box:

            M291 P"Please wait while the nozzle is being heated up" R"Loading PETG" S0 T0 ; Display message

            Based off of sample code to set up filament scripts. Used to work in firmware 2.0.1 and web interface 1.22.3. I'm going to play around with modes and also see if setting a timeout works.

            S0 = no buttons displayed, so you can't close the message box.
            T0 = no timeout, so the message box will be displayed forever. As you can't close it either, the message box will last forever and the user interface won't be usable.

            Hence the firmware doesn't allow you to use the combination S0 T0.

            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

            ctilley79 1 Reply Last reply Reply Quote 0
            • Phaedrux
              Phaedrux Moderator last edited by

              I've edited https://duet3d.dozuki.com/Wiki/Filaments to remove the instances of M291 S0 T0 in the code examples.

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 1
              • ctilley79
                ctilley79 @dc42 last edited by

                @dc42 sounds good. I guess the default behavior should work if I drop the T parameter. According to the Duet gcode docs, T defaults to 10 seconds for modes S0 and S1. I’m out of town and will test when I get back.

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