aiidateam / aiida-plugin-cutter

Cookie cutter recipe for AiiDA plugins.
9 stars 12 forks source link

update dates #101

Closed ltalirz closed 10 months ago

ltalirz commented 10 months ago

Hey @unkcpz, I notice you removed the load_documentation_profile function in https://github.com/aiidateam/aiida-core/commit/9941266ced93f31191152034606bf5b1e049cc79 , which is a breaking change for plugin documentation.

Can you please let me know what one should do in plugin documentation now?

I tried not loading a profile, which gives

aiida.common.exceptions.MissingConfigurationError: configuration file /home/runner/.aiida/config.json does not exist

and now I tried loading a regular profile, which gives

Exception occurred:
  File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/aiida/manage/configuration/config.py", line 444, in get_profile
    raise exceptions.ProfileConfigurationError(
aiida.common.exceptions.ProfileConfigurationError: no default profile defined: None
{'CONFIG_VERSION': {'CURRENT': 9, 'OLDEST_COMPATIBLE': 9}, 'profiles': {}}
ltalirz commented 10 months ago

I will go ahead and merge this in the meanwhile in order to unblock the guy who wrote to the aiida mailing list. I've opened https://github.com/aiidateam/aiida-plugin-cutter/issues/102