Skip to content

Troubleshooting

Find your error message below. If it isn't listed, ask on Slack and include the command you ran and its full output, but never your passwords.

Setup

greenaihack: command not found / uvx: command not found
Open a new terminal after installing uv. Always use uvx greenaihack@latest ….
Registration and login require an interactive terminal
Run the command directly in a terminal, not from a script, notebook or IDE task runner.
A remote named greenaihack already exists
Rename your existing remote: git remote rename greenaihack old-greenaihack.
No event is open for registration
Registration hasn't opened yet. Ask the organizers.
No teams are registered for this event yet
Your captain must run register before you can log in.
The API URL differs from the team's shared configuration
Drop --api-url and unset GREENAIHACK_API_URL. The repository already knows its API.
Registration or login was interrupted
Run the same command again with the same password (and team name, if asked). Completed steps are reused.
uv lock failed
Run uv lock, then commit and push uv.lock.
No collaboration remote found / Push did not complete
The setup files are committed but not shared. Add your team repository as a remote if needed, then git push.
Asked to confirm a host fingerprint on first submission
This is the first connection to the submission server. Check the fingerprint with the organizers before typing yes.

Submitting

Register or log in before submitting / Log in on this machine before submitting
Run uvx greenaihack@latest login in this repository.
Commit tracked changes before submitting
Commit (or discard) your changes: git status shows what changed.
N untracked files will not be submitted (…)
A warning, not an error: the submission still goes ahead, but only committed files are included. If your script needs one of the listed files, commit it and submit again. Otherwise add it to .gitignore to silence the warning (notebooks or scratch files, for example).
Commit the script, pyproject.toml and uv.lock before submitting
Run uv lock, then commit these files.
Selected weights must be outside Git tracking
Your model was committed to Git. Untrack it without deleting it: git rm -r --cached models/<name>, then commit.
Use repository-relative paths with forward slashes
Write --model models/my-model, not models\my-model or an absolute path.
… could not complete; retry with --resume
Usually a network issue. Run uvx greenaihack@latest submit --resume <submission-id>.

Evaluation

No submission was made from this machine; pass its ID
Pass the full ID printed by submit, for example uvx greenaihack@latest status <submission-id> --wait. Without an ID, the CLI only looks at submissions saved on this machine.
evaluation_not_finished
Logs aren't ready yet. Run uvx greenaihack@latest status <submission-id> --wait, then try again.
evaluation_not_successful
Predictions require a successful evaluation. Check status <submission-id>; wait if it is still running, or read the logs if it failed.
No job named …; available: …
Run logs <submission-id> without --job to see all job names, then use the exact name shown in a header.
State is failed

Run uvx greenaihack@latest logs <submission-id>. The most common causes:

  • a dependency missing from pyproject.toml (it works locally because it is installed globally on your machine),
  • a model path that doesn't match what you passed to --model,
  • predictions.json not written to the repository root.
State is trigger_uncertain
Don't resubmit. Send the submission ID to the organizers.