[GH-ISSUE #17594] issue: Dragging .xlsx file into open-webui triggers punkt_tab not found error #33867

Closed
opened 2026-04-25 07:44:40 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @peuportier on GitHub (Sep 19, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17594

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Pip Install

Open WebUI Version

0.6.30

Ollama Version (if applicable)

0.11.11

Operating System

macOS 15.6.1 (24G90)

Browser (if applicable)

18.6 (20621.3.11.11.3)

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 provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

The .xlsx file should be processed correctly.
No manual NLTK downloads should be required.

Actual Behavior

When I drag an .xlsx file into open-webui, the application fails with an NLTK resource error:

Image

Steps to Reproduce

Run open-webui.
Drag & drop an .xlsx file into the interface.
The app crashes with the above error.

Logs & Screenshots

2025-09-19 17:03:20.851 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58297 - "POST /api/v1/retrieval/config/update HTTP/1.1" 200
2025-09-19 17:03:20.861 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58297 - "GET /api/config HTTP/1.1" 200
2025-09-19 17:03:23.853 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58297 - "GET /ollama/api/version HTTP/1.1" 200
2025-09-19 17:03:23.903 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58297 - "GET /api/v1/tools/ HTTP/1.1" 200
2025-09-19 17:03:23.905 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58304 - "GET /api/v1/users/user/settings HTTP/1.1" 200
2025-09-19 17:03:26.579 | INFO | open_webui.routers.files:upload_file_handler:164 - file.content_type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
2025-09-19 17:03:26.586 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58297 - "POST /api/v1/files/ HTTP/1.1" 200
2025-09-19 17:03:26.606 | ERROR | open_webui.routers.retrieval:process_file:1604 -


Resource punkt_tab not found.
Please use the NLTK Downloader to obtain the resource:

import nltk
nltk.download('punkt_tab')

For more information see: https://www.nltk.org/data.html

Attempted to load tokenizers/punkt_tab/english/

Searched in:
- '/Users/peuportier/nltk_data'
- '/Users/peuportier/Documents/hippo/nltk_data'
- '/Users/peuportier/Documents/hippo/share/nltk_data'
- '/Users/peuportier/Documents/hippo/lib/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'


Traceback (most recent call last):

File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 1002, in _bootstrap
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x100be1260>
└ <WorkerThread(AnyIO worker thread, started 15066017792)>
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
│ └ <function WorkerThread.run at 0x31a91d8a0>
└ <WorkerThread(AnyIO worker thread, started 15066017792)>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 967, in run
result = context.run(func, *args)
│ │ │ └ ()
│ │ └ functools.partial(<function process_uploaded_file at 0x15d1ca700>, <starlette.requests.Request object at 0x319a8c890>, Upload...
│ └ <method 'run' of '_contextvars.Context' objects>
└ <_contextvars.Context object at 0x3198a3f00>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/open_webui/routers/files.py", line 117, in process_uploaded_file
process_file(request, ProcessFileForm(file_id=file_item.id), user=user)
│ │ │ │ │ └ UserModel(id='f1b5a9e6-8060-47fd-bf67-1b11fa6866de', name='Peuportier Aurélien', email='peuportier@hippo.ai', username=None, ...
│ │ │ │ └ 'cd6cccbc-131b-477b-818d-28f8fc08547c'
│ │ │ └ FileModel(id='cd6cccbc-131b-477b-818d-28f8fc08547c', user_id='f1b5a9e6-8060-47fd-bf67-1b11fa6866de', hash=None, filename='FCS...
│ │ └ <class 'open_webui.routers.retrieval.ProcessFileForm'>
│ └ <starlette.requests.Request object at 0x319a8c890>
└ <function process_file at 0x15f297420>

File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/open_webui/routers/retrieval.py", line 1515, in process_file
docs = loader.load(
│ └ <function Loader.load at 0x15ecfd8a0>
└ <open_webui.retrieval.loaders.main.Loader object at 0x319af37d0>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/open_webui/retrieval/loaders/main.py", line 236, in load
docs = loader.load()
│ └ <function BaseLoader.load at 0x15e736b60>
└ <langchain_community.document_loaders.excel.UnstructuredExcelLoader object at 0x319af2710>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/langchain_core/document_loaders/base.py", line 32, in load
return list(self.lazy_load())
│ └ <function UnstructuredBaseLoader.lazy_load at 0x15e7489a0>
└ <langchain_community.document_loaders.excel.UnstructuredExcelLoader object at 0x319af2710>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/langchain_community/document_loaders/unstructured.py", line 107, in lazy_load
elements = self._get_elements()
│ └ <function UnstructuredExcelLoader._get_elements at 0x15eca8c20>
└ <langchain_community.document_loaders.excel.UnstructuredExcelLoader object at 0x319af2710>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/langchain_community/document_loaders/excel.py", line 52, in get_elements
return partition_xlsx(filename=self.file_path, **self.unstructured_kwargs)
│ │ │ │ └ {}
│ │ │ └ <langchain_community.document_loaders.excel.UnstructuredExcelLoader object at 0x319af2710>
│ │ └ '/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/open_webui/data/uploads/cd6cccbc-131b-477b-818d-28f8fc08547c
...
│ └ <langchain_community.document_loaders.excel.UnstructuredExcelLoader object at 0x319af2710>
└ <function partition_xlsx at 0x36b872660>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/partition/common/metadata.py", line 162, in wrapper
elements = func(args, kwargs)
│ │ └ {'filename': '/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/open_webui/data/uploads/cd6cccbc-131b-477b-818d-...
│ └ ()
└ <function partition_xlsx at 0x36b8725c0>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/chunking/dispatch.py", line 74, in wrapper
elements = func(args, kwargs)
│ │ └ {'filename': '/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/open_webui/data/uploads/cd6cccbc-131b-477b-818d-...
│ └ ()
└ <function partition_xlsx at 0x36b872520>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/partition/xlsx.py", line 108, in partition_xlsx
element = _create_element(str(content))
│ └ 'XIAMEN FIRSTCARE IMP. & EXP. CO., LTD.\n602-1, Bldg. 2A, Torch Xinke Plaza, No.2 Weili Road, Xiamen, China 361015\nWebsite: ...
└ <function _create_element at 0x319a5c7c0>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/partition/xlsx.py", line 433, in _create_element
elif is_possible_narrative_text(text):
│ └ 'XIAMEN FIRSTCARE IMP. & EXP. CO., LTD.\n602-1, Bldg. 2A, Torch Xinke Plaza, No.2 Weili Road, Xiamen, China 361015\nWebsite: ...
└ <function is_possible_narrative_text at 0x327894c20>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/partition/text_type.py", line 74, in is_possible_narrative_text
if exceeds_cap_ratio(text, threshold=cap_threshold):
│ │ └ 0.5
│ └ 'XIAMEN FIRSTCARE IMP. & EXP. CO., LTD.\n602-1, Bldg. 2A, Torch Xinke Plaza, No.2 Weili Road, Xiamen, China 361015\nWebsite: ...
└ <function exceeds_cap_ratio at 0x36b8722a0>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/partition/text_type.py", line 270, in exceeds_cap_ratio
if sentence_count(text, 3) > 1:
│ └ 'XIAMEN FIRSTCARE IMP. & EXP. CO., LTD.\n602-1, Bldg. 2A, Torch Xinke Plaza, No.2 Weili Road, Xiamen, China 361015\nWebsite: ...
└ <function sentence_count at 0x36b872160>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/partition/text_type.py", line 219, in sentence_count
sentences = sent_tokenize(text)
│ └ 'XIAMEN FIRSTCARE IMP. & EXP. CO., LTD.\n602-1, Bldg. 2A, Torch Xinke Plaza, No.2 Weili Road, Xiamen, China 361015\nWebsite: ...
└ <functools._lru_cache_wrapper object at 0x1790a1a60>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/nlp/tokenize.py", line 54, in sent_tokenize
return sent_tokenize(text)
│ └ 'XIAMEN FIRSTCARE IMP. & EXP. CO., LTD.\n602-1, Bldg. 2A, Torch Xinke Plaza, No.2 Weili Road, Xiamen, China 361015\nWebsite: ...
└ <function sent_tokenize at 0x32a91bce0>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/nltk/tokenize/__init_
.py", line 119, in sent_tokenize
tokenizer = _get_punkt_tokenizer(language)
│ └ 'english'
└ <functools.lru_cache_wrapper object at 0x32a8f4eb0>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/nltk/tokenize/__init_
.py", line 105, in _get_punkt_tokenizer
return PunktTokenizer(language)
│ └ 'english'
└ <class 'nltk.tokenize.punkt.PunktTokenizer'>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/nltk/tokenize/punkt.py", line 1744, in init
self.load_lang(lang)
│ │ └ 'english'
│ └ <function PunktTokenizer.load_lang at 0x32a9194e0>
└ <nltk.tokenize.punkt.PunktTokenizer object at 0x319b25090>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/nltk/tokenize/punkt.py", line 1749, in load_lang
lang_dir = find(f"tokenizers/punkt_tab/{lang}/")
└ <function find at 0x32a8c4f40>
File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/nltk/data.py", line 579, in find
raise LookupError(resource_not_found)
└ "\n
****************************************************************\n Resource \x1b[93mpunkt_tab\x1b[0m not found.\n ...

LookupError:


Resource punkt_tab not found.
Please use the NLTK Downloader to obtain the resource:

import nltk
nltk.download('punkt_tab')

For more information see: https://www.nltk.org/data.html

Attempted to load tokenizers/punkt_tab/english/

Searched in:
- '/Users/peuportier/nltk_data'
- '/Users/peuportier/Documents/hippo/nltk_data'
- '/Users/peuportier/Documents/hippo/share/nltk_data'
- '/Users/peuportier/Documents/hippo/lib/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'


2025-09-19 17:03:26.608 | ERROR | open_webui.routers.files:process_uploaded_file:124 - Error processing file: cd6cccbc-131b-477b-818d-28f8fc08547c
2025-09-19 17:03:26.610 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58304 - "GET /api/v1/files/cd6cccbc-131b-477b-818d-28f8fc08547c/process/status?stream=true HTTP/1.1" 200
2025-09-19 17:03:29.980 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58297 - "GET /api/v1/users/user/settings HTTP/1.1" 200
2025-09-19 17:03:57.866 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58339 - "GET /_app/version.json HTTP/1.1" 304

Additional Information

No response

Originally created by @peuportier on GitHub (Sep 19, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/17594 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Pip Install ### Open WebUI Version 0.6.30 ### Ollama Version (if applicable) 0.11.11 ### Operating System macOS 15.6.1 (24G90) ### Browser (if applicable) 18.6 (20621.3.11.11.3) ### 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 **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior The .xlsx file should be processed correctly. No manual NLTK downloads should be required. ### Actual Behavior When I drag an .xlsx file into open-webui, the application fails with an NLTK resource error: <img width="478" height="468" alt="Image" src="https://github.com/user-attachments/assets/d6167075-a9b5-4525-a915-f4a7ddda304f" /> ### Steps to Reproduce Run open-webui. Drag & drop an .xlsx file into the interface. The app crashes with the above error. ### Logs & Screenshots 2025-09-19 17:03:20.851 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58297 - "POST /api/v1/retrieval/config/update HTTP/1.1" 200 2025-09-19 17:03:20.861 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58297 - "GET /api/config HTTP/1.1" 200 2025-09-19 17:03:23.853 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58297 - "GET /ollama/api/version HTTP/1.1" 200 2025-09-19 17:03:23.903 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58297 - "GET /api/v1/tools/ HTTP/1.1" 200 2025-09-19 17:03:23.905 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58304 - "GET /api/v1/users/user/settings HTTP/1.1" 200 2025-09-19 17:03:26.579 | INFO | open_webui.routers.files:upload_file_handler:164 - file.content_type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet 2025-09-19 17:03:26.586 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58297 - "POST /api/v1/files/ HTTP/1.1" 200 2025-09-19 17:03:26.606 | ERROR | open_webui.routers.retrieval:process_file:1604 - ********************************************************************** Resource punkt_tab not found. Please use the NLTK Downloader to obtain the resource: >>> import nltk >>> nltk.download('punkt_tab') For more information see: https://www.nltk.org/data.html Attempted to load tokenizers/punkt_tab/english/ Searched in: - '/Users/peuportier/nltk_data' - '/Users/peuportier/Documents/hippo/nltk_data' - '/Users/peuportier/Documents/hippo/share/nltk_data' - '/Users/peuportier/Documents/hippo/lib/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 1002, in _bootstrap self._bootstrap_inner() │ └ <function Thread._bootstrap_inner at 0x100be1260> └ <WorkerThread(AnyIO worker thread, started 15066017792)> File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/threading.py", line 1045, in _bootstrap_inner self.run() │ └ <function WorkerThread.run at 0x31a91d8a0> └ <WorkerThread(AnyIO worker thread, started 15066017792)> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 967, in run result = context.run(func, *args) │ │ │ └ () │ │ └ functools.partial(<function process_uploaded_file at 0x15d1ca700>, <starlette.requests.Request object at 0x319a8c890>, Upload... │ └ <method 'run' of '_contextvars.Context' objects> └ <_contextvars.Context object at 0x3198a3f00> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/open_webui/routers/files.py", line 117, in process_uploaded_file process_file(request, ProcessFileForm(file_id=file_item.id), user=user) │ │ │ │ │ └ UserModel(id='f1b5a9e6-8060-47fd-bf67-1b11fa6866de', name='Peuportier Aurélien', email='peuportier@hippo.ai', username=None, ... │ │ │ │ └ 'cd6cccbc-131b-477b-818d-28f8fc08547c' │ │ │ └ FileModel(id='cd6cccbc-131b-477b-818d-28f8fc08547c', user_id='f1b5a9e6-8060-47fd-bf67-1b11fa6866de', hash=None, filename='FCS... │ │ └ <class 'open_webui.routers.retrieval.ProcessFileForm'> │ └ <starlette.requests.Request object at 0x319a8c890> └ <function process_file at 0x15f297420> > File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/open_webui/routers/retrieval.py", line 1515, in process_file docs = loader.load( │ └ <function Loader.load at 0x15ecfd8a0> └ <open_webui.retrieval.loaders.main.Loader object at 0x319af37d0> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/open_webui/retrieval/loaders/main.py", line 236, in load docs = loader.load() │ └ <function BaseLoader.load at 0x15e736b60> └ <langchain_community.document_loaders.excel.UnstructuredExcelLoader object at 0x319af2710> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/langchain_core/document_loaders/base.py", line 32, in load return list(self.lazy_load()) │ └ <function UnstructuredBaseLoader.lazy_load at 0x15e7489a0> └ <langchain_community.document_loaders.excel.UnstructuredExcelLoader object at 0x319af2710> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/langchain_community/document_loaders/unstructured.py", line 107, in lazy_load elements = self._get_elements() │ └ <function UnstructuredExcelLoader._get_elements at 0x15eca8c20> └ <langchain_community.document_loaders.excel.UnstructuredExcelLoader object at 0x319af2710> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/langchain_community/document_loaders/excel.py", line 52, in _get_elements return partition_xlsx(filename=self.file_path, **self.unstructured_kwargs) │ │ │ │ └ {} │ │ │ └ <langchain_community.document_loaders.excel.UnstructuredExcelLoader object at 0x319af2710> │ │ └ '/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/open_webui/data/uploads/cd6cccbc-131b-477b-818d-28f8fc08547c_... │ └ <langchain_community.document_loaders.excel.UnstructuredExcelLoader object at 0x319af2710> └ <function partition_xlsx at 0x36b872660> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/partition/common/metadata.py", line 162, in wrapper elements = func(*args, **kwargs) │ │ └ {'filename': '/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/open_webui/data/uploads/cd6cccbc-131b-477b-818d-... │ └ () └ <function partition_xlsx at 0x36b8725c0> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/chunking/dispatch.py", line 74, in wrapper elements = func(*args, **kwargs) │ │ └ {'filename': '/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/open_webui/data/uploads/cd6cccbc-131b-477b-818d-... │ └ () └ <function partition_xlsx at 0x36b872520> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/partition/xlsx.py", line 108, in partition_xlsx element = _create_element(str(content)) │ └ 'XIAMEN FIRSTCARE IMP. & EXP. CO., LTD.\n602-1, Bldg. 2A, Torch Xinke Plaza, No.2 Weili Road, Xiamen, China 361015\nWebsite: ... └ <function _create_element at 0x319a5c7c0> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/partition/xlsx.py", line 433, in _create_element elif is_possible_narrative_text(text): │ └ 'XIAMEN FIRSTCARE IMP. & EXP. CO., LTD.\n602-1, Bldg. 2A, Torch Xinke Plaza, No.2 Weili Road, Xiamen, China 361015\nWebsite: ... └ <function is_possible_narrative_text at 0x327894c20> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/partition/text_type.py", line 74, in is_possible_narrative_text if exceeds_cap_ratio(text, threshold=cap_threshold): │ │ └ 0.5 │ └ 'XIAMEN FIRSTCARE IMP. & EXP. CO., LTD.\n602-1, Bldg. 2A, Torch Xinke Plaza, No.2 Weili Road, Xiamen, China 361015\nWebsite: ... └ <function exceeds_cap_ratio at 0x36b8722a0> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/partition/text_type.py", line 270, in exceeds_cap_ratio if sentence_count(text, 3) > 1: │ └ 'XIAMEN FIRSTCARE IMP. & EXP. CO., LTD.\n602-1, Bldg. 2A, Torch Xinke Plaza, No.2 Weili Road, Xiamen, China 361015\nWebsite: ... └ <function sentence_count at 0x36b872160> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/partition/text_type.py", line 219, in sentence_count sentences = sent_tokenize(text) │ └ 'XIAMEN FIRSTCARE IMP. & EXP. CO., LTD.\n602-1, Bldg. 2A, Torch Xinke Plaza, No.2 Weili Road, Xiamen, China 361015\nWebsite: ... └ <functools._lru_cache_wrapper object at 0x1790a1a60> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/unstructured/nlp/tokenize.py", line 54, in sent_tokenize return _sent_tokenize(text) │ └ 'XIAMEN FIRSTCARE IMP. & EXP. CO., LTD.\n602-1, Bldg. 2A, Torch Xinke Plaza, No.2 Weili Road, Xiamen, China 361015\nWebsite: ... └ <function sent_tokenize at 0x32a91bce0> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/nltk/tokenize/__init__.py", line 119, in sent_tokenize tokenizer = _get_punkt_tokenizer(language) │ └ 'english' └ <functools._lru_cache_wrapper object at 0x32a8f4eb0> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/nltk/tokenize/__init__.py", line 105, in _get_punkt_tokenizer return PunktTokenizer(language) │ └ 'english' └ <class 'nltk.tokenize.punkt.PunktTokenizer'> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/nltk/tokenize/punkt.py", line 1744, in __init__ self.load_lang(lang) │ │ └ 'english' │ └ <function PunktTokenizer.load_lang at 0x32a9194e0> └ <nltk.tokenize.punkt.PunktTokenizer object at 0x319b25090> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/nltk/tokenize/punkt.py", line 1749, in load_lang lang_dir = find(f"tokenizers/punkt_tab/{lang}/") └ <function find at 0x32a8c4f40> File "/Users/peuportier/Documents/hippo/lib/python3.11/site-packages/nltk/data.py", line 579, in find raise LookupError(resource_not_found) └ "\n**********************************************************************\n Resource \x1b[93mpunkt_tab\x1b[0m not found.\n ... LookupError: ********************************************************************** Resource punkt_tab not found. Please use the NLTK Downloader to obtain the resource: >>> import nltk >>> nltk.download('punkt_tab') For more information see: https://www.nltk.org/data.html Attempted to load tokenizers/punkt_tab/english/ Searched in: - '/Users/peuportier/nltk_data' - '/Users/peuportier/Documents/hippo/nltk_data' - '/Users/peuportier/Documents/hippo/share/nltk_data' - '/Users/peuportier/Documents/hippo/lib/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** 2025-09-19 17:03:26.608 | ERROR | open_webui.routers.files:process_uploaded_file:124 - Error processing file: cd6cccbc-131b-477b-818d-28f8fc08547c 2025-09-19 17:03:26.610 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58304 - "GET /api/v1/files/cd6cccbc-131b-477b-818d-28f8fc08547c/process/status?stream=true HTTP/1.1" 200 2025-09-19 17:03:29.980 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58297 - "GET /api/v1/users/user/settings HTTP/1.1" 200 2025-09-19 17:03:57.866 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:58339 - "GET /_app/version.json HTTP/1.1" 304 ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-25 07:44:40 -05:00
Author
Owner

@tjbck commented on GitHub (Sep 23, 2025):

Unable to reproduce with the following:

file_example_XLSX_10.xlsx

<!-- gh-comment-id:3325651937 --> @tjbck commented on GitHub (Sep 23, 2025): Unable to reproduce with the following: [file_example_XLSX_10.xlsx](https://github.com/user-attachments/files/22502724/file_example_XLSX_10.xlsx)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#33867