-
Notifications
You must be signed in to change notification settings - Fork 192
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
build_call_graph
shows 'NoneType' object has no attribute 'value'
#6585
Comments
The
The harder fix is to figure out why the |
The process definition allows a None state but the build_call_graph utils function intended for a creating printable output of the call graph does crash in this case. A None state indicates some undefined behavior in the code, but the application should not fail because of the formatting of the output. This commit makes build_call_graph handle None states. Partial fix for aiidateam#6585.
The process definition allows a None state but the build_call_graph utils function intended for a creating printable output of the call graph does crash in this case. A None state indicates some undefined behavior in the code, but the application should not fail because of the formatting of the output. This commit makes build_call_graph handle None states. Partial fix for aiidateam#6585.
The process definition allows a None state but the build_call_graph utils function intended for a creating printable output of the call graph does crash in this case. A None state indicates some undefined behavior in the code, but the application should not fail because of the formatting of the output. This commit makes build_call_graph handle None states. Partial fix for aiidateam#6585.
The process definition allows a None state but the `build_call_graph` utils function intended for creating a printable output of the call graph does crash in this case. A None state indicates an undefined behavior in the code, but the application should not fail because of the formatting of the output. This commit makes `build_call_graph` handle `None` states. Partial fix for #6585.
Steps to reproduce
I called
build_call_graph
every three seconds to get the status of a process. This is used to update the GUI in AiiDAlab.At some point (in rare case, randomly), I got this error:
The text was updated successfully, but these errors were encountered: