DB-GPT icon indicating copy to clipboard operation
DB-GPT copied to clipboard

TypeError: 'type' object is not subscriptable when start server

Open SeekPoint opened this issue 2 years ago • 1 comments
trafficstars

(gh_DB-GPT) amd00@asus00:~/llm_dev/DB-GPT$ python3 pilot/server/llmserver.py playsound is relying on another python subprocess. Please use pip install pygobject if you want playsound to run more efficiently. Traceback (most recent call last): File "pilot/server/llmserver.py", line 20, in from pilot.configs.config import Config File "/home/amd00/llm_dev/DB-GPT/pilot/init.py", line 1, in from pilot.source_embedding import SourceEmbedding, register File "/home/amd00/llm_dev/DB-GPT/pilot/source_embedding/init.py", line 1, in from pilot.source_embedding.source_embedding import SourceEmbedding, register File "/home/amd00/llm_dev/DB-GPT/pilot/source_embedding/source_embedding.py", line 6, in from pilot.vector_store.connector import VectorStoreConnector File "/home/amd00/llm_dev/DB-GPT/pilot/vector_store/connector.py", line 1, in from pilot.vector_store.chroma_store import ChromaStore File "/home/amd00/llm_dev/DB-GPT/pilot/vector_store/chroma_store.py", line 5, in from pilot.logs import logger File "/home/amd00/llm_dev/DB-GPT/pilot/logs.py", line 13, in from pilot.speech import say_text File "/home/amd00/llm_dev/DB-GPT/pilot/speech/init.py", line 1, in from pilot.speech.say import say_text File "/home/amd00/llm_dev/DB-GPT/pilot/speech/say.py", line 34, in def _get_voice_engine(config: Config) -> tuple[VoiceBase, VoiceBase]: TypeError: 'type' object is not subscriptable (gh_DB-GPT) amd00@asus00:~/llm_dev/DB-GPT$

SeekPoint avatar Jun 11 '23 09:06 SeekPoint

The information you provided is too little, and we cannot locate the specific error report based on the error message. You need to give specific usage scenarios, models and other information.

csunny avatar Jun 12 '23 08:06 csunny

Is this issue still present? If it is, you can try using the latest version, v0.4.0. This issue will be closed later.

csunny avatar Oct 26 '23 03:10 csunny