Skip to content

[Bug]: "Uncaught (in promise) DOMException: Invalid image request." when importing a previously saved 6144x4096 workspace #296

Description

@jegguces

What happened?

Tried to load a previously saved JSON workspace file using the "Import Workspace" button. The canvas resized to to the correct 6144x4096 dimensions, but the image an layers never appeared.

Firefox browser console had the following error:

Uncaught (in promise) DOMException: Invalid image request. workspace.populate.js:124:10
    <anonymous> http://127.0.0.1:3456/js/initalize/workspace.populate.js?v=925431d:124
    AsyncFunctionThrow self-hosted:811
    (Async: async)
    <anonymous> http://127.0.0.1:3456/js/initalize/workspace.populate.js?v=925431d:120

Steps to reproduce the problem

  1. Open OpenOutpaint
    (this issue occurs in both the standalone OpenOutpaint app and in the A1111/Forge extension)
  2. The zipped workspace file is too big to upload; example workspace consists of a single 5140x4116 black image stamped on a 6144x4096 canvas, then exported to "sample workspace.json"
  3. Press "Import Workspace" and try to import "sample workspace.json"
  4. Canvas resizes to the correct dimensions, but image does not appear on the canvas

What should have happened?

The image should appear on the canvas

Commit where the problem happens

32f38d9, 32f38d9

What platforms do you use to access openOutpaint?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Browser Extensions/Addons

  • uMatrix (127.0.0.1 whitelisted)
  • uBlock Origin (127.0.0.1 whitelisted)

AUTOMATIC1111 webUI Commandline Arguments

--api ^
--xformers ^
--vae-dir %SD_HOME%/models/VAE ^
--ckpt-dir %SD_HOME%/models/Stable-diffusion ^
--embeddings-dir %SD_HOME%/embeddings ^
--controlnet-preprocessor-models-dir %SD_HOME%/extensions/sd-webui-controlnet/annotator/downloads ^
--controlnet-dir %SD_HOME%/models/ControlNet ^
--lora-dir %SD_HOME%/models/Lora

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions