[GH-ISSUE #11664] issue: Cannot export chat by Download PDF #70919

Closed
opened 2026-05-13 02:54:11 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @ddddavid-he on GitHub (Mar 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11664

Check Existing Issues

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

Installation Method

Docker

Open WebUI Version

v0.5.20

Ollama Version (if applicable)

No response

Operating System

Fedora 41

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 listed steps to reproduce the bug in detail.

Expected Behavior

Download a PDF file

Actual Behavior

Nothing happened. According to the log file below, it was because of
pen_webui.routers.utils:download_chat_as_pdf:104 - Error generating PDF: Not enough horizontal space to render a single character - {}
To be noticed that this conversation enabled Online Search and had a very long context due to the search results. In most cases, PDF generation works well. I have appended the content of this conversation in json format.

Docker_log.txt

chat-export-1741937740434.json

Steps to Reproduce

I cannot reproduce the problem.

Logs & Screenshots

Docker_log.txt
chat-export-1741937740434.json

Additional Information

No response

Originally created by @ddddavid-he on GitHub (Mar 14, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/11664 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.5.20 ### Ollama Version (if applicable) _No response_ ### Operating System Fedora 41 ### 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 listed steps to reproduce the bug in detail. ### Expected Behavior Download a PDF file ### Actual Behavior Nothing happened. According to the log file below, it was because of `pen_webui.routers.utils:download_chat_as_pdf:104 - Error generating PDF: Not enough horizontal space to render a single character - {}` To be noticed that this conversation enabled Online Search and had a very long context due to the search results. In most cases, PDF generation works well. I have appended the content of this conversation in json format. [Docker_log.txt](https://github.com/user-attachments/files/19243242/Docker_log.txt) [chat-export-1741937740434.json](https://github.com/user-attachments/files/19243334/chat-export-1741937740434.json) ### Steps to Reproduce I cannot reproduce the problem. ### Logs & Screenshots [Docker_log.txt](https://github.com/user-attachments/files/19243399/Docker_log.txt) [chat-export-1741937740434.json](https://github.com/user-attachments/files/19243398/chat-export-1741937740434.json) ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-13 02:54:11 -05:00
Author
Owner

@tjbck commented on GitHub (Mar 15, 2025):

Addressed with d93828e923 in dev

<!-- gh-comment-id:2726798071 --> @tjbck commented on GitHub (Mar 15, 2025): Addressed with d93828e923cf4445d6213f639e0a58fcb242143b in dev
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#70919