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

Graph has an error. #98

Open
rahulsayz opened this issue Dec 11, 2023 · 2 comments
Open

Graph has an error. #98

rahulsayz opened this issue Dec 11, 2023 · 2 comments

Comments

@rahulsayz
Copy link

rahulsayz commented Dec 11, 2023

Hi Team,

When ever I tried to onboard a project I get the onboard success
[2023-12-11 19:10:01,589: INFO/MainProcess] Task solidgpt.src.api.celery_tasks.celery_task_onboard_repo_graph[0e3c67f4-1e02-4fc0-b62a-c3d264ff44df] succeeded in 127.07799999997951s: '---****-

However when I start chatting I this error
raise ValueError(f"Collection {collection_name} not found")
ValueError: Collection d2d1a8a9-1067-429f-9525-0e6090045e8e not found

Complete log
[2023-12-11 19:10:48,574: WARNING/MainProcess] Directory 'D:\SolidGPT-0.2.7\solidgpt../localstorage\workspace\out\d32ab2ce-1e97-4447-854c-3aa669a6d8f0\Query_code_0' created.
[2023-12-11 19:10:48,575: WARNING/MainProcess] Directory 'D:\SolidGPT-0.2.7\solidgpt../localstorage\workspace\out\d32ab2ce-1e97-4447-854c-3aa669a6d8f0\Repo_Chat_1' created.
[2023-12-11 19:10:48,575: INFO/MainProcess] Executing SolidGPT...
[2023-12-11 19:10:48,575: WARNING/MainProcess] Node begins Query code task...
[2023-12-11 19:10:48,577: INFO/MainProcess] Start to search best five code...
[2023-12-11 19:10:49,580: ERROR/MainProcess] Task solidgpt.src.api.celery_tasks.celery_task_repo_chat_graph[56417a7d-fb8c-499f-acd1-e79e375d97c6] raised unexpected: ValueError('Collection d2d1a8a9-1067-429f-9525-0e6090045e8e not found')
Traceback (most recent call last):
File "\AppData\Local\Programs\Python\Python310\lib\site-packages\celery\app\trace.py", line 477, in trace_task
R = retval = fun(*args, **kwargs)
File "\AppData\Local\Programs\Python\Python310\lib\site-packages\celery\app\trace.py", line 760, in protected_call
return self.run(*args, **kwargs)
File "D:\SolidGPT-0.2.7\solidgpt\src\api\celery_tasks.py", line 117, in celery_task_repo_chat_graph
g.execute()
File "D:\SolidGPT-0.2.7\solidgpt\src\workgraph\workgraph.py", line 115, in execute
self.__execute_node(node)
File "D:\SolidGPT-0.2.7\solidgpt\src\workgraph\workgraph.py", line 122, in __execute_node
node.skill.execute()
File "D:\SolidGPT-0.2.7\solidgpt\src\workskill\workskill.py", line 52, in execute
self.execution_impl()
File "D:\SolidGPT-0.2.7\solidgpt\src\workskill\skills\query_code_local.py", line 51, in execution_impl
top_five = self.__find_top_five()
File "D:\SolidGPT-0.2.7\solidgpt\src\workskill\skills\query_code_local.py", line 61, in __find_top_five
search = self.client.search(
File "\AppData\Local\Programs\Python\Python310\lib\site-packages\qdrant_client\qdrant_client.py", line 315, in search
return self._client.search(
File "\AppData\Local\Programs\Python\Python310\lib\site-packages\qdrant_client\local\qdrant_local.py", line 154, in search
collection = self._get_collection(collection_name)
File "\AppData\Local\Programs\Python\Python310\lib\site-packages\qdrant_client\local\qdrant_local.py", line 113, in _get_collection
raise ValueError(f"Collection {collection_name} not found")
ValueError: Collection d2d1a8a9-1067-429f-9525-0e6090045e8e not found

When I checked the UI I can see the message - "Graph has an error."

Let me know what may be the issue. I am trying to onboard JAVA code base.

@wwwwww1020
Copy link
Contributor

Can you try re-onboarding. Seems like onboarding cache file missing

@rahulsayz
Copy link
Author

rahulsayz commented Feb 7, 2024

Hi,
Even after onboarding again I am still getting the same error. This is happening with some of the Java codebases.

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

2 participants