mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 08:21:12 -05:00
[GH-ISSUE #19153] issue: Error importing .xlsx files #89528
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MacJedi42 on GitHub (Nov 13, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19153
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.36
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
.XLSX Excel document should have been attached to the chat and injested into RAG pipeline.
Actual Behavior
Error occurs in the backend, file looks attached on the front end but the AI model can't see the content.
Steps to Reproduce
Logs & Screenshots
Backend Log:
2025-11-13 04:14:38.664 | ERROR | open_webui.routers.retrieval:process_file:1706 - No module named 'msoffcrypto'
Traceback (most recent call last):
File "/usr/local/lib/python3.11/threading.py", line 1002, in _bootstrap
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x77b2e27689a0>
└ <WorkerThread(AnyIO worker thread, started 131607417554624)>
File "/usr/local/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
│ └ <function WorkerThread.run at 0x77b278cf87c0>
└ <WorkerThread(AnyIO worker thread, started 131607417554624)>
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 976, in run
result = context.run(func, *args)
│ │ │ └ ()
│ │ └ functools.partial(<function process_uploaded_file at 0x77b2b863f2e0>, <starlette.requests.Request object at 0x77b24d37eed0>, ...
│ └ <method 'run' of '_contextvars.Context' objects>
└ <_contextvars.Context object at 0x77b24d527280>
File "/app/backend/open_webui/routers/files.py", line 117, in process_uploaded_file
process_file(request, ProcessFileForm(file_id=file_item.id), user=user)
│ │ │ │ │ └ UserModel(id='3819c2a5-9ab8-4286-b5f3-aa5f3fa66226', name='Insight Admin', email='admin@xx.co.nz', username=None...
│ │ │ │ └ '314ae1a1-a733-4e76-8a07-52b73b5c79b1'
│ │ │ └ FileModel(id='314ae1a1-a733-4e76-8a07-52b73b5c79b1', user_id='3819c2a5-9ab8-4286-b5f3-aa5f3fa66226', hash=None, filename='1.x...
│ │ └ <class 'open_webui.routers.retrieval.ProcessFileForm'>
│ └ <starlette.requests.Request object at 0x77b24d37eed0>
└ <function process_file at 0x77b29cba3740>
Browser Console Logs:
Manifest: Enctype should be set to either application/x-www-form-urlencoded or multipart/form-data. It currently defaults to application/x-www-form-urlencoded
D8KNNnB9.js:146 [tiptap warn]: Duplicate extension names found: ['codeBlock', 'bulletList', 'listItem', 'listKeymap', 'orderedList']. This can lead to issues.
_d @ D8KNNnB9.js:146
Cud9CC1-.js:6 File upload warning: No module named 'msoffcrypto'
Tt @ Cud9CC1-.js:6
Additional Information
No response
@tjbck commented on GitHub (Nov 13, 2025):
Likely an upstream issue,
84912904fdmight've addressed this in the latest dev, testing wanted here.@silentoplayz commented on GitHub (Nov 13, 2025):
Linking a related discussion post - https://github.com/open-webui/open-webui/discussions/19152
@rgaricano commented on GitHub (Nov 13, 2025):
Related: https://github.com/open-webui/open-webui/discussions/19090#discussioncomment-14936859
@tjbck commented on GitHub (Nov 14, 2025):
Addressed in dev.
@kerlion commented on GitHub (Nov 14, 2025):
It has the same issue when upload a excel file, fixed by: pip install msoffcrypto-tool
@kerlion commented on GitHub (Nov 14, 2025):
It has the same issue when upload a excel file in normal char box, fixed by: pip install msoffcrypto-tool.
@silentoplayz commented on GitHub (Nov 14, 2025):
Again, the issue has been addressed on the dev branch.
4d41013804