Open
neohob
opened this issue 1 year ago
•
10 comments
macos & colab get same error:
start stage: ['0'] [0]
Traceback (most recent call last):
File "/Users/neo/Downloads/Paper2Video/src/pipeline_light.py", line 93, in
model_config_ll=agent_config_t, model_config_vl=agent_config_v, beamer_temp_name=args.beamer_templete_path)
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Namespace' object has no attribute 'beamer_templete_path'. Did you mean: 'beamer_templete_prompt'?
start stage: ['0'] [0]
Traceback (most recent call last):
File "/Users/neo/Downloads/Paper2Video/src/pipeline_light.py", line 92, in
usage_slide, beamer_path = latex_code_gen_upgrade(prompt_path=prompt_path, tex_dir=args.paper_latex_root, beamer_save_path=slide_latex_path,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/neo/Downloads/Paper2Video/src/slide_code_gen_select_improvement.py", line 76, in latex_code_gen_upgrade
feedback = compile_tex(beamer_save_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/neo/Downloads/Paper2Video/src/slide_code_gen_select_improvement.py", line 614, in compile_tex
result = subprocess.run(
^^^^^^^^^^^^^^^
File "/Users/neo/.pyenv/versions/3.12.7/lib/python3.12/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/neo/.pyenv/versions/3.12.7/lib/python3.12/subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Users/neo/.pyenv/versions/3.12.7/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'tectonic'
This is because you did not install tectonic, which is a package for compiling latex code.
You can try install first with: conda install -c conda-forge tectonic
"openai.APITImeoutError:Request timed out"Is this error an API issue? Could you please email me so that I can run a demo!! My email is [email protected]