• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    CCS86
    last edited by CCS86 19 May 2023, 01:14

    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

    undefined undefined 2 Replies Last reply 19 May 2023, 11:09 Reply Quote 0
    • undefined
      droftarts administrators @CCS86
      last edited by 19 May 2023, 11:09

      @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
      • undefined
        dc42 administrators @CCS86
        last edited by 19 May 2023, 19:53

        @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

        undefined 1 Reply Last reply 19 May 2023, 20:30 Reply Quote 0
        • undefined
          CCS86 @dc42
          last edited by 19 May 2023, 20:30

          @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
          • undefined
            CCS86
            last edited by 19 May 2023, 20:35

            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

            undefined 1 Reply Last reply 22 May 2023, 07:06 Reply Quote 0
            • undefined
              chrishamm administrators @CCS86
              last edited by 22 May 2023, 07:06

              @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

              undefined 1 Reply Last reply 22 May 2023, 18:41 Reply Quote 1
              • undefined
                CCS86 @chrishamm
                last edited by 22 May 2023, 18:41

                @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?

                undefined 1 Reply Last reply 23 May 2023, 08:58 Reply Quote 0
                • undefined
                  chrishamm administrators @CCS86
                  last edited by 23 May 2023, 08:58

                  @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
                  5 out of 8
                  • First post
                    5/8
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA