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 AttributeError #968

Closed
edan-bainglass opened this issue Dec 9, 2024 · 1 comment
Closed

Bug report: Application crashed with AttributeError #968

edan-bainglass opened this issue Dec 9, 2024 · 1 comment
Labels
automated-report bug Something isn't working

Comments

@edan-bainglass
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
~/apps/quantum-espresso/src/aiidalab_qe/app/submission/model.py in _create_builder(self, parameters)
    251 
    252     def _create_builder(self, parameters) -> ProcessBuilderNamespace:
--> 253         builder = QeAppWorkChain.get_builder_from_protocol(
    254             structure=self.input_structure,
    255             parameters=deepcopy(parameters),  # TODO why deepcopy again?

~/apps/quantum-espresso/src/aiidalab_qe/workflows/__init__.py in get_builder_from_protocol(cls, structure, parameters, **kwargs)
    203         for name, entry_point in plugin_entries.items():
    204             if name in properties:
--> 205                 plugin_builder = entry_point["get_builder"](
    206                     codes[name]["codes"],
    207                     builder.structure,

~/apps/quantum-espresso/src/aiidalab_qe/plugins/pdos/workchain.py in get_builder(codes, structure, parameters, **kwargs)
    102         )
    103         # include nbands_factor (Same as in BandsWorkChain)
--> 104         pdos["nbands_factor"] = orm.Float(
    105             PwBandsWorkChain.get_protocol_inputs()["nbands_factor"]
    106         )

/opt/conda/lib/python3.9/site-packages/aiida/engine/processes/builder.py in __setitem__(self, item, value)
    150 
    151     def __setitem__(self, item, value):
--> 152         self.__setattr__(item, value)
    153 
    154     def __delitem__(self, item):

/opt/conda/lib/python3.9/site-packages/aiida/engine/processes/builder.py in __setattr__(self, attr, value)
    112             except KeyError as exception:
    113                 if not self._port_namespace.dynamic:
--> 114                     raise AttributeError(f'Unknown builder parameter: {attr}') from exception
    115                 port = None
    116             else:

AttributeError: Unknown builder parameter: nbands_factor
Environment fingerprint
eNptVkuT2zYM_ise9xpp9Frv49i9ZZqZtJu2h07HQ0mwzDVFcknKXiWT_14QoLzaJkcBIJ4fPujb9gzOS6O3D-WHrVUiHIwbtw_f
tsJ1RxmgC5OD7cM_213TyrD9sN3-i3ZzOBq9vz7d1vl9XtaofRP9Um6ePn3efDlOm49Cb8pyUzQPxf1DUW_-
_PK4qYqq2X5HV6I7iQE8hew68F62CjI7DyPogOJtkRd5g66FlL3IrIepNygu85u8uIpfJqHDNIK3Dl1EfZPvVvqL0FqCuy9QU-
XVzzTZxbjTQZmLJ5v6zUaJNgOlKZcyr1bi_dGMEM0bbMDafv-SxCWmL-q15iL7AYLft8LDEkmQU9QKH8BRoFtuqNBeVscwKioZux
xl9LDOqyp96rJzsw1LW0gYgvOcAlf7q2hBUbySn7UgpiAPk_Jmsg11DDUxkdac4EimTR5zaKfRniktnFqdl2V1j9JH0R3h0ejgjO
LW1OS3OwxnSq-huN1ROA8h04groeRX8oOWSQmj1AdjZ_LAPezQp5kcybDd7NRgAogTFN1ihREP3dyp1KtUUS99ULIlUZ3fRYn2jF
WqZsdWpsO6FUOrvCUZKIhwsyIcqRGcOoxCqv0Zs-5FMG4FnYNUoEx34lJuqEsHTDsYQ46b_Ibxc5h4f7CQggTHsuTAHOI4jUIfnA
TdK6qXrWSP2cjDnNJmkRYU7jZ-jHFnsJnkuaEa5GiNi_VnIwSBGUfzXX7Hr7XEth7kQB5TEDsbG9BVD5RStUiDg0VSsSRhNoPXgJ
lCT2FLCvtR6meEL880zuXZtDyEmFh8f5IX6Y1iBEXhDQqVcKfk5Z4-A7x2poeOPHGCCl5lz6hDu6LYRZkZJjelDalIYDy80U6ZFv
cT-p_skzjwjpU0olEEq0zCSJ3gNuLcZo6CqeVVQzIHGbKfWwZ6twxstCODZAmkRfDYd7JhEw0hUskr7yg1SQ_qLOGSaovI1Fgr6P
Nqq1eziGCJTTJT6JhgKFpujQ8xApOm1DRNLs0KBSEI5E4KUieh7oVPuI3NssNdURTsr0ySAD6kCDENKxVyIEORK_wsdWA4kM90I3
rpGOnJc-xrbONNpCVKUk3DMK-Y2pI-8kf8wAZjbaMMDGqOzeYlk4OdWwQFR-bOfp4f5eGPv9OK7simR-KXXYYUE7AhC3fXSRdE5u
1R6tcsINXAwlM1ObuemCruMCeA0x1Av8GhJMtP89PvvyWKYtepa3cYq7oKssjp2eQSz6YqSIMERs0p1sKYH_Zx3aOkQG65EmX5Jk
-HoHkvXe37_-wdDPEe4mpwme-CeGQ9LacxOVxpEIiA2Eu9XPk7CycjxvyKw5lgMeWw4LlYnpjnTow23c1o-wLZslELlTp4mdB1Gh
zLfCcXKHB43zl2tNCHBzjZZRHviRPflVOldzCeUx8LmpPX5tIKpfDMjiOsKT0uMfTx9gipgW9nWuh4IL1Ekkky8mwHppHF6Ilgxt
zPr0iw75GnB_53WF5GeQzkkKuFtQqOoGzqXPODRQ_nlb76QR8xkQyq1Pr3Bs_-Slk_U7-Elfv6B7UHHDnebVyu629IyTOYx2VKzH
IIANFJItO7VGxwQgZkJk_gZ8JFt4a3ekflxO_sAq2PoGemKRnFYbYYdk9XZwFxky5a-JogT4sarSfdIWHj9IJMAOW0cB9xVDX_TW
DI-PovgcdyXv3RnaULE3IoQbii3GIvrmllncIjzUTJCfBN3Fvsj-ll98a9nPsFf0VN-
iVjhL2OyscfHpFWMVp9ldbyo3gEvn__D5DCUeQ=

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.


Got this on submission. I'm guessing this issue was introduced in #965. @AndresOrtegaGuerrero?

@edan-bainglass edan-bainglass added bug Something isn't working automated-report labels Dec 9, 2024
@edan-bainglass
Copy link
Member Author

@AndresOrtegaGuerrero thanks for the info regarding having to upgrade the QE plugin. Perhaps we should think of a notification at the top of the app if it detects that the plugin needs an update. Will think about it...

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

1 participant