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

Crash during mars client credentials check #615

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

sandorkertesz
Copy link
Collaborator

@sandorkertesz sandorkertesz commented Feb 13, 2025

Fixed issue when there was a crash during checking the mars client's (based on ecmwfapi) missing credentials.

File "earthkit/data/sources/mars.py", line 84, in service
    if ".ecmwfapirc" in str(e) or not prompt.env_configured():
                                      ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'MARSAPIKeyPrompt' object has no attribute 'env_configured'

@sandorkertesz sandorkertesz changed the title Crash during mars prompt check Crash during mars client credentials check Feb 13, 2025
@sandorkertesz sandorkertesz merged commit a62f954 into main Feb 13, 2025
101 of 106 checks passed
@sandorkertesz sandorkertesz deleted the bugfix/mars-prompt-check-crash branch February 13, 2025 15:34
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

Successfully merging this pull request may close these issues.

1 participant