Skip to content
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

maximum recursion depth exceeded in comparison #70

Open
Major-wagh opened this issue Jul 9, 2024 · 0 comments
Open

maximum recursion depth exceeded in comparison #70

Major-wagh opened this issue Jul 9, 2024 · 0 comments

Comments

@Major-wagh
Copy link

Receiving the following error when :
2024-07-09 12:48:43.996 | SUCCESS | repo_agent.log:set_logger_level_from_config:74 - Log level set to INFO!
parsing parent relationship: 0%| parsing parent relationship: 100%|█████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 8184.01it/s]
Loading MetaInfo: /home/jovyan/work/Documentation/Arya/wiki/hierarchy_files
MetaInfo is Refreshed and Saved
2024-07-09 12:48:44.015 | INFO | repo_agent.runner:first_generate:104 - Starting to generate documentation
parsing bidirectional reference: 0%| | 0/2 [00:00<?, ?it/s]2024-07-09 12:48:44.198 | INFO | repo_agent.doc_meta_info:find_all_referencer:293 - Error occurred: column parameter (6) is not in a valid range (0-0) for line 205 ('\n').
2024-07-09 12:48:44.198 | INFO | repo_agent.doc_meta_info:find_all_referencer:294 - Parameters: variable_name=Embed, file_path=wikiv1.py, line_number=205, column_number=6
2024-07-09 12:48:44.208 | INFO | repo_agent.doc_meta_info:find_all_referencer:293 - Error occurred: line parameter is not in a valid range.
2024-07-09 12:48:44.208 | INFO | repo_agent.doc_meta_info:find_all_referencer:294 - Parameters: variable_name=create_collection, file_path=wikiv1.py, line_number=284, column_number=4
parsing bidirectional reference: 50%|█████████████████████████████████████▌ | 1/2 [00:00<00:00, 5.17it/s]2024-07-09 12:48:44.212 | INFO | repo_agent.doc_meta_info:find_all_referencer:293 - Error occurred: column parameter (6) is not in a valid range (0-0) for line 205 ('\n').
2024-07-09 12:48:44.213 | INFO | repo_agent.doc_meta_info:find_all_referencer:294 - Parameters: variable_name=Embed, file_path=.ipynb_checkpoints/wikiv1-checkpoint.py, line_number=205, column_number=6
2024-07-09 12:48:44.220 | INFO | repo_agent.doc_meta_info:find_all_referencer:293 - Error occurred: line parameter is not in a valid range.
2024-07-09 12:48:44.220 | INFO | repo_agent.doc_meta_info:find_all_referencer:294 - Parameters: variable_name=create_collection, file_path=.ipynb_checkpoints/wikiv1-checkpoint.py, line_number=284, column_number=4
parsing bidirectional reference: 100%|███████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 9.74it/s]
parsing topology task-list: 0%| | 0/10 [00:00<?, ?it/s]Traceback (most recent call last):
File "/home/jovyan/work/repoagent/RepoAgent/repo_agent/main.py", line 312, in
cli()
File "/opt/conda/envs/repoenv/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/repoenv/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/opt/conda/envs/repoenv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/repoenv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/repoenv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jovyan/work/repoagent/RepoAgent/repo_agent/main.py", line 260, in run
runner.run()
File "/home/jovyan/work/repoagent/RepoAgent/repo_agent/runner.py", line 240, in run
self.first_generate() # 如果是第一次做文档生成任务,就通过first_generate生成所有文档
^^^^^^^^^^^^^^^^^^^^^
File "/home/jovyan/work/repoagent/RepoAgent/repo_agent/runner.py", line 106, in first_generate
task_manager = self.meta_info.get_topology(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jovyan/work/repoagent/RepoAgent/repo_agent/doc_meta_info.py", line 619, in get_topology
task_manager = self.get_task_manager(
^^^^^^^^^^^^^^^^^^^^^^
File "/home/jovyan/work/repoagent/RepoAgent/repo_agent/doc_meta_info.py", line 577, in get_task_manager
if task_available_func(child) and (child not in deal_items):
^^^^^^^^^^^^^^^^^^^^^^^
File "", line 4, in eq
File "", line 4, in eq
File "", line 4, in eq
[Previous line repeated 851 more times]
RecursionError: maximum recursion depth exceeded in comparison
parsing topology task-list: 90%|███████████████████████████████████████████████████████████████████████ | 9/10 [00:00<00:00, 34.28it/s]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant