Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] PDF Including Image -- Error wrong :/ 500: The content provided is empty. Please ensure that there is text or data present before proceeding. #3263

Closed
tqangxl opened this issue Jun 18, 2024 Discussed in #2713 · 2 comments

Comments

@tqangxl
Copy link

tqangxl commented Jun 18, 2024

Discussed in #2713

Originally posted by tqangxl June 2, 2024

Bug Report

@justinh-rahb @JuanjoJG-WATA

Description

Something went wrong :/ 500: The content provided is empty. Please ensure that there is text or data present before proceeding.
image

Bug Summary:
[Provide a brief but clear summary of the bug]

Steps to Reproduce:
[When saving a screenshot image (png, jpg, jpeg, jpe), and copying the image, a new PDF is automatically pasted from the clipboard when pasting images, saving the PDF, uploading the chat window, error.

无标题.pdf
无标题jpg.pdf

Operating System:
Windows 11 专业版
版本 23H2
操作系统版本 22631.3593
体验 Windows Feature Experience Pack 1000.22700.1003.0
Microsoft Edge 125.0.2535.67 (正式版本) (64 bit)
image

[ yes] I have read and followed all the instructions provided in the README.md.
[yes ] I am on the latest version of both Open WebUI and Ollama.
[yes ] I have included the browser console logs..

Logs and Screenshots
Browser Console Logs:
"Something went wrong :/\n"There is no item named '/document.xml' in the archive""

Installation Method
stall from Open WebUI Github Repo

Requirements 📦
🐰 Node.js = 20.13.1
🐍 Python = 3.11.9

PS D:\Lib\Dev\AI\open-webui> python
Python 3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

PS D:\Lib\Dev\AI\open-webui> node -v
v20.13.1
PS D:\Lib\Dev\AI\open-webui>

Build and Install 🛠️
Run the following commands to install:
git clone https://github.com/open-webui/open-webui.git
cd open-webui/
cp -RPp .env.example .env
npm i
npm run build
cd ./backend
pip install -r requirements.txt -U
run open-webui1\backend\start_windows.bat

@justinh-rahb
Copy link
Collaborator

This is not a bug report, this is a complaint.

@justinh-rahb
Copy link
Collaborator

@tqangxl and stop tagging me on your complaints.

@justinh-rahb justinh-rahb converted this issue into discussion #3266 Jun 18, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants