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 InvalidRequestError #238

Open
danielhollas opened this issue Apr 16, 2024 · 0 comments
Open

Bug report: Application crashed with InvalidRequestError #238

danielhollas opened this issue Apr 16, 2024 · 0 comments
Labels
automated-report Bugs reported by users when app crashes bug Something isn't working

Comments

@danielhollas
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
/opt/conda/lib/python3.9/site-packages/aiida/storage/psql_dos/orm/utils.py in __getattr__(self, item)
     83 
     84         if self.is_saved() and self._is_mutable_model_field(item) and not self._in_transaction():
---> 85             self._ensure_model_uptodate(fields=(item,))
     86 
     87         return getattr(self._model, item)

/opt/conda/lib/python3.9/site-packages/aiida/storage/psql_dos/orm/utils.py in _ensure_model_uptodate(self, fields)
    160         :param fields: optionally refresh only these fields, if `None` all fields are refreshed.
    161         """
--> 162         self.session.expire(self._model, attribute_names=fields)
    163 
    164     def _in_transaction(self):

/opt/conda/lib/python3.9/site-packages/sqlalchemy/orm/session.py in expire(self, instance, attribute_names)
   2429                 replace_context=err,
   2430             )
-> 2431         self._expire_state(state, attribute_names)
   2432 
   2433     def _expire_state(self, state, attribute_names):

/opt/conda/lib/python3.9/site-packages/sqlalchemy/orm/session.py in _expire_state(self, state, attribute_names)
   2432 
   2433     def _expire_state(self, state, attribute_names):
-> 2434         self._validate_persistent(state)
   2435         if attribute_names:
   2436             state._expire_attributes(state.dict, attribute_names)

/opt/conda/lib/python3.9/site-packages/sqlalchemy/orm/session.py in _validate_persistent(self, state)
   3162     def _validate_persistent(self, state):
   3163         if not self.identity_map.contains_state(state):
-> 3164             raise sa_exc.InvalidRequestError(
   3165                 "Instance '%s' is not persistent within this Session"
   3166                 % state_str(state)

InvalidRequestError: Instance '<DbNode at 0x7f84c11019a0>' is not persistent within this Session
Environment fingerprint
eNpdWNFy6zYO_ZWM97XSWJLtxHlr89a5t5vd3Lazs7OToShaYkyRvCSVROncf18QgGyljz4kQRA4OID81-ZVhaid3dxXP228Eenk
wri5_2sjghx0UjJNQW3u_7s57FqdNj9tNv-
DfXManH2-HN005bGsGli9Qv-o7m6L39vJpunm6evjzbdhuvnNvd7UzU21u9_X9_Xdze_fHm7qbd1sfoBNIc-iVxHv1roThXT55k1
d7sotmEbw2QUpANyWt1fQiDbva8qmrFdYoYzFrdVneHCjWvZX6wUdfY8H6s8H3nTXqxSLVkRyaMvnXOH1ObtzKO8WKIzfMSBs26i
x1RKQatlio66HNBrG8BV21g5PHWiP950OEXfsyh0ho-sUesdncn5eVeFFGhDekdOhd7Yu5Omks6sV-LH9DBettp22faT1mtbxZRC
_mhyIKbmzspGfe4fYbGXRK6uCSC6gcxWeTQl9zWfR2C-iVQZPVtsys6KF3EphDAd3y5B3IcXyNFmZnDOxMGEqpJCDQtsHfHgrw-
wTADswnl1rlZiSPk0musnvaIFXjILDgOw5Qa3R9qzI033-DU8amFHoVnDJaD-v-PSQr39wNgVH3laUR3QLvcQba_RNXl7eMMekCu
AbRn6bQXDsdoH5ngqv5vzA-p7sDyJElQoL_BFGf6DXNT8Zrh61PTm2cERPpQ5yimSSGCGNlmcAgGfl7fK7iF5bi-
by3Zgw6YwLYhRMmz1CthOUQzafgYKLshiE7SCYPbp82ZDcFNAnSDvdmHPl-iD8kOFdxtH6LM3iAlGkExLEZVUCnUhCGhGjojdlxn
WqnXq-4IBh6xSIArNvz9Hp1GmKqnsfDeeRQB8U5Ie0aCFmp-O5cO0LqFpMpC5bsIxLNpKq4XYqms7JmAI8G-IA2eEH5Ad1k3nTku
oOaugAkBqFNsUrJK-7lAdxRwGbZu-0TfS0TB31LpXP3vUBaIybqS7Uu5LAbw41vfAE5Si8puQTTzP0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cci1i07i70NWqfiKNdAkvq6khtEAQrW86O
3yzH3IsXoV2WVe6GghFN3BuCDioTK4XH-z89fv7B6kJUP_JypdwyEjnKP4y3RLKjvE4gARa6--
4Rdxvnc8e7WC6Nj6eKBMJxkc7y7ZX7i1ikXZzkLHuyqW8rnCi8laUJmyOGyVOSlYplo88RW3uUrotTgfAFfCcFyydcEs9hwTp-g_
9ffgojDaj6F4XzyiwYf9iXVRBxAW6dJd2yvQlC_kzkaWKLVMOw7fhkiMPJFrV4VC01dehcTHvX9MjHA6Uxx4NvPJrf_eel3uA-G5
XPB49SWWxCAASa0xNMOFVIeYGUqcnib5kgVBjBI0AQf-8sHJeoBKBp8ZoiOJIu9T0NQovPwcJkMzzaIazvLGOvVmJTckikKbP6tV
5TM0ftY92cYk_k6Uvn0vRuxug8UXWCrToYGgj1_doBYQB0945QWeW7d8T8EUy4F3Es5m_wJ5KpgdMviBGJw_czioDaEQ-ybpe1gK
v8QMKDOq9H4TSQ5dK7nzOU9bxLGFv4GrzFnb6rFTyweZBqClJVu-e5eUgZwhEKASfyitxVT621QisLZkBDQcPT89ybScPR5drLtJ
TT8hwK6DRN9WpPyPbX8xQ4_ZhEMf9llXz-09_yfznbz48f_AUwQH1o=

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.

@danielhollas danielhollas added bug Something isn't working automated-report Bugs reported by users when app crashes labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated-report Bugs reported by users when app crashes bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant