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

    How to fix these errors?

    Scheduled Pinned Locked Moved
    Firmware installation
    5
    8
    1.8k
    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.
    • dintidundefined
      dintid
      last edited by

      I've begun getting the following errors and not sure how to fix it:

      After each reconnect to the web interface:

      [[language]]
      Can't open 0:/sys/oem.json to read, error code 4
      
      

      When changing to Tool 5:

      T5
      Can't open 0:/sys/tpre5.g to read, error code 4
      Can't open 0:/sys/tpost5.g to read, error code 4
      
      

      When changing to Tool 6:

      T-1
      Can't open 0:/sys/tfree6.g to read, error code 4
      ```and
      

      T6
      Can't open 0:/sys/tpre6.g to read, error code 4
      Can't open 0:/sys/tpost6.g to read, error code 4

      
      **Macros:**
      
      > I can no longer see or edit Macros.
      
      **My system**
      
      > Firmware Electronics: Duet WiFi 1.0 + DueX5
      > Firmware Version: 1.19RC3 (2017-08-05)
      > WiFi Server Version: 1.19beta10
      > Web Interface Version: 1.17+2

      RepRapFirmware supported G-codes: https://duet3d.com/wiki/G-code

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

        If you don't enable Platform debugging then those messages will go away. So:

        • Check that you have no M111 command in config.g
        • If you are using Repetier host, then there is a bunch of buttons in the UI, one of which will stop Repetier sending a M111 command to the printer. You can blame Repetier for implementing their own version of the P parameter after the P parameter had already been implemented in RRF and documented in the reprap.org gcode wiki. [It's not the first time Repetier has ignored a documented standard, they did it when they implemented tool mixing too.]

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

          I have purposefully enabled debugging or I can't know what the problems are. I don't want to just disable these messages. I want to fix them, so should I manually create blank files, or?

          I am not using Repetier. These error messages originaes from within the Duet Web interface.

          RepRapFirmware supported G-codes: https://duet3d.com/wiki/G-code

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

            @dintid:

            I have purposefully enabled debugging or I can't know what the problems are.

            What problems?

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

              That looks like the ability to have tool change (pre - post) scripts per tool, outside a slicer.
              Awesome!

              1 Reply Last reply Reply Quote 0
              • T3P3Tonyundefined
                T3P3Tony administrators
                last edited by

                @dintid:

                I've begun getting the following errors and not sure how to fix it:

                After each reconnect to the web interface:

                [[language]]
                Can't open 0:/sys/oem.json to read, error code 4
                
                

                This was added by Christian to allow OEMs to have their own JSON file it is ignored if not found.

                @dintid:

                When changing to Tool 5:

                T5
                Can't open 0:/sys/tpre5.g to read, error code 4
                Can't open 0:/sys/tpost5.g to read, error code 4
                
                

                When changing to Tool 6:

                T-1
                Can't open 0:/sys/tfree6.g to read, error code 4
                ```and
                

                T6
                Can't open 0:/sys/tpre6.g to read, error code 4
                Can't open 0:/sys/tpost6.g to read, error code 4

                If you have 6 tools defined then they will look for the free, pre and post files. If you don't want to carry out any actions on tool being freed up not pre and post a tool being selected then blank files are fine.

                @dintid:

                Macros:

                I can no longer see or edit Macros.

                Can you give more information about the macro problem please.

                @dintid:

                My system

                Firmware Electronics: Duet WiFi 1.0 + DueX5
                Firmware Version: 1.19RC3 (2017-08-05)
                WiFi Server Version: 1.19beta10
                Web Interface Version: 1.17+2

                Worth trying the new version of the web interface

                www.duet3d.com

                1 Reply Last reply Reply Quote 0
                • dintidundefined
                  dintid
                  last edited by

                  @T3P3Tony:

                  @dintid:

                  I've begun getting the following errors and not sure how to fix it:

                  After each reconnect to the web interface:

                  [[language]]
                  Can't open 0:/sys/oem.json to read, error code 4
                  
                  

                  This was added by Christian to allow OEMs to have their own JSON file it is ignored if not found.

                  @dintid:

                  When changing to Tool 5:

                  T5
                  Can't open 0:/sys/tpre5.g to read, error code 4
                  Can't open 0:/sys/tpost5.g to read, error code 4
                  
                  

                  When changing to Tool 6:

                  T-1
                  Can't open 0:/sys/tfree6.g to read, error code 4
                  ```and
                  

                  T6
                  Can't open 0:/sys/tpre6.g to read, error code 4
                  Can't open 0:/sys/tpost6.g to read, error code 4

                  If you have 6 tools defined then they will look for the free, pre and post files. If you don't want to carry out any actions on tool being freed up not pre and post a tool being selected then blank files are fine.

                  @dintid:

                  Macros:

                  I can no longer see or edit Macros.

                  Can you give more information about the macro problem please.

                  @dintid:

                  My system

                  Firmware Electronics: Duet WiFi 1.0 + DueX5
                  Firmware Version: 1.19RC3 (2017-08-05)
                  WiFi Server Version: 1.19beta10
                  Web Interface Version: 1.17+2

                  Worth trying the new version of the web interface

                  Thank you for very nice answers in regards to behaviour of system. These explanations to standard warnings would be awesome to have in some centralized place.. either in Wiki under a dedicated section and/or in the Web inerface.

                  Macros:
                  We used to be able to click a macro-file in the webgui and choose run, edit or delete but not anymore. Now we can only select run it. We can't even delete it from inside the webinterface, but has to put the SD card into a computer.

                  RepRapFirmware supported G-codes: https://duet3d.com/wiki/G-code

                  1 Reply Last reply Reply Quote 0
                  • darookeeundefined
                    darookee
                    last edited by

                    @dintid:

                    Macros:
                    We used to be able to click a macro-file in the webgui and choose run, edit or delete but not anymore. Now we can only select run it. We can't even delete it from inside the webinterface, but has to put the SD card into a computer.

                    You can right-click the files. I was confused at first, too, but now I kinda like it…

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