BigDFT-group / aiida-bigdft-plugin-legacy

BigDFT plugin for Aiida
MIT License
2 stars 2 forks source link

Updates needed for AiiDA 2.0 #6

Open yakutovicha opened 3 years ago

yakutovicha commented 3 years ago

I ran aiida-common-workflows against the develop branch of AiiDA which contains some backwards-incompatible changes to be released in AiiDA 2.0.

Here is the issue that I encountered:

+-> REPORT at 2021-05-04 20:16:07.155886+00:00
 | [1720|BigDFTCalculation|on_except]: Traceback (most recent call last):
 |   File "/home/max/.virtualenvs/aiida/lib/python3.7/site-packages/plumpy/process_states.py", line 230, in execute
 |     result = self.run_fn(*self.args, **self.kwargs)
 |   File "/home/max/codes/aiida-core/aiida/engine/processes/calcjobs/calcjob.py", line 388, in parse
 |     exit_code_retrieved = self.parse_retrieved_output(retrieved_temporary_folder)
 |   File "/home/max/codes/aiida-core/aiida/engine/processes/calcjobs/calcjob.py", line 468, in parse_retrieved_output
 |     exit_code = parser.parse(**parse_kwargs)
 |   File "/home/max/.virtualenvs/aiida/lib/python3.7/site-packages/aiida_bigdft/parsers.py", line 62, in parse
 |     output = BigDFTLogfile(self.retrieved._repository._get_base_folder().
 | AttributeError: 'Repository' object has no attribute '_get_base_folder'

Of course there might be other things that don't work. The full migration guide can be found here.