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

The tool resources/solicit-token.sh doesn't work at NERSC #187

Open
jnbellinger opened this issue Feb 25, 2022 · 1 comment
Open

The tool resources/solicit-token.sh doesn't work at NERSC #187

jnbellinger opened this issue Feb 25, 2022 · 1 comment
Assignees

Comments

@jnbellinger
Copy link

You are using Python 3.6. This version does not support timestamps with nanosecond precision and the OpenTelemetry SDK will use millisecond precision instead. Please refer to PEP 564 for more information. Please upgrade to Python 3.7 or newer to use nanosecond precision.
Traceback (most recent call last):
File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/global/u2/i/icecubed/NEWLTA/lta/resources/solicit_token.py", line 25, in
asyncio.run(solicit_token(config["TOKEN_SERVICE_URL"], config["LTA_AUTH_ROLE"]))
AttributeError: module 'asyncio' has no attribute 'run'

@dsschult
Copy link
Collaborator

asyncio.run() was introduced in Python 3.7

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

3 participants