mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[GH-ISSUE #13519] issue: 'TikaLoader' object has no attribute 'kwargs' #16938
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 @nszceta on GitHub (May 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13519
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
0.6.6
Ollama Version (if applicable)
No response
Operating System
Arch Linux
Browser (if applicable)
136.0.7103.59 (Official Build, ungoogled-chromium) (64-bit)
Confirmation
README.md.Expected Behavior
I expected the uploaded PDF to be processed with Tika.
Actual Behavior
Yellow toast notification shows up telling me that 'TikaLoader' object has no attribute 'kwargs' and the docker logs indicate total failure to process the file.
Steps to Reproduce
Logs & Screenshots
Browser logs:
Docker logs:
Additional Information
No response
@Classic298 commented on GitHub (May 5, 2025):
Related? https://github.com/open-webui/open-webui/pull/13518
@tjbck commented on GitHub (May 5, 2025):
Addressed with
27da31dc83@Ithanil commented on GitHub (May 5, 2025):
You got a typo in
27da31dc83 (diff-0b4b3ab68e30306025729397027258e03c072d2ae9866e909b5e4dc4dbc68492R93)self.exextract_imagesWith that changed to
self.extract_images, the issue is fixed.@Classic298 commented on GitHub (May 5, 2025):
Good catch. I didn't even notice it
@jotaperez3 commented on GitHub (May 6, 2025):
I just updated to version 0.6.6, but now whenever I try to upload an .MD file to the knowledge bases, I get an error. I tested it by switching between Tika and Docling, but the behavior remains the same. I tried uploading a .txt file and it works without any problem.
2025-05-05T20:07:09.873168069Z fastapi.exceptions.HTTPException: 400: 'TikaLoader' object has no attribute 'kwargs'
2025-05-05T20:12:01.286498752Z File "/app/backend/open_webui/routers/retrieval.py", line 1194, in process_file
2025-05-05T20:12:01.286508205Z raise HTTPException(
2025-05-05T20:12:01.286515055Z └ <class 'fastapi.exceptions.HTTPException'>
2025-05-05T20:12:01.286526702Z
2025-05-05T20:12:01.286531688Z fastapi.exceptions.HTTPException: 400: HTTPConnectionPool(host='localhost', port=5001): Max retries exceeded with url: /v1alpha/convert/file (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc36aba0e90>: Failed to establish a new connection: [Errno 111] Connection refused'))
TXT Working
2025-05-05T20:13:13.601838735Z 2025-05-05 20:13:13.396 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:885 - save_docs_to_vector_db: document n8n-docs.txt - {}
@Classic298 commented on GitHub (May 6, 2025):
@jotaperez3 fixed in dev
So it will be fixed in the next 0.6.7
@danialkhatib commented on GitHub (May 6, 2025):
i have the same issue :)))
@galvanoid commented on GitHub (May 6, 2025):
Same issue here.
@Classic298 commented on GitHub (May 6, 2025):
@danialkhatib @galvanoid even on dev? Or are you still on 0.6.6.
0.6.7 will probably release soon. Test on dev if the issue is fixed for you there.