-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi, I tried to set up the pipeline following the instructions but encountered several issues. Could you advise on how to resolve them? A more detailed README would be greatly appreciated.
Traceback (most recent call last):
File "RepoTransBench/main.py", line 108, in <module>
run(args)
File "RepoTransBench/main.py", line 19, in run
generator = Generator(args, logger)
File "RepoTransBench/generator.py", line 20, in __init__
self.init_conversation()
File "RepoTransBench/generator.py", line 29, in init_conversation
{"role": "system", "content": prompts.translate.sys.sys_prompt_template},
AttributeError: module 'prompts' has no attribute 'translate'
Traceback (most recent call last):
File "RepoTransBench/main.py", line 5, in <module>
from translator import Translator
File "RepoTransBench/translator.py", line 3, in <module>
import prompts
File "RepoTransBench/prompts/__init__.py", line 1, in <module>
from . import translate, debug, translate_v2
File "RepoTransBench/prompts/debug/__init__.py", line 1, in <module>
from . import direct, filter, agentless, sweagent, repotransagent
ImportError: cannot import name 'agentless' from partially initialized module 'prompts.debug' (most likely due to a circular import) (RepoTransBench/prompts/debug/__init__.py)
Traceback (most recent call last):
File "RepoTransBench/main.py", line 5, in <module>
from translator import Translator
File "RepoTransBench/translator.py", line 3, in <module>
import prompts
File "RepoTransBench/prompts/__init__.py", line 1, in <module>
from . import translate, debug, translate_v2
ImportError: cannot import name 'translate_v2' from partially initialized module 'prompts' (most likely due to a circular import) (RepoTransBench/prompts/__init__.py)
Traceback (most recent call last):
File "RepoTransBench/main.py", line 8, in <module>
from generator import Generator
File "RepoTransBench/generator.py", line 5, in <module>
import func_timeout
ModuleNotFoundError: No module named 'func_timeout'
Metadata
Metadata
Assignees
Labels
No labels