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

Revert "Add load_profile to entrypoints analyse" #316

Merged

Conversation

unkcpz
Copy link
Member

@unkcpz unkcpz commented Apr 11, 2024

Reverts #314

@unkcpz unkcpz merged commit 6224b6e into master Apr 11, 2024
1 check passed
@unkcpz
Copy link
Member Author

unkcpz commented Apr 11, 2024

I need to revert it back since the change make even aiida-core get an error

Traceback (most recent call last):
  File "/tmp/scripts/./bin/analyze_entrypoints.py", line 20, in 
    aiida.load_profile()
  File "/opt/conda/lib/python3.10/site-packages/aiida/manage/configuration/__init__.py", line 165, in load_profile
    return get_manager().load_profile(profile, allow_switch)
  File "/opt/conda/lib/python3.10/site-packages/aiida/manage/manager.py", line 117, in load_profile
    profile = self.get_config().get_profile(profile)
  File "/opt/conda/lib/python3.10/site-packages/aiida/manage/configuration/config.py", line 446, in get_profile
    raise exceptions.ProfileConfigurationError(
aiida.common.exceptions.ProfileConfigurationError: no default profile defined: None
{'CONFIG_VERSION': {'CURRENT': 9, 'OLDEST_COMPATIBLE': 9}, 'profiles': {}}

@unkcpz unkcpz deleted the revert-314-load-profile-when-running-entrypoints-check branch April 11, 2024 10:29
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