bug: File upload error-'NoneType' object is not iterable #3237

Closed
opened 2025-11-11 15:26:32 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @frondesce on GitHub (Jan 10, 2025).

Bug Report


Installation Method

Docker

Environment

  • Open WebUI Version: v0.5.4
  • Operating System: Windows 11
  • Browser (if applicable): Micronsoft Edge 131.0.2903.112

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on 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 the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

Files can be uploaded and parsed normally, just like previous versions

Actual Behavior:

An error occurs when uploading files

Description

Bug Summary:
When uploading files, an error message appears in the upper right corner of the screen: 'NoneType' object is not iterable

Reproduction Details

It can be reproduced by uploading a file or dragging the file directly into the dialog box.

Logs and Screenshots

Browser Console Logs:
image
image

Docker Container Logs:
image

Screenshots/Screen Recordings (if applicable):
image

Originally created by @frondesce on GitHub (Jan 10, 2025). # Bug Report --- ## Installation Method Docker ## Environment - **Open WebUI Version:** v0.5.4 - **Operating System:** Windows 11 - **Browser (if applicable):** Micronsoft Edge 131.0.2903.112 **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on 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 the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: Files can be uploaded and parsed normally, just like previous versions ## Actual Behavior: An error occurs when uploading files ## Description **Bug Summary:** When uploading files, an error message appears in the upper right corner of the screen: 'NoneType' object is not iterable ## Reproduction Details It can be reproduced by uploading a file or dragging the file directly into the dialog box. ## Logs and Screenshots **Browser Console Logs:** ![image](https://github.com/user-attachments/assets/a3c70431-864b-4403-a191-8f8f00f02036) ![image](https://github.com/user-attachments/assets/7e0c3207-5d04-4dc7-a747-90328754c125) **Docker Container Logs:** ![image](https://github.com/user-attachments/assets/4958551d-d518-4ff9-b00b-c35d5650a2ca) **Screenshots/Screen Recordings (if applicable):** ![image](https://github.com/user-attachments/assets/5548c132-9ccd-4e63-98a7-55a65abe48f8)
Author
Owner

@lzyq0912 commented on GitHub (Jan 10, 2025):

same, 同样的问题

@lzyq0912 commented on GitHub (Jan 10, 2025): same, 同样的问题
Author
Owner

@juananpe commented on GitHub (Jan 10, 2025):

Can you share the uploaded file? I'm unable to reproduce the bug. Maybe it's related to the UTF-8 encoding of the title or the contents of the file.

@juananpe commented on GitHub (Jan 10, 2025): Can you share the uploaded file? I'm unable to reproduce the bug. Maybe it's related to the UTF-8 encoding of the title or the contents of the file.
Author
Owner

@tjbck commented on GitHub (Jan 10, 2025):

Seems to have caused by your embedding engine, it says "Unauthorized" in the logs.

@tjbck commented on GitHub (Jan 10, 2025): Seems to have caused by your embedding engine, it says "Unauthorized" in the logs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#3237