ruvnet / agentic-employment

The first platform designed to empower organizations by automating and enhancing their employment processes through advanced autonomous agents.
Apache License 2.0
27 stars 3 forks source link

Issue: Application Restart Loop Due to Missing Import Statement #1

Closed ohdearquant closed 4 weeks ago

ohdearquant commented 1 month ago

Issue: Application Restart Loop Due to Missing Import Statement

Description

The app.py file was missing an import statement, which was fixed. However, after fixing the import, the application enters an infinite restart loop. This issue occurs on a new environment with Python 3.12.1.

Steps to Reproduce

  1. Set up a new environment with Python 3.12.1.
  2. Fix the missing import statement in app.py.
  3. Run the application.

Observed Behavior

The application starts and then continuously restarts with the following log messages:

INFO:     Started server process [22211]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
WARNING:  WatchFiles detected changes in '.venv/lib/python3.12/site-packages/tzdata/zoneinfo/...'. Reloading...
INFO:     Shutting down
INFO:     Waiting for application shutdown.
INFO:     Application shutdown complete.
INFO:     Finished server process [22211]
INFO:     Started server process [22217]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
...

This loop continues indefinitely.

Environment

Additional Information

Suggested Fix

This issue needs to be resolved to ensure stable application startup and operation.

ruvnet commented 4 weeks ago

thanks for sending me this!

ruvnet commented 4 weeks ago

i published this as a pip and reworked the startup.

pip install Agentic-Employment

or

pip install .