[GH-ISSUE #14419] issue: Image creation fails in 0.6.11 #17246

Closed
opened 2026-04-19 22:57:15 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @dyioulos on GitHub (May 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14419

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Pip Install

Open WebUI Version

0.6.11

Ollama Version (if applicable)

0.7.0

Operating System

RHEL 9.5

Browser (if applicable)

Chrome and Firefox

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

An image is created when the image button, and an appropriate LLM, are selected.

Actual Behavior

No image is created when the image button, and an appropriate LLM, are selected. Instead, an error is generated in th ui.

Steps to Reproduce

  1. I tried generating an image in Open-Webui 0.6.11, got an error, and no image was produced.
  2. I rolled back to Open-Webui 0.6.10, and an image was produced.

Logs & Screenshots

With Open-Webui version 0.6.10, images are created just fine With version 0.6.11, while ComyUI appears to create the image I request, I get the following error:

An error occurred while generating an image
Enhanced Prompt
Unable to generate an image, tell the user that an error occurred

Chrome console log:
2MessageInput.svelte:408 Uncaught ReferenceError: selectedChatId is not defined
at be (MessageInput.svelte:408:3)Understand this error
Chat.svelte:195 saveSessionSelectedModels Array(1) ["llava:7b"]
Chat.svelte:195 saveSessionSelectedModels Array(1) ["llava:7b"]
MessageInput.svelte:408 Uncaught ReferenceError: selectedChatId is not defined
at be (MessageInput.svelte:408:3)

Additional Information

ComfyUI version: 0.3.36
LLM: llava:latest.
Docker version: NA (not using Docker)

Originally created by @dyioulos on GitHub (May 27, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/14419 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Pip Install ### Open WebUI Version 0.6.11 ### Ollama Version (if applicable) 0.7.0 ### Operating System RHEL 9.5 ### Browser (if applicable) Chrome and Firefox ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior An image is created when the image button, and an appropriate LLM, are selected. ### Actual Behavior No image is created when the image button, and an appropriate LLM, are selected. Instead, an error is generated in th ui. ### Steps to Reproduce 1. I tried generating an image in Open-Webui 0.6.11, got an error, and no image was produced. 2. I rolled back to Open-Webui 0.6.10, and an image was produced. ### Logs & Screenshots With Open-Webui version 0.6.10, images are created just fine With version 0.6.11, while ComyUI appears to create the image I request, I get the following error: An error occurred while generating an image Enhanced Prompt <context>Unable to generate an image, tell the user that an error occurred</context> Chrome console log: 2MessageInput.svelte:408 Uncaught ReferenceError: selectedChatId is not defined at be (MessageInput.svelte:408:3)Understand this error Chat.svelte:195 saveSessionSelectedModels Array(1) ["llava:7b"] Chat.svelte:195 saveSessionSelectedModels Array(1) ["llava:7b"] MessageInput.svelte:408 Uncaught ReferenceError: selectedChatId is not defined at be (MessageInput.svelte:408:3) ### Additional Information ComfyUI version: 0.3.36 LLM: llava:latest. Docker version: NA (not using Docker)
GiteaMirror added the bug label 2026-04-19 22:57:15 -05:00
Author
Owner

@tkg61 commented on GitHub (May 28, 2025):

Can confirm. Getting errors like:

urllib.error.HTTPError: HTTP Error 400: Bad Request
2025-05-28 18:19:28.020 | ERROR | open_webui.utils.middleware:chat_image_generation_handler:570 - 400: [ERROR: 'NoneType' object is not subscriptable] - {}

Traceback (most recent call last):

File "/app/backend/open_webui/routers/images.py", line 605, in image_generations
for image in res["data"]:
└ None

TypeError: 'NoneType' object is not subscriptable

<!-- gh-comment-id:2917249536 --> @tkg61 commented on GitHub (May 28, 2025): Can confirm. Getting errors like: urllib.error.HTTPError: HTTP Error 400: Bad Request 2025-05-28 18:19:28.020 | ERROR | open_webui.utils.middleware:chat_image_generation_handler:570 - 400: [ERROR: 'NoneType' object is not subscriptable] - {} Traceback (most recent call last): File "/app/backend/open_webui/routers/images.py", line 605, in image_generations for image in res["data"]: └ None TypeError: 'NoneType' object is not subscriptable
Author
Owner

@tkg61 commented on GitHub (May 30, 2025):

Still happening in 0.6.13 just in case that wasn't expected

<!-- gh-comment-id:2923053166 --> @tkg61 commented on GitHub (May 30, 2025): Still happening in 0.6.13 just in case that wasn't expected
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#17246