graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

[Bug]: <title>Error executing verb "window" in create_final_community_reports: 'community'

Open Iceice2024 opened this issue 1 year ago • 1 comments

Describe the bug

15:36:46,423 datashaper.workflow.workflow ERROR Error executing verb "window" in create_final_community_reports: 'community' Traceback (most recent call last): File "C:\���\mygraphrag\venv\Lib\site-packages\datashaper\workflow\workflow.py", line 410, in _execute_verb result = node.verb.func(**verb_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\���\mygraphrag\venv\Lib\site-packages\datashaper\engine\verbs\window.py", line 73, in window window = __window_function_mapwindow_operation ~~~~~~~~~~~^^^^^^^^ File "C:\���\mygraphrag\venv\Lib\site-packages\pandas\core\frame.py", line 4102, in getitem indexer = self.columns.get_loc(key) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\���\mygraphrag\venv\Lib\site-packages\pandas\core\indexes\range.py", line 417, in get_loc raise KeyError(key) KeyError: 'community'

Steps to reproduce

No response

Expected Behavior

No response

GraphRAG Config Used

No response

Logs and screenshots

No response

Additional Information

  • GraphRAG Version:
  • Operating System:
  • Python Version:
  • Related Issues:

Iceice2024 avatar Jul 10 '24 07:07 Iceice2024

Even I got the same errror

shreyn07 avatar Jul 11 '24 09:07 shreyn07

How did you solved above error

shreyn07 avatar Jul 16 '24 05:07 shreyn07

same error

vanwor avatar Jul 16 '24 06:07 vanwor

same error here

sadimoodi avatar Jul 17 '24 02:07 sadimoodi

In settings.yml change comment model supports json line,

It works for me

shreyn07 avatar Jul 17 '24 03:07 shreyn07

In settings.yml change comment model supports json line,

It works for me

change it to what value? true or false? false at lest doesnt work for me

sadimoodi avatar Jul 17 '24 03:07 sadimoodi

comment it , delete cache and reindex ,everything is ok

xxll88 avatar Jul 22 '24 11:07 xxll88

comment it , delete cache and reindex ,everything is ok

It works for me, thanks.

HugoWang232608 avatar Aug 06 '24 07:08 HugoWang232608

comment it , delete cache and reindex ,everything is ok

Comment which line of code?

Malowking avatar Aug 28 '24 07:08 Malowking

comment it , delete cache and reindex ,everything is ok

Comment which line of code?

model_supports_json: true

HugoWang232608 avatar Aug 28 '24 07:08 HugoWang232608

How did you solved above error

huangxueying626929685 avatar Apr 25 '25 09:04 huangxueying626929685