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

make dev fails EnvValidationError #48

Open
OrangeTux opened this issue Sep 6, 2023 · 0 comments · May be fixed by #49
Open

make dev fails EnvValidationError #48

OrangeTux opened this issue Sep 6, 2023 · 0 comments · May be fixed by #49
Assignees
Labels
bug Something isn't working

Comments

@OrangeTux
Copy link

Executing make dev runs pyslac/examples/single_slac_session.py. Starting this script fails with:

pyslac-slac-1  | DEBUG:asyncio:Using selector: EpollSelector
pyslac-slac-1  | Traceback (most recent call last):
pyslac-slac-1  |   File "/venv/lib/python3.10/site-packages/pyslac/examples/single_slac_session.py", line 92, in <module>
pyslac-slac-1  |     run()
pyslac-slac-1  |   File "/venv/lib/python3.10/site-packages/pyslac/examples/single_slac_session.py", line 88, in run
pyslac-slac-1  |     asyncio.run(main())
pyslac-slac-1  |   File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
pyslac-slac-1  |     return loop.run_until_complete(main)
pyslac-slac-1  |   File "/usr/local/lib/python3.10/asyncio/base_events.py", line 641, in run_until_complete
pyslac-slac-1  |     return future.result()
pyslac-slac-1  |   File "/venv/lib/python3.10/site-packages/pyslac/examples/single_slac_session.py", line 77, in main
pyslac-slac-1  |     slac_config.load_envs(env_path)
pyslac-slac-1  |   File "/venv/lib/python3.10/site-packages/pyslac/environment.py", line 47, in load_envs
pyslac-slac-1  |     env.seal()  # raise all errors at once, if any
pyslac-slac-1  |   File "/venv/lib/python3.10/site-packages/environs/__init__.py", line 447, in seal
pyslac-slac-1  |     raise EnvValidationError(f"Environment variables invalid: {error_messages}", error_messages)
pyslac-slac-1  | environs.EnvValidationError: Environment variables invalid: {'ATTEN_RESULTS_TIMEOUT': ['Must be less than or equal to 1050.']}
@OrangeTux OrangeTux added the bug Something isn't working label Sep 6, 2023
@OrangeTux OrangeTux self-assigned this Sep 6, 2023
@OrangeTux OrangeTux linked a pull request Sep 6, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant