-
Notifications
You must be signed in to change notification settings - Fork 74
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
auto-coder --file 时,遇到 RuntimeError: Failed to unpickle serialized exception,怎么办? #31
Comments
我也遇到了同样的问题,在使用暴力RAG提问时报错,不知道是ray版本的问题还是啥问题 |
求作者回复,让大家都能用起来 。。。@allwefantasy |
同样的报错+1 @allwefantasy |
根据使用auto_coder遇到的问题及解决方案汇总 - 飞书云文档 这里的指导 可以去ray的dashboard查看, localhost:8265 看actor下面的log 我的环境这个报错最后是知识库token超了 |
解决了没 |
2024-08-19 16:59:19.187 | INFO | autocoder.index.index:get_target_files_by_query:401 - Find the related files by query according to the files...
2024-08-19 16:59:20,779 ERROR serialization.py:425 -- Failed to unpickle serialized exception
Traceback (most recent call last):
File "/root/miniconda3/envs/auto-coder/lib/python3.10/site-packages/ray/exceptions.py", line 50, in from_ray_exception
return pickle.loads(ray_exception.serialized_exception)
TypeError: APIStatusError.init() missing 2 required keyword-only arguments: 'response' and 'body'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/miniconda3/envs/auto-coder/lib/python3.10/site-packages/ray/_private/serialization.py", line 423, in deserialize_objects
obj = self._deserialize_object(data, metadata, object_ref)
File "/root/miniconda3/envs/auto-coder/lib/python3.10/site-packages/ray/_private/serialization.py", line 305, in _deserialize_object
return RayError.from_bytes(obj)
File "/root/miniconda3/envs/auto-coder/lib/python3.10/site-packages/ray/exceptions.py", line 44, in from_bytes
return RayError.from_ray_exception(ray_exception)
File "/root/miniconda3/envs/auto-coder/lib/python3.10/site-packages/ray/exceptions.py", line 53, in from_ray_exception
raise RuntimeError(msg) from e
RuntimeError: Failed to unpickle serialized exception
Traceback (most recent call last):
File "/root/miniconda3/envs/auto-coder/bin/auto-coder", line 8, in
sys.exit(main())
File "/root/miniconda3/envs/auto-coder/lib/python3.10/site-packages/autocoder/auto_coder.py", line 774, in main
File "/root/miniconda3/envs/auto-coder/lib/python3.10/site-packages/ray/exceptions.py", line 50, in from_ray_exception
return pickle.loads(ray_exception.serialized_exception)
TypeError: APIStatusError.init() missing 2 required keyword-only arguments: 'response' and 'body'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/miniconda3/envs/auto-coder/lib/python3.10/site-packages/ray/_private/serialization.py", line 423, in deserialize_objects
obj = self._deserialize_object(data, metadata, object_ref)
File "/root/miniconda3/envs/auto-coder/lib/python3.10/site-packages/ray/_private/serialization.py", line 305, in _deserialize_object
return RayError.from_bytes(obj)
File "/root/miniconda3/envs/auto-coder/lib/python3.10/site-packages/ray/exceptions.py", line 44, in from_bytes
return RayError.from_ray_exception(ray_exception)
File "/root/miniconda3/envs/auto-coder/lib/python3.10/site-packages/ray/exceptions.py", line 53, in from_ray_exception
raise RuntimeError(msg) from e
RuntimeError: Failed to unpickle serialized exception
The text was updated successfully, but these errors were encountered: