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

[Bug]: Crash when running python main.py: MissingGreenlet: greenlet_spawn has not been called #1010

Open
jeremylowery opened this issue Jun 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jeremylowery
Copy link

jeremylowery commented Jun 11, 2024

Version

Command-line (Python) version

Operating System

Ubuntu Linux

What happened?

When I run "python main.py" and enter in my application specification I get the following traceback:

python main.py
[Pythagora] What is the project name?
> Test
[Spec Writer] Describe your app in as much detail as possible
  [continue]: continue
  [example]: Start an example project


[Spec Writer]
[Pythagora] Stopping Pythagora due to error:

File `core/cli/main.py`, line 37, in run_project
    success = await orca.run()
File `core/agents/orchestrator.py`, line 66, in run
    response = await agent.run()
File `core/agents/spec_writer.py`, line 60, in run
    self.next_state.specification = self.current_state.specification.clone()
File `core/db/models/specification.py`, line 48, in clone
    complexity=self.complexity,
MissingGreenlet: greenlet_spawn has not been called; can't call await_only() here. Was IO attempted in an unexpected place? (Background on this error at: https://sqlalche.me/e/20/xd2s)

Python 3.12.4 (built from source)
Ubuntu 20.04

config.json

@jeremylowery jeremylowery added the bug Something isn't working label Jun 11, 2024
@senko
Copy link
Collaborator

senko commented Jun 13, 2024

Can you attach your pythagora.log ?

BTW GPT-3.5 is known not to work well with Pythagora.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants