aiida-core icon indicating copy to clipboard operation
aiida-core copied to clipboard

`verdi profile dump --groups <GROUP>` does not work while `verdi group dump <GROUP>` works

Open agoscinski opened this issue 6 months ago • 1 comments

With the test-profile-group-dump.aiida archive the group dumping from the profile gets stuck

verdi group create mygroup
verdi archive import -G mygroup test-profile-group-dump.aiida
verdi profile dump --groups mygroup

While

verdi group dump mygroup

works without problems. We can fix it for a v2.7.1 release.

agoscinski avatar Jun 11 '25 08:06 agoscinski

I just started looking into this issue, and for me the command verdi profile dump --groups mygroup command actually works fine:

❯ verdi profile dump --groups mygroup
Warning: This is a new feature which is still in its testing phase. If you encounter unexpected behavior or bugs, please report them via Discourse or GitHub.
Report: No output path specified. Using default: '/home/geiger_j/aiida_projects/verdi-profile-dump/dev-dumps/fix-6913'
Report: Starting dump of profile `fix-6913` in incremental mode.
Report: Processing group changes.
Report: Dumping 2585 nodes for group 'mygroup'
Dumping 2585 nodes for group 'mygroup'     0.8%|▏                          | 20/2585

I expect there is a time-intensive step (e.g., building the group-node mapping) between the

Report: Starting dump of profile `fix-6913` in incremental mode.

and

Report: Processing group changes.

report messages. Will look into this further and see if it can be sped up or at least additional logging added in between.

GeigerJ2 avatar Jun 12 '25 05:06 GeigerJ2