You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
verdi export create --computers 2 -a tar.gz "computers_"$(date +%Y%m%d) <Computer: iff003 (iff003), pk: 2>
fails with
File "/Users/broeder/aiida/github/aiida_core/aiida/orm/importexport.py", line 1699, in export_tree
raise ValueError("I was given {}, which is not a DbNode or DbGroup instance".format(entry))
ValueError: I was given iff003 (iff003), which is not a DbNode or DbGroup instance
My guess it that it apparently was able to load/get the computer, but Computer fails then in the more general functions, which do not expect that type.
Also verdi export create --computers 1 2 3 4 -a tar.gz "computers_"$(date +%Y%m%d)
Fails with:
Usage: verdi export create [OPTIONS] OUTFILE
Error: Got unexpected extra arguments (3 4 computers_20180109)
Therefore the input parsing is not working for several pks, in the computer case.
The text was updated successfully, but these errors were encountered:
update: computer exports work fine with other nodes, like codes. Also the import.
Therefore, this issue is not critical or blocking and prob a bug in the --computer export case. (Otherwise a lot more people would have noticed). But so far I do not see in the code why it should run into this at all.
If you need to export or import only computers, as a work around one can go back to version 0.9. there it works.
verdi export create --computers 2 -a tar.gz "computers_"$(date +%Y%m%d)
<Computer: iff003 (iff003), pk: 2>
fails with
My guess it that it apparently was able to load/get the computer, but Computer fails then in the more general functions, which do not expect that type.
Also
verdi export create --computers 1 2 3 4 -a tar.gz "computers_"$(date +%Y%m%d)
Fails with:
Therefore the input parsing is not working for several pks, in the computer case.
The text was updated successfully, but these errors were encountered: