Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.3.4 dev3 文件解析为空 #823

Open
Linzy0520 opened this issue Aug 21, 2024 · 2 comments
Open

0.3.4 dev3 文件解析为空 #823

Linzy0520 opened this issue Aug 21, 2024 · 2 comments

Comments

@Linzy0520
Copy link

Traceback (most recent call last):
2024-08-21 23:04:54
2024-08-21 23:04:54 File "/usr/local/lib/python3.10/threading.py", line 973, in _bootstrap
2024-08-21 23:04:54 self._bootstrap_inner()
2024-08-21 23:04:54 | -> <function Thread._bootstrap_inner at 0x7f19e84d0ee0>
2024-08-21 23:04:54 -> <WorkerThread(AnyIO worker thread, started 139744780465856)>
2024-08-21 23:04:54 File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
2024-08-21 23:04:54 self.run()
2024-08-21 23:04:54 | -> <function WorkerThread.run at 0x7f193e5e9480>
2024-08-21 23:04:54 -> <WorkerThread(AnyIO worker thread, started 139744780465856)>
2024-08-21 23:04:54 File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run
2024-08-21 23:04:54 result = context.run(func, *args)
2024-08-21 23:04:54 | | | -> ()
2024-08-21 23:04:54 | | -> functools.partial(<function addEmbedding at 0x7f1962eb0ee0>, collection_name='partition_4_knowledge_1', index_name='col_17242...
2024-08-21 23:04:54 | -> <method 'run' of '_contextvars.Context' objects>
2024-08-21 23:04:54 -> <_contextvars.Context object at 0x7f193e47c180>
2024-08-21 23:04:54
2024-08-21 23:04:54 > File "/app/bisheng/api/services/knowledge_imp.py", line 301, in addEmbedding
2024-08-21 23:04:54 raise ValueError('文件解析为空')
2024-08-21 23:04:54
2024-08-21 23:04:54 ValueError: 文件解析为空

@dantegarden
Copy link

dantegarden commented Aug 22, 2024

[2024-08-22 17:50:27.967860] [2024-08-22 17:50:27.965164] [ERROR process-8-140502285153984 bisheng.api.services.knowledge_imp:332] - trace=a9a800a899584d6d8c95ee698cdfa578 add_vectordb 文件解析为空                                                                                                       
 Traceback (most recent call last):                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                                
   File "/usr/local/lib/python3.10/threading.py", line 973, in _bootstrap                                                                                                                                                                                                       
     self._bootstrap_inner()                                                                                                                                                                                                                                                    
     |    -> <function Thread._bootstrap_inner at 0x7fcb64480ee0>                                                                                                                                                                                                               
     -> <WorkerThread(AnyIO worker thread, started 140502285153984)>                                                                                                                                                                                                            
   File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner                                                                                                                                                                                                
     self.run()                                                                                                                                                                                                                                                                 
     |    -> <function WorkerThread.run at 0x7fc9cc2b1d80>                                                                                                                                                                                                                      
     -> <WorkerThread(AnyIO worker thread, started 140502285153984)>                                                                                                                                                                                                            
   File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run                                                                                                                                                                                 
     result = context.run(func, *args)                                                                                                                                                                                                                                          
              |       |   |      -> ()                                                                                                                                                                                                                                          
              |       |   -> functools.partial(<function addEmbedding at 0x7fc9fd5f7880>, collection_name='partition_7_knowledge_1', index_name='col_17243...                                                                                                                   
              |       -> <method 'run' of '_contextvars.Context' objects>                                                                                                                                                                                                       
              -> <_contextvars.Context object at 0x7fc9fcf5b7c0>                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                
 > File "/app/bisheng/api/services/knowledge_imp.py", line 301, in addEmbedding                                                                                                                                                                                                 
     raise ValueError('文件解析为空')                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                
 ValueError: 文件解析为空              

+1

@why6336
Copy link

why6336 commented Sep 5, 2024

E:\bisheng-0.3.4.dev2\docker>docker-compose up -d
ERROR: Invalid interpolation format for "frontend" option in service "services": "${DOCKER_VOLUME_DIRECTORY:-.}/nginx/nginx.conf:/etc/nginx/nginx.conf"
这个您知道为什么吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants