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 ValidationError #942

Open
AndresOrtegaGuerrero opened this issue Nov 23, 2024 · 2 comments
Open

Bug report: Application crashed with ValidationError #942

AndresOrtegaGuerrero opened this issue Nov 23, 2024 · 2 comments
Labels
automated-report bug Something isn't working

Comments

@AndresOrtegaGuerrero
Copy link
Member

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):

Example: I submitted a band structure calculation for Silica.

Attachments

Traceback
~/aiida-quantumespresso/src/aiida_quantumespresso/data/hubbard_structure.py in append_hubbard_parameter(self, atom_index, atom_manifold, neighbour_index, neighbour_manifold, value, translation, hubbard_type)
    131 
    132         hp_tuple = (atom_index, atom_manifold, neighbour_index, neighbour_manifold, value, translation, hubbard_type)
--> 133         parameters = HubbardParameters.from_tuple(hp_tuple)
    134         hubbard = self.hubbard
    135 

~/aiida-quantumespresso/src/aiida_quantumespresso/common/hubbard.py in from_tuple(hubbard_parameters)
    106             'hubbard_type',
    107         ]
--> 108         return HubbardParameters(**dict(zip(keys, hubbard_parameters)))
    109 
    110 

/opt/conda/lib/python3.9/site-packages/pydantic/main.py in __init__(self, **data)
    173         # `__tracebackhide__` tells pytest and some other tools to omit this function from tracebacks
    174         __tracebackhide__ = True
--> 175         self.__pydantic_validator__.validate_python(data, self_instance=self)
    176 
    177     # The following line sets a flag that we use to determine when `__init__` gets overridden by the user

ValidationError: 2 validation errors for HubbardParameters
atom_manifold
  Value error, invalid length ``4``. Only 2 or 5. [type=value_error, input_value='None', input_type=str]
    For further information visit https://errors.pydantic.dev/2.7/v/value_error
neighbour_manifold
  Value error, invalid length ``4``. Only 2 or 5. [type=value_error, input_value='None', input_type=str]
    For further information visit https://errors.pydantic.dev/2.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dd7hTVZ4FqGFe2X_7l0Rtp7h9DaXsnbyOKILvhbZfN_Ahfn-6hD2pZFZpKk9VU5x5eS0W_f_gXuVSFW

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.

@AndresOrtegaGuerrero AndresOrtegaGuerrero added bug Something isn't working automated-report labels Nov 23, 2024
@AndresOrtegaGuerrero
Copy link
Member Author

@edan-bainglass somehow I got this one , while trying to submit a molecule and using DFT+U , i wonder if you can reproduce it ?

@edan-bainglass
Copy link
Member

That is very odd. Okay, will try to reproduce tomorrow morning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated-report bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants