[GH-ISSUE #5561] Download Plain Text does not work anymore in v0.3.22 #52699

Closed
opened 2026-05-05 13:47:20 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @bgeneto on GitHub (Sep 20, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/5561

Bug Report

Installation Method

Docker with docker-compose

Environment

  • **Open WebUI Version:**v0.3.22

  • Ollama (if applicable): n/a

  • Operating System: Debian 12

  • Browser (if applicable): Chrome/Edge 129

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:

A markdown/text file should be download when clicking in the chat "Download" -> "Plain text (.txt)" button.

Actual Behavior:

Nothing happens. works for pdf and json downloads.

Description

Bug Summary:

Download Plain text .txt file not working.

Reproduction Details

Steps to Reproduce:

Ask LLM anything, wait for the response and then click "Download" -> "Plain text (.txt)" button.

Logs and Screenshots

Browser Console Logs:

Menu.svelte:49  Uncaught (in promise) ReferenceError: _chat is not defined
    at v (Menu.svelte:49:24)
v @ Menu.svelte:49
await in v
H @ Menu.svelte:231
(anonymous) @ lifecycle.js:105
(anonymous) @ lifecycle.js:104
(anonymous) @ events.js:8
hs @ event.js:43
(anonymous) @ event.js:48
Show 5 more frames
Show less

Docker Container Logs:
none

Screenshots/Screen Recordings (if applicable):

image

Additional Information

It worked in the previous version v.0.3.21 (but neither in the dev branch).

Note

If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

Originally created by @bgeneto on GitHub (Sep 20, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/5561 # Bug Report ## Installation Method Docker with docker-compose ## Environment - **Open WebUI Version:**v0.3.22 - **Ollama (if applicable):** n/a - **Operating System:** Debian 12 - **Browser (if applicable):** Chrome/Edge 129 **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: A markdown/text file should be download when clicking in the chat "Download" -> "Plain text (.txt)" button. ## Actual Behavior: Nothing happens. works for pdf and json downloads. ## Description **Bug Summary:** Download Plain text .txt file not working. ## Reproduction Details **Steps to Reproduce:** Ask LLM anything, wait for the response and then click "Download" -> "Plain text (.txt)" button. ## Logs and Screenshots **Browser Console Logs:** ``` Menu.svelte:49 Uncaught (in promise) ReferenceError: _chat is not defined at v (Menu.svelte:49:24) v @ Menu.svelte:49 await in v H @ Menu.svelte:231 (anonymous) @ lifecycle.js:105 (anonymous) @ lifecycle.js:104 (anonymous) @ events.js:8 hs @ event.js:43 (anonymous) @ event.js:48 Show 5 more frames Show less ``` **Docker Container Logs:** none **Screenshots/Screen Recordings (if applicable):** ![image](https://github.com/user-attachments/assets/14a8c9db-ceea-41fc-982b-77bff22c664b) ## Additional Information It worked in the previous version v.0.3.21 (but neither in the dev branch). ## Note If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
Author
Owner

@silentoplayz commented on GitHub (Sep 20, 2024):

Can confirm this error is happening for me as well on the dev branch.

Browser error log upon pressing the Plain text (.txt) option for downloading a chat:

Uncaught (in promise) ReferenceError: _chat is not defined
    v Menu.svelte:49
Menu.svelte:49:23
<!-- gh-comment-id:2364591636 --> @silentoplayz commented on GitHub (Sep 20, 2024): Can confirm this error is happening for me as well on the dev branch. Browser error log upon pressing the `Plain text (.txt)` option for downloading a chat: ``` Uncaught (in promise) ReferenceError: _chat is not defined v Menu.svelte:49 Menu.svelte:49:23 ```
Author
Owner

@tjbck commented on GitHub (Sep 20, 2024):

Fixed with the latest.

<!-- gh-comment-id:2364635010 --> @tjbck commented on GitHub (Sep 20, 2024): Fixed with the latest.
Author
Owner

@silentoplayz commented on GitHub (Sep 20, 2024):

I can confirm it's been fixed. Thanks!

<!-- gh-comment-id:2364678770 --> @silentoplayz commented on GitHub (Sep 20, 2024): I can confirm it's been fixed. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#52699