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

    DWC: Uncaught DOMException

    Scheduled Pinned Locked Moved
    Beta Firmware
    4
    8
    286
    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.
    • CCS86undefined
      CCS86
      last edited by CCS86

      DWC was really struggling to load details and thumbnails of a jobs subdirectory. This is what the console shows:

      7a8cf0f3-3259-4363-bd58-1d759793b43c-image.png

      3.5.0-beta.3

      droftartsundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @CCS86
        last edited by

        @CCS86 This would be FAO @chrishamm!

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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

          @CCS86 my guess is that the total size of decompressed thumbnail images is exceeding the local storage quota, which in Chrome is 5Mb. But let's see what @chrishamm says.

          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

          CCS86undefined 1 Reply Last reply Reply Quote 0
          • CCS86undefined
            CCS86 @dc42
            last edited by

            @dc42 said in DWC: Uncaught DOMException:

            @CCS86 my guess is that the total size of decompressed thumbnail images is exceeding the local storage quota, which in Chrome is 5Mb. But let's see what @chrishamm says.

            Behavior is repeating in the root job directory, with only 4 files, after a "clear cache & hard reload".

            1 Reply Last reply Reply Quote 0
            • CCS86undefined
              CCS86
              last edited by

              Okay, I used the "application" section of the console to clear the "local storage", then after a couple more reloads, that error went away and loading is better.

              Just getting these errors now:

              4b0faa03-2c13-45dc-9f22-2c06641ff8df-image.png

              chrishammundefined 1 Reply Last reply Reply Quote 0
              • chrishammundefined
                chrishamm administrators @CCS86
                last edited by

                @CCS86 Can you please share the G-code file that fails to load? It sounds like there may be some bad data in the thumbnail content.

                I haven't seen DOM OOM errors when accessing the cache yet but I'll make sure they are handled properly in the next DWC versions.

                Duet software engineer

                CCS86undefined 1 Reply Last reply Reply Quote 1
                • CCS86undefined
                  CCS86 @chrishamm
                  last edited by

                  @chrishamm

                  So far, after clearing that local storage, the issue hasn't repeated. So, it doesn't seem like it is a specific file/data that caused it. Maybe it just accumulated and filled the allotted space?

                  chrishammundefined 1 Reply Last reply Reply Quote 0
                  • chrishammundefined
                    chrishamm administrators @CCS86
                    last edited by

                    @CCS86 I was rather surprised about the "invalid base64 content", that appears to come from a G-code file (HTTP thumbnail response).

                    Duet software engineer

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