You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When I try to initialize LightRAG, I get this error. Any idea how to fix it?
ERROR: Failed to initialize LightRAG: Expecting ',' delimiter: line 1 column 215776486 (char 215776485)
lightrag | Traceback (most recent call last):
lightrag | File "", line 198, in _run_module_as_main
lightrag | File "", line 88, in _run_code
lightrag | File "/app/lightrag/api/lightrag_server.py", line 971, in
lightrag | main()
lightrag | File "/app/lightrag/api/lightrag_server.py", line 946, in main
lightrag | app = create_app(global_args)
lightrag | ^^^^^^^^^^^^^^^^^^^^^^^
lightrag | File "/app/lightrag/api/lightrag_server.py", line 584, in create_app
lightrag | rag = LightRAG(
lightrag | ^^^^^^^^^
lightrag | File "", line 51, in init
lightrag | File "/app/lightrag/lightrag.py", line 541, in post_init
lightrag | self.relationships_vdb: BaseVectorStorage = self.vector_db_storage_cls( # type: ignore
lightrag | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lightrag | File "", line 9, in init
lightrag | File "/app/lightrag/kg/nano_vector_db_impl.py", line 60, in post_init
lightrag | self._client = NanoVectorDB(
lightrag | ^^^^^^^^^^^^^
lightrag | File "", line 6, in init
lightrag | File "/root/.local/lib/python3.12/site-packages/nano_vectordb/dbs.py", line 71, in post_init
lightrag | storage: DataBase = load_storage(self.storage_file) or default_storage
lightrag | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lightrag | File "/root/.local/lib/python3.12/site-packages/nano_vectordb/dbs.py", line 39, in load_storage
lightrag | data = json.load(f)
lightrag | ^^^^^^^^^^^^
lightrag | File "/usr/local/lib/python3.12/json/init.py", line 293, in load
lightrag | return loads(fp.read(),
lightrag | ^^^^^^^^^^^^^^^^
lightrag | File "/usr/local/lib/python3.12/json/init.py", line 346, in loads
lightrag | return _default_decoder.decode(s)
lightrag | ^^^^^^^^^^^^^^^^^^^^^^^^^^
lightrag | File "/usr/local/lib/python3.12/json/decoder.py", line 338, in decode
lightrag | obj, end = self.raw_decode(s, idx=_w(s, 0).end())
lightrag | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lightrag | File "/usr/local/lib/python3.12/json/decoder.py", line 354, in raw_decode
lightrag | obj, end = self.scan_once(s, idx)
lightrag | ^^^^^^^^^^^^^^^^^^^^^^
lightrag | json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 215776486 (char 215776485)
lightrag exited with code 1
Beta Was this translation helpful? Give feedback.
All reactions