-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Starting Kotaemon UI... (prebuilt PDF.js is at C:\Users\azureuser\Desktop\kotaemon-app\libs\ktem\ktem\assets\prebuilt\pdfjs-4.0.379-dist)
[nltk_data] Downloading package punkt_tab to
[nltk_data] C:\Users\azureuser\Desktop\kotaemon-
[nltk_data] app\install_dir\env\lib\site-
[nltk_data] packages\llama_index\core\_static/nltk_cache...
[nltk_data] Package punkt_tab is already up-to-date!
GraphRAG dependencies not installed. Try `pip install graphrag future` to install. GraphRAG retriever pipeline will not work properly.
LightRAG dependencies not installed. Try `pip install git+https://github.com/HKUDS/LightRAG.git` to install. LighthRAG retriever pipeline will not work properly.
Nano-GraphRAG dependencies not installed. Try `pip install nano-graphrag` to install. Nano-GraphRAG retriever pipeline will not work properly.
No module named 'lightrag'
User "admin" already exists
Setting up quick upload event
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
User-id: None, can see public conversations: False
User-id: 87b68d67cedc45c982029ba85bae2110, can see public conversations: True
Traceback (most recent call last):
File "C:\Users\azureuser\Desktop\kotaemon-app\install_dir\env\lib\site-packages\gradio\queueing.py", line 536, in process_events
response = await route_utils.call_process_api(
File "C:\Users\azureuser\Desktop\kotaemon-app\install_dir\env\lib\site-packages\gradio\route_utils.py", line 276, in call_process_api
output = await app.get_blocks().process_api(
File "C:\Users\azureuser\Desktop\kotaemon-app\install_dir\env\lib\site-packages\gradio\blocks.py", line 1919, in process_api
inputs = await self.preprocess_data(
File "C:\Users\azureuser\Desktop\kotaemon-app\install_dir\env\lib\site-packages\gradio\blocks.py", line 1650, in preprocess_data
processed_input.append(block.preprocess(inputs_cached))
File "C:\Users\azureuser\Desktop\kotaemon-app\install_dir\env\lib\site-packages\gradio\components\file.py", line 157, in preprocess
return [self._process_single_file(f) for f in payload] # type: ignore
File "C:\Users\azureuser\Desktop\kotaemon-app\install_dir\env\lib\site-packages\gradio\components\file.py", line 157, in <listcomp>
return [self._process_single_file(f) for f in payload] # type: ignore
File "C:\Users\azureuser\Desktop\kotaemon-app\install_dir\env\lib\site-packages\ktem\index\file\ui.py", line 89, in _process_single_file
os.rename(f.path, file_name)
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\azureuser\\Desktop\\kotaemon-app\\ktem_app_data\\gradio_tmp\\99376ffec99675b4b5c7dad4b40097853fd4b448\\17-0019520Award.pdf' -> 'C:\\Users\\azureuser\\Desktop\\kotaemon-app\\ktem_app_data\\gradio_tmp\\99376ffec99675b4b5c7dad4b40097853fd4b448\\17-00195%20Award.pdf'
use_quick_index_mode False
reader_mode default
Chunk size: None, chunk overlap: None
Using reader <kotaemon.loaders.pdf_loader.PDFThumbnailReader object at 0x00000288B9E61960>
C:\Users\azureuser\Desktop\kotaemon-app\install_dir\env\lib\site-packages\pypdf\_crypt_providers\_cryptography.py:32: CryptographyDeprecationWarning:
I tried to upload 10000 files, then app become unresponsive after 5000-6000 and I restarted after waiting 1 hour. I am not sure which file is not uploaded properly, when I tried to reupload it gives error

Reproduction steps
App crashes and now uploading give this error
Screenshots
Logs
Browsers
Chrome
OS
Windows
Additional information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working