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

Bug report: Application crashed with ValueError #15

Open
cpignedoli opened this issue Nov 16, 2022 · 0 comments
Open

Bug report: Application crashed with ValueError #15

cpignedoli opened this issue Nov 16, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@cpignedoli
Copy link
Member

cpignedoli commented Nov 16, 2022

Automated report

This issue was created with the app's automated bug reporting feature.
Attached to this issue is the full traceback as well as an environment
fingerprint that contains information about the operating system as well as all
installed libraries.

Additional comments (optional):

I was submitting a calculation for a molecule from the AiiDA database.
PBE0, multiplicity 2 for a Mn containing molecule.
The problem occurs when using a molecule from AiiDA database. If the molecule is e.g. imported from computer it works

Attachments

Traceback
ValueError                                Traceback (most recent call last)
~/.local/lib/python3.7/site-packages/aiidalab_widgets_base/process.py in on_btn_submit_press(self, _)
    144             self.submit_out.value = ""
    145 
--> 146         inputs = self.inputs_generator()
    147         if inputs is None:
    148             if self.append_output:

~/apps/empa-molecules/empa_molecules/steps.py in prepare_spin_calc(self)
    316         # Input nodes.
    317         for key, value in self.inputs.items():
--> 318             builder[key] = value
    319 
    320         # Codes.

/opt/conda/lib/python3.7/site-packages/aiida/engine/processes/builder.py in __setitem__(self, item, value)
    124 
    125     def __setitem__(self, item, value):
--> 126         self.__setattr__(item, value)
    127 
    128     def __delitem__(self, item):

/opt/conda/lib/python3.7/site-packages/aiida/engine/processes/builder.py in __setattr__(self, attr, value)
     92                 validation_error = port.validate(value)
     93                 if validation_error:
---> 94                     raise ValueError(f'invalid attribute value {validation_error.message}')
     95 
     96             # If the attribute that is being set corresponds to a port that is a ``PortNamespace`` we need to make sure

ValueError: invalid attribute value value 'structure' is not of the right type. Got '<class 'NoneType'>', expected '<class 'aiida.orm.nodes.data.structure.StructureData'>'
Environment fingerprint
eNpdV1tv67gR_iuB-7oybCnO7W2RPi3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3fRsaMatF1PSoYkrJfms3wt0-5GWjyrKlRVZTyEjYBwvCJ1yjnIcAVgbrXcvSOFgeKoYF6P
PJXWPKCDXFiQp8Kk9TkUan-kCfsFunj9a1TpuPAFRucxzAPQIxLIOviUEbab7ebh05IqdQMxL0c4HbXFufWohgVk0xHCPo6mF9DR
EQYnaWzkPKDdE2aTeeceyeSQwmEeDu7oAiiOny12_jmvt5-k1fd5uGn4dZ1eLZWsvG3IyqwiMrfQfxFGoM0KM9k0j0wVKB7jXvEo
ViaBNJX2giUMTDtalUvDJREOeMrBW0DbvjqObQtPFPEd3YKaxMF7Il7lGoReAK8SJY_2bS3ClOdn5k62vudqdAbH8l4ewSiG2lN9
gIx02QoH0HJf4MdVit9Gejt_R7mU6Ty_9gMR4E6-ozLZ8mS0k0mPZMCpOi3aB3xD2v-gwRAf-0neY6T7gHlIMYvg9-jwZQcv_Gzo
jEZGojHsoY4rwUQhwDECotqGjWYW_o-COp4WPfCicnfs_aG4ilm6dDDUzU90RMJFwzRivTTdLXsDQu0glvIE38iz53LU2hYY0RU0
IVYtNO80P3xrgrKo_tp6Sw5ktnTtHBxScoAv8IrIxR68Bx5V82RbKnICuC5Y9MOEIEdsVj9-_B8zVlX0

By submitting this issue I confirm that I am aware that this information can
potentially be used to determine what kind of calculation was performed at the
time of error.

@cpignedoli cpignedoli added the bug Something isn't working label Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant