[Bug]: <title>TypeError: 'NoneType' object is not subscriptable #1328
Labels
awaiting_response
Maintainers or community have suggested solutions or requested info, awaiting filer response
stale
Used by auto-resolve bot to flag inactive issues
Do you need to file an issue?
Describe the bug
D:\graphrag-main>poetry run poe index --root ./test/index
Poe => python -m graphrag.index --root ./test/index
Logging enabled at D:\graphrag-main\test\index\output\20241028-011610\reports\indexing-engine.log
Traceback (most recent call last):
File "D:\Users\22525\anaconda3\envs\yjy\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\Users\22525\anaconda3\envs\yjy\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "D:\graphrag-main\graphrag\index_main.py", line 104, in
index_cli(
File "D:\graphrag-main\graphrag\index\cli.py", line 132, in index_cli
outputs = asyncio.run(
File "D:\Users\22525\anaconda3\envs\yjy\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\Users\22525\anaconda3\envs\yjy\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "D:\graphrag-main\graphrag\api\index.py", line 63, in build_index
vector_store_type = config.embeddings.vector_store["type"] # type: ignore
TypeError: 'NoneType' object is not subscriptable
Steps to reproduce
No response
Expected Behavior
No response
GraphRAG Config Used
# Paste your config here
Logs and screenshots
No response
Additional Information
The text was updated successfully, but these errors were encountered: