[GH-ISSUE #24715] issue: Comfyui image generation borked in 0.9.5 but it was fine in 0.9.4 [ERROR: 'NoneType' object has no attribute 'lower'] #123697

Closed
opened 2026-05-21 03:08:58 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @krakerz on GitHub (May 14, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24715

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

0.9.5

Ollama Version (if applicable)

No response

Operating System

Debian 13

Browser (if applicable)

No response

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

image generated without issue

Actual Behavior

image generated error, the file itself generated (checked on output dir from comfyui), it just won't insert in openwebui chat

i tried to roll back to 0.9.4 it was fine without issue though

Steps to Reproduce

  1. use ComfyUI, simple workflow was enough (need in local IP, ex : http://192.168.1.x)
  2. just create image from chat

Logs & Screenshots

both has same settings, same hw, i just changed the version

in 0.9.5

Image

in 0.9.4

Image

Additional Information

there is no error in console.log / network
image is openable without issue via browser
also i'm using lm-studio for the chat backend

workflow, you can remove ram and vram cleanup

Image
{
  "68": {
    "inputs": {
      "ckpt_name": "JANKUTrainedNoobaiRouwei_v60.safetensors"
    },
    "class_type": "CheckpointLoaderSimple",
    "_meta": {
      "title": "Load Checkpoint"
    }
  },
  "70": {
    "inputs": {
      "text": "happy, female ",
      "clip": [
        "68",
        1
      ]
    },
    "class_type": "CLIPTextEncode",
    "_meta": {
      "title": "CLIP Text Encode (Prompt)"
    }
  },
  "71": {
    "inputs": {
      "text": "embedding:lazyhand_1450646, embedding:lazyloli_1733407, embedding:lazywet, ",
      "clip": [
        "68",
        1
      ]
    },
    "class_type": "CLIPTextEncode",
    "_meta": {
      "title": "CLIP Text Encode (Prompt)"
    }
  },
  "74": {
    "inputs": {
      "seed": 1075292621405762,
      "steps": 30,
      "cfg": 3,
      "sampler_name": "euler_ancestral",
      "scheduler": "sgm_uniform",
      "denoise": 1,
      "model": [
        "68",
        0
      ],
      "positive": [
        "70",
        0
      ],
      "negative": [
        "71",
        0
      ],
      "latent_image": [
        "78",
        0
      ]
    },
    "class_type": "KSampler",
    "_meta": {
      "title": "KSampler"
    }
  },
  "75": {
    "inputs": {
      "samples": [
        "79",
        0
      ],
      "vae": [
        "68",
        2
      ]
    },
    "class_type": "VAEDecode",
    "_meta": {
      "title": "VAE Decode"
    }
  },
  "78": {
    "inputs": {
      "width": 1128,
      "height": 2000,
      "batch_size": 1
    },
    "class_type": "EmptyLatentImage",
    "_meta": {
      "title": "Empty Latent Image"
    }
  },
  "79": {
    "inputs": {
      "anything": [
        "74",
        0
      ]
    },
    "class_type": "easy cleanGpuUsed",
    "_meta": {
      "title": "Clean VRAM Used"
    }
  },
  "80": {
    "inputs": {
      "clean_file_cache": true,
      "clean_processes": true,
      "clean_dlls": false,
      "retry_times": 1,
      "anything": [
        "75",
        0
      ]
    },
    "class_type": "RAMCleanup",
    "_meta": {
      "title": "🎈RAM-Cleanup"
    }
  },
  "86": {
    "inputs": {
      "filename_prefix": "chat/chat",
      "images": [
        "75",
        0
      ]
    },
    "class_type": "SaveImage",
    "_meta": {
      "title": "Save Image"
    }
  }
}
Originally created by @krakerz on GitHub (May 14, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/24715 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version 0.9.5 ### Ollama Version (if applicable) _No response_ ### Operating System Debian 13 ### Browser (if applicable) _No response_ ### 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 image generated without issue ### Actual Behavior image generated error, the file itself generated (checked on output dir from comfyui), it just won't insert in openwebui chat i tried to roll back to 0.9.4 it was fine without issue though ### Steps to Reproduce 1. use ComfyUI, simple workflow was enough (need in local IP, ex : http://192.168.1.x) 2. just create image from chat ### Logs & Screenshots both has same settings, same hw, i just changed the version in 0.9.5 <img width="1839" height="924" alt="Image" src="https://github.com/user-attachments/assets/1ee9a9a1-6f75-4eec-90f7-e4a551572f68" /> in 0.9.4 <img width="2073" height="654" alt="Image" src="https://github.com/user-attachments/assets/66f40a3e-3ef9-4fe6-96f9-a1bbbf7a7d87" /> ### Additional Information there is no error in console.log / network image is openable without issue via browser also i'm using lm-studio for the chat backend workflow, you can remove ram and vram cleanup <img width="1951" height="1129" alt="Image" src="https://github.com/user-attachments/assets/065de44c-f5fb-4755-9981-710af6e0d443" /> ``` { "68": { "inputs": { "ckpt_name": "JANKUTrainedNoobaiRouwei_v60.safetensors" }, "class_type": "CheckpointLoaderSimple", "_meta": { "title": "Load Checkpoint" } }, "70": { "inputs": { "text": "happy, female ", "clip": [ "68", 1 ] }, "class_type": "CLIPTextEncode", "_meta": { "title": "CLIP Text Encode (Prompt)" } }, "71": { "inputs": { "text": "embedding:lazyhand_1450646, embedding:lazyloli_1733407, embedding:lazywet, ", "clip": [ "68", 1 ] }, "class_type": "CLIPTextEncode", "_meta": { "title": "CLIP Text Encode (Prompt)" } }, "74": { "inputs": { "seed": 1075292621405762, "steps": 30, "cfg": 3, "sampler_name": "euler_ancestral", "scheduler": "sgm_uniform", "denoise": 1, "model": [ "68", 0 ], "positive": [ "70", 0 ], "negative": [ "71", 0 ], "latent_image": [ "78", 0 ] }, "class_type": "KSampler", "_meta": { "title": "KSampler" } }, "75": { "inputs": { "samples": [ "79", 0 ], "vae": [ "68", 2 ] }, "class_type": "VAEDecode", "_meta": { "title": "VAE Decode" } }, "78": { "inputs": { "width": 1128, "height": 2000, "batch_size": 1 }, "class_type": "EmptyLatentImage", "_meta": { "title": "Empty Latent Image" } }, "79": { "inputs": { "anything": [ "74", 0 ] }, "class_type": "easy cleanGpuUsed", "_meta": { "title": "Clean VRAM Used" } }, "80": { "inputs": { "clean_file_cache": true, "clean_processes": true, "clean_dlls": false, "retry_times": 1, "anything": [ "75", 0 ] }, "class_type": "RAMCleanup", "_meta": { "title": "🎈RAM-Cleanup" } }, "86": { "inputs": { "filename_prefix": "chat/chat", "images": [ "75", 0 ] }, "class_type": "SaveImage", "_meta": { "title": "Save Image" } } } ```
GiteaMirror added the bug label 2026-05-21 03:08:58 -05:00
Author
Owner

@owui-terminator[bot] commented on GitHub (May 14, 2026):

🔍 Related Issues Found

I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:

  1. 🟣 #24565 issue: edit_image with ComfyUI no longer returns images in 0.9.5
    Very similar regression in 0.9.5 where ComfyUI successfully generates the image but Open WebUI fails when handling the returned image, producing the same NoneType/lower error. This makes it the closest match to a ComfyUI image-return bug introduced in the same version.
    by seamon67 · bug

  2. 🟣 #24347 bug: Images returned as Base64 in stream/chunk responses are not rendered in the UI
    This issue is about images being returned by the backend but not rendered in the UI. While the transport differs (base64 stream/chunk vs ComfyUI), the symptom is the same: generated image data exists but Open WebUI fails to display it.
    by alihossein · bug


💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead.

This comment was generated automatically. React with 👍 if helpful, 👎 if not.

<!-- gh-comment-id:4451484630 --> @owui-terminator[bot] commented on GitHub (May 14, 2026): <!-- terminator-bot:related-issues-reply --> 🔍 **Related Issues Found** I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions: 1. 🟣 [#24565](https://github.com/open-webui/open-webui/issues/24565) **issue: edit_image with ComfyUI no longer returns images in 0.9.5** *Very similar regression in 0.9.5 where ComfyUI successfully generates the image but Open WebUI fails when handling the returned image, producing the same `NoneType`/`lower` error. This makes it the closest match to a ComfyUI image-return bug introduced in the same version.* *by seamon67 · `bug`* 2. 🟣 [#24347](https://github.com/open-webui/open-webui/issues/24347) **bug: Images returned as Base64 in stream/chunk responses are not rendered in the UI** *This issue is about images being returned by the backend but not rendered in the UI. While the transport differs (base64 stream/chunk vs ComfyUI), the symptom is the same: generated image data exists but Open WebUI fails to display it.* *by alihossein · `bug`* --- 💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead. *This comment was generated automatically.* React with 👍 if helpful, 👎 if not.
Author
Owner

@krakerz commented on GitHub (May 14, 2026):

🔍 Related Issues Found

I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:

  1. 🟣 #24565 issue: edit_image with ComfyUI no longer returns images in 0.9.5
    Very similar regression in 0.9.5 where ComfyUI successfully generates the image but Open WebUI fails when handling the returned image, producing the same NoneType/lower error. This makes it the closest match to a ComfyUI image-return bug introduced in the same version.
    by seamon67 · bug
  2. 🟣 #24347 bug: Images returned as Base64 in stream/chunk responses are not rendered in the UI
    This issue is about images being returned by the backend but not rendered in the UI. While the transport differs (base64 stream/chunk vs ComfyUI), the symptom is the same: generated image data exists but Open WebUI fails to display it.
    by alihossein · bug

💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead.

This comment was generated automatically. React with 👍 if helpful, 👎 if not.

thanks, closed, seems duplicate

<!-- gh-comment-id:4451508556 --> @krakerz commented on GitHub (May 14, 2026): > 🔍 **Related Issues Found** > > I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions: > > 1. 🟣 [#24565](https://github.com/open-webui/open-webui/issues/24565) **issue: edit_image with ComfyUI no longer returns images in 0.9.5** > _Very similar regression in 0.9.5 where ComfyUI successfully generates the image but Open WebUI fails when handling the returned image, producing the same `NoneType`/`lower` error. This makes it the closest match to a ComfyUI image-return bug introduced in the same version._ > _by seamon67 · `bug`_ > 2. 🟣 [#24347](https://github.com/open-webui/open-webui/issues/24347) **bug: Images returned as Base64 in stream/chunk responses are not rendered in the UI** > _This issue is about images being returned by the backend but not rendered in the UI. While the transport differs (base64 stream/chunk vs ComfyUI), the symptom is the same: generated image data exists but Open WebUI fails to display it._ > _by alihossein · `bug`_ > > 💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead. > > _This comment was generated automatically._ React with 👍 if helpful, 👎 if not. thanks, closed, seems duplicate
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#123697