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

Issue with GPT-3.5 for Python to PHP #30

Open
curtisdelicata opened this issue Jul 10, 2023 · 0 comments
Open

Issue with GPT-3.5 for Python to PHP #30

curtisdelicata opened this issue Jul 10, 2023 · 0 comments

Comments

@curtisdelicata
Copy link

Created Docker environment for php project in directory '/home/genealogia/projects/php-dna'.
✅ Identifying external dependencies for init.py...
✅ Identifying internal dependencies for init.py...
✅ Identifying external dependencies for io/reader.py...
✅ Identifying internal dependencies for io/reader.py...
✅ Identifying external dependencies for io/init.py...
✅ Identifying internal dependencies for io/init.py...
✅ Creating migration file for io/init.py...
Created file_name.ext at /home/genealogia/projects/php-dna
Traceback (most recent call last):

File "/home/genealogia/projects/gpt-migrate/gpt_migrate/main.py", line 126, in
app()

File "/home/genealogia/projects/gpt-migrate/gpt_migrate/main.py", line 99, in main
migrate(sourceentry, globals)

File "/home/genealogia/projects/gpt-migrate/gpt_migrate/main.py", line 96, in migrate
migrate(dependency, globals)

File "/home/genealogia/projects/gpt-migrate/gpt_migrate/main.py", line 97, in migrate
write_migration(sourcefile, external_deps_list, globals)

File "/home/genealogia/projects/gpt-migrate/gpt_migrate/steps/migrate.py", line 69, in write_migration
llm_write_file(prompt,

File "/home/genealogia/projects/gpt-migrate/gpt_migrate/utils.py", line 51, in llm_write_file
file_name,language,file_content = globals.ai.write_code(prompt)[0]

IndexError: list index out of range

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